Jump to content
dennis

LETheora outside of editor

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,

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...