yzt
28-04-2010 09:29:18
I'm trying to use this plugin, but I'm failing to make it work so far.
I am using Ogre 1.6, and have compiled Ogre and this plugin myself (for Ogre Theora plugin, I have used the "branches/monolithic" source code from the SVN.) The sample video files in the plugin source distro (e.g. "konqi.ogg") are being played fine. However, when I substitute my own OGG video file in the material, I get this error message "Error creating ogg_video texture!" in the Ogre log file. To be more precise:
I have created this video file from an AVI source using ffmpeg2theora using these switches:
VLC plays the video nicely.
Just to be sure, here's the material I'm using:
Do I need to do something more? Am I missing something? Since I am using this as a plugin, I don't see how exactly I can put a breakpoint in the code.
Any help or suggestion or pointers would be welcome.
I am using Ogre 1.6, and have compiled Ogre and this plugin myself (for Ogre Theora plugin, I have used the "branches/monolithic" source code from the SVN.) The sample video files in the plugin source distro (e.g. "konqi.ogg") are being played fine. However, when I substitute my own OGG video file in the material, I get this error message "Error creating ogg_video texture!" in the Ogre log file. To be more precise:
Creating ogg_video texture on material: SimpleTheoraVideo
video file: konqi.ogg
Vorbis Headers: 0 Theora Headers : 3
Vorbis Headers: 0 Theora Headers : 3
Creating ogg_video texture on material: SimpleTheoraVideo01
video file: test_small.ogg
Error creating ogg_video texture!
I have created this video file from an AVI source using ffmpeg2theora using these switches:
--videobitrate 1000 --audiobitrate 128 --two-pass --soft-target
VLC plays the video nicely.
Just to be sure, here's the material I'm using:
material SimpleTheoraVideo01
{
technique
{
pass
{
texture_unit
{
texture_source ogg_video
{
filename test_small.ogg
precache 16
play_mode play
}
}
}
}
}
Do I need to do something more? Am I missing something? Since I am using this as a plugin, I don't see how exactly I can put a breakpoint in the code.
Any help or suggestion or pointers would be welcome.