Jump to content

LETheora outside of editor


dennis
 Share

Recommended Posts

Hey all,

 

I tried to run LETheora outside of the editor, but it gives me the: EXCEPTION_ACCES_VIOLATION error.

it's even not working inside the editor.

 

the code I'm using:

TheoraVideoError01.png

 

and my error log:

 

TheoraVideoError02.png

 

Please don't mind the path it's created in, since I'm a very lazy person to create new paths every time...

 

Anyhow. it gives me a error every time it arrives at the LETheora part. because when I delete that it will run as it should be.

How can I fix this? it only give me the exception error. but not any specific error.

 

Regards,

Link to comment
Share on other sites

iirc the lib was added by request and niosop just provided the tools.

 

How can I fix this?

 

You fix it by integrating your video surface with given sample. ph34r.png

Take care about the "video.mat", the dll path and the cleanup when the surface isnt needed anymore.

 

CreateMaterial aint in for an abstract path in that case afaik.

 

Ps :

You seam to be something else then just lazy if you choose an image above the good old code tags.

If i would need to point out what you might do wrong - i would need to rewrite your code

....

people these days. rolleyes.gif

AMD 64 X2 Dual 5k - 4GB - XFX GForce9800GT - nv196.21 - WinXP Sp3

zBrush4R2 - Silo2Pro - Unwrap3DPro - Gile - MaPZone2.5

 

adv_banner-april2012_720x150_tex01.png

 

Xxploration FPS in progress ...

Link to comment
Share on other sites

Ps :

You seam to be something else then just lazy if you choose an image above the good old code tags.

If i would need to point out what you might do wrong - i would need to rewrite your code

....

people these days. rolleyes.gif

lol, it's working without the video code. then it's loading as it should be..

 

and about the abstract path for the video... it was a try out. because the correct path isn't working either.

I tried tons of things. even read out the whole code for LETheora. but still no solution found.

Link to comment
Share on other sites

Dont post try out code if you got the source.

I pointed out that the dll is picky about its file paths (material, dll, video path).

It could be anything from your description ... even more so with the "try out" code. biggrin.png

 

put the video in the root e.g. same level as the scripts folder and work from a sample which only is there to get that thing done - no other stuff in its way.

AMD 64 X2 Dual 5k - 4GB - XFX GForce9800GT - nv196.21 - WinXP Sp3

zBrush4R2 - Silo2Pro - Unwrap3DPro - Gile - MaPZone2.5

 

adv_banner-april2012_720x150_tex01.png

 

Xxploration FPS in progress ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...