Jump to content

LETheora not working


ParaToxic
 Share

Recommended Posts

Hey ya I have a problem to gets LETheora working for me.I was reading the threads here but I can't complete this.

So here are my steps:

Copied everything to materials/Scripts/shaders

Downloaded Theora Playback Lib 1.0 RC2

Started Project in VS2010 ( also tested with VS2008) and included include und libs

When loading the clip my program stops with a error.

 

So I have only the lines: new Instance of The TheoraManager and the clip = mgr->LoadClip("bunny.ogg,...) ( not the real command ) and I get a runtime error.

 

What is wrong ??

(Maybe the LETheora.dll was compiled with a earlier version ? I don't know)

 

Would be cool to hear an answer from a successful build ;)

Link to comment
Share on other sites

Try posting your code so people can atleast see what it is you are doing.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

I only create the Manager and the clip.In the console stands: Initializing Theora...<1.0 RC2>

Create Video from Data Srouce: bunny.ogg

bunny.ogg: fileduration 32... Sec

Then follows an error.

 

Code:

 

#pragma comment(lib,"libtheoraplayer.lib")
#pragma comment(lib,"opengl32.lib")

#include <windows.h>
#include <gl/gl.h>
#include "TheoraVideoManager.h"
#include "TheoraVideoFrame.h"
int main()
{

    TheoraVideoManager *mgr = new TheoraVideoManager();

    //TheoraVideoClip *clip = mgr->createVideoClip( "bunny.ogg",TH_RGB,0,1);
    TheoraVideoClip *clip = mgr->createVideoClip( "bunny.ogg",TH_RGB,0,1);
    clip->setAutoRestart(1);
 delete mgr;
 delete clip;

    return 0;
}

Link to comment
Share on other sites

What exactly do you think Nios LETheora is for?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

In the OpenAL SDK: http://connect.creat...s/AllItems.aspx

But the downloads are broken, because they use some Microsoft SharePoint ****.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Now I have the OpenAL 1.1 SDK but there aren't files like OpenAL_AudioInterface (this class inherit TheoraAudioInterface so I think it should be included in the Theora lib ? )

 

EDIT: Wonderfull after 100 tries to download all libs and SVN documents and 100 rebuilds of static and dynamic libs it works ( not realy but..).Now I have the problem that the first second of the sound of the bunny film is played in a loop and when I close the application it plays normaly on and close. But the question is why ??? Are there commands or adjustments to do ?

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...