ParaToxic Posted September 10, 2012 Share Posted September 10, 2012 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 Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted September 10, 2012 Share Posted September 10, 2012 Try posting your code so people can atleast see what it is you are doing. Quote 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 More sharing options...
ParaToxic Posted September 10, 2012 Author Share Posted September 10, 2012 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; } Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted September 10, 2012 Share Posted September 10, 2012 What exactly do you think Nios LETheora is for? Quote 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 More sharing options...
ParaToxic Posted September 10, 2012 Author Share Posted September 10, 2012 I think that it is a videostreaming "program", that samples each frame of a video to a texture. This code is only for testing, and it fails. :/ Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted September 10, 2012 Share Posted September 10, 2012 http://www.leadwerks.com/werkspace/topic/741-video-playing-example/page__hl__theora However LETheora playback library: http://www.leadwerks.com/werkspace/topic/949-letheora-playback-library/page__hl__theora Quote 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 More sharing options...
ParaToxic Posted September 11, 2012 Author Share Posted September 11, 2012 Its not working for me.There was a guy with the same problem tha the app crash and the answer was tzo compile it with VS2008 ( what I have done but there was the same error ) Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted September 11, 2012 Author Share Posted September 11, 2012 Okey now I downloaded RC1 and it works very good with VS2008. I am searching for the SDK where the OpenAL_AudioInterface.h file is . Maybe the owner can tell me where ? Thanks Quote Link to comment Share on other sites More sharing options...
Canardia Posted September 11, 2012 Share Posted September 11, 2012 In the OpenAL SDK: http://connect.creat...s/AllItems.aspx But the downloads are broken, because they use some Microsoft SharePoint ****. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ParaToxic Posted September 11, 2012 Author Share Posted September 11, 2012 Hmmm I saw but can somebody send me the zip or the installer ? Would be nice Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted September 11, 2012 Author Share Posted September 11, 2012 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 ? Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted September 11, 2012 Author Share Posted September 11, 2012 YEAH now it works very good with the newest build of static and dynamic libs, supports VS2010 and plays sound via OpenAL and all in LE 2.5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.