I added the Theora support back to ogg-support and uploaded the source packages to extras-devel builder.
I didn’t change the mimetypes though, so all *.ogg files are seen as audio files even though they may contain video streams as well. I quickly transcoded the Big Buck Bunny video to lower resolution ogg containing Theora video and vorbis audio. The Media Player was able to show it although I should have used even lower resolution (and lower audio bitrate).
Comments are welcome.
Aren’t theora video files supposed to have *.ogv extension?
Looks like that’s what the Xiph is trying to accomplish.
But they are not official yet?
And none of that matters because this is Maemo we are talking about now.
I’ll gladly release a new version of ogg-support with full ogg mime types if someone gets them to work with File Manager, Meta Layer Crawler, and the Media Player.
Actually those new style mime types (one extension per mime type) might work as well as the current solution (*.ogg equals audio/x-vorbis) in Maemo with the exception that some 3rd party apps might benefit from being able to distinct between video and audio mime types. I’ll try to find the time to test that.
Now the trunk has application/ogg (*.ogx), audio/ogg (*.ogg, *.oga, *.spx), and video/ogg (*.ogv, *.ogm).
awesome. it would be nice if someone could come up with the ‘perfect’ bitrate and resolution for tablets, so we have a known-good setting for converting our videos to a free format for playback on the tablets. maybe also add these profiles to tablet-encode?
I tried transcoding with:
ffmpeg2theora -V 196 -x 320 -y 176 -A 112 -H 44100
i.e. 196kbs (320×176) video and 112kbps audio. According to “top” osso-media-server took 60%-70% of the cpu but the playback wasn’t fluent, there was occasional hickups.
Any idea why playing ogg files works fine but streaming oggs from a upnp server fails completely?
I guess the reason is probably buried somewhere in the Nokia binaries sadly :)
Oh wait: if I set the streamed mimetype to audio/x-vorbis then the Media player is happy, as is Mediastreamer.
Yes, the ogg-support understands only audio/x-vorbis.