Hello there, we are among the last people to actually make use of the Ogg/Theora format. Ok, just kidding, but in fact we do live and archival streaming of various IT conferences. You can take a look at some here if you are interested: https://streaming.linux-magazin.de/en We are using several tools for live streaming, recording and editing Theora streams, among them ffmpeg2theora and oggCut from oggvideotools (http://dev.streamnik.de/oggvideotools.html). Now unfortunately many files are broken, either from interrupting the recording or cutting. Examples of error messages follow: $ oggz-validate jnazario.ogg jnazario.ogg: Error: 00:55:27.957: serialno 0846930886: Packet out of order (previous 00:55:27.960) 01:05:09.077: serialno 0846930886: Packet out of order (previous 01:05:09.080) Are there any tools that can reliably fix broken Ogg/Theora files? What's to be done to create such a tool if there is none yet? Thanks for your help Oliver
2008/11/12 Oliver Frommel <ofrommel at linuxnewmedia.de>:> Hello there, > > we are among the last people to actually make use of the Ogg/Theora > format. Ok, just kidding, but in fact we do live and archival streaming > of various IT conferences. You can take a look at some here if you are > interested: https://streaming.linux-magazin.de/en > > We are using several tools for live streaming, recording and editing > Theora streams, among them ffmpeg2theora and oggCut from oggvideotools > (http://dev.streamnik.de/oggvideotools.html). > > Now unfortunately many files are broken, either from interrupting the > recording or cutting. > > Examples of error messages follow: > $ oggz-validate jnazario.ogg > jnazario.ogg: Error: > 00:55:27.957: serialno 0846930886: Packet out of order (previous > 00:55:27.960) > 01:05:09.077: serialno 0846930886: Packet out of order (previous > 01:05:09.080) > > Are there any tools that can reliably fix broken Ogg/Theora files? > What's to be done to create such a tool if there is none yet?Hi, for that particular error (packets out of order), oggz-sort should be able to fix the files for you. cheers, Conrad.
>> >> Examples of error messages follow: >> $ oggz-validate jnazario.ogg >> jnazario.ogg: Error: >> 00:55:27.957: serialno 0846930886: Packet out of order (previous >> 00:55:27.960) >> 01:05:09.077: serialno 0846930886: Packet out of order (previous >> 01:05:09.080) >> >> Are there any tools that can reliably fix broken Ogg/Theora files? >> What's to be done to create such a tool if there is none yet? > > > for that particular error (packets out of order), oggz-sort should be > able to fix the files for you. >Thanks for the suggestion. Unfortunately it did not help completely. When we edit the original file with oggCut and then use oggz-validate we get an error message like the one posted before. Now oggz-sort will fix the file so oggz-validate doesn't find any errors. However ffmpeg still produces and error with it: ffmpeg -i rlang.ogg -ab 56 -ar 22050 -acodec libmp3lame rlang.flv [vorbis @ 0x880dbb0]Not a Vorbis I audio packet. [vorbis @ 0x880dbb0]Not a Vorbis I audio packet. [vorbis @ 0x880dbb0]Not a Vorbis I audio packet. [theora @ 0x87fd4f0]Header packet passed to frame decoder, skipping Error while decoding stream #0.0 [theora @ 0x87fd4f0]Header packet passed to frame decoder, skipping Error while decoding stream #0.0 [theora @ 0x87fd4f0]Header packet passed to frame decoder, skipping Error while decoding stream #0.0 [theora @ 0x87fd4f0]Header packet passed to frame decoder, skipping Error while decoding stream #0.0 [theora @ 0x87fd4f0]Warning, unsupported keyframe coding type?! [theora @ 0x87fd4f0]Header packet passed to frame decoder, skipping Error while decoding stream #0.0 Segmentation fault This is the same error we had before fixing the file with oggz-sort Any other suggestions? Best Oliver