Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#4653 closed bug (fixed)

OGG Theora support in MediaPlayer

Reported by: leszek Owned by: dlmcpaul
Priority: normal Milestone: R1
Component: Audio & Video/Codecs Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All


The OGV and OGG container format seems to be supported but only audio is playing. Here's the file info (ffmpeg -i):

Input #0, ogg, from '/leszek/Videos/Screencasts/custom-usplash.ogv':
  Duration: 00:20:55.20, start: 0.000000, bitrate: 260 kb/s
    Stream #0.0: Invalid Codec type -1
    Stream #0.1: Video: theora, yuv420p, 720x480, PAR 1:1 DAR 3:2, 15 tbr, 15 tbn, 15 tbc
    Stream #0.2: Audio: vorbis, 44100 Hz, 2 channels, s16, 80 kb/s
    ENCODER         : ffmpeg2theora 0.21

Hope this helps for debugging. What is intersting is Stream #0.0 that is recognized as invalid. I am not sure but I heard something about skeleton' meta-data that is stored there. The theora video decoder is still missing I suppose. Also there is the new Thusnelda Encoder for Theora. It should be compatible to the older files, so nothing has to be changed in the decoder to support it. It would be awesome to have a encoder also.

I attached a small example video I created on my ZEVENOS box with recordmydesktop. So it might be somehow be a little different then the normal ogg files but it should help ;)

Attachments (1)

test.ogv (361.6 KB ) - added by leszek 13 years ago.

Download all attachments as: .zip

Change History (5)

by leszek, 13 years ago

Attachment: test.ogv added

comment:1 by dlmcpaul, 13 years ago

Owner: changed from nobody to dlmcpaul

comment:2 by stippi, 12 years ago

Resolution: fixed
Status: newclosed

Thanks for the test file, it is now fully supported since moving OGG, Vorbis and Theora support into the FFmpeg plug-in. Encoding is indeed supported now, but just via the current Theora library, dunno if that includes Thusnelda, I don't suppose it does.

comment:3 by leszek, 12 years ago

The current theora library should be 1.1.1 which is indeed thusnelda. Thanks for fixing that ;) This is great.

comment:4 by stippi, 12 years ago

Yes, indeed, I imported 1.1.1. If you use MediaConverter to convert some stuff, it has the problem that it writes the video and audio streams one after the other, instead of interleaving them. This seems to give some decoders trouble. And of course there are no configuration panels besides the simple quality slider in most applications. Two pass encoding is also not implemented, though that would also require modifications in existing applications.

Note: See TracTickets for help on using tickets.