Crash on initVorbisTheoraLayer

xabila

07-02-2009 09:17:51

Hi all, and thanks for this plugin !
I'm using the plugin on linux, FC9
The ceguiDemo is working fine, but when i add the plugin on my application, the vorbis_info_init crash the application
So i comment these two lines :

//vorbis_info_init( &mVorbisInfo );//init supporting Vorbis structures needed in header parsing
//vorbis_comment_init(&mVorbisComment);

And the video is working fine...

So first, does the sound part of the theoraplugin work on linux, and if so, do you have any idea why it's crashing my app.
I can't get any info on gdb (i can't install right now the debug-info of the lib, problem with the rpm mirror)

Thanks

xabila

08-02-2009 15:19:51

Ok my bad, i didn't link with the vorbis lib :oops:

Kreso

16-02-2009 17:19:22

Ok my bad, i didn't link with the vorbis lib :oops:

lol :) that and audio isn't working (at least I haven't tested it yet)

SwedishWings

19-06-2009 05:56:45

I'm using the plugin on linux, FC9

I've never tried to compile a plugin before, so i guess it's a lot of work to understand.

Did you create a Makefile to compile on FC9? If so, i would much appreciate if you would care to post it here :)

Thanks.
Mike

Kreso

19-06-2009 09:23:06

I havent gotten arround to it yet. When I will I will probably do it via autoconf & friends. makefiles arent flexible enough;

SwedishWings

19-06-2009 09:31:27

I've been at this for a few hours, and managed to build and load the plugin (TheoraVideoPlugin.so) properly in Orge via plugins.cfg.

However, i can't figure out how to do the TheoraVideoPlugin.la file, so i can link the examples to the shared library.

Any help most welcome!

/Mike

SwedishWings

19-06-2009 11:01:15

Never mind the build issues, i worked it out and it works fine.

I compiled the example program "player" and get a frame rate of 22fps in 1024x768 while watching konqi.ogg. Is that normal on a Radeon X600, or is something wrong?

Thanks,
Mike

Kreso

19-06-2009 11:03:26

I don't know, it should be more. I get lousy fps on my laptop but I have a x600 mobility radeon. Though ati is known for it's "wonderful" linux drivers :) so it could be a driver issue. how many fps do you get in windows, and how many do you get in other linux ogre apps?

SwedishWings

19-06-2009 11:22:13

i have a X600 Mobility Radeon as well here on my laptop.

I degraded my development partition back to Ubuntu 8.10, becuase ATI thinks that everybody should by a new laptop. They dropped support for most of their older video cards (some jut two years old)... .NEVER more i by ATI!

Anyway, i get reasonable frame rates on other apps with the proprietary ATI FGLRX drivers, so it might done something wrong. Perhaps compile w/o G++ debug flags will help?

Kreso

19-06-2009 11:25:29

Yeah, I frickin' hate ATI, only problems from day one with linux;