[ogg-dev] adwantages of ogg container?

Alexey Fisher bug-track at fisher-privat.net
Mon Aug 30 00:00:58 PDT 2010


Am Sonntag, den 29.08.2010, 19:13 -0400 schrieb Benjamin M. Schwartz:
> On 08/29/2010 06:16 PM, Alexey Fisher wrote:
> > Are there any options to recover
> > video with missing header? Or tip for archiving, for example make some
> > recorevable stream with backup header?
> 
> If the whole first portion of the file is missing, then regenerating the
> header is, in the abstract, a hard problem involving searching a very
> large solution space.  In practice, many encoders (e.g. libtheora) use
> only a relatively small set of header parameters, so searching them might
> be practical.
> 
> If you want to increase loss resilience with Ogg, the most direct way is
> to break up your stream into a series of independent segments, encode each
> segment as a separate Ogg file (with its own headers), and then directly
> concatenate the resulting files into a single output file.  The resulting
> file is called a "chained ogg", and is a valid Ogg file.  However, chained
> oggs are rare in the wild, so only a few players have good support for
> playing them.

This is interesting idea. Probably it can be done by muxer at encoding
time ...

Seems like at least virginradio use chained ogg. This year some one send
a patch for ffmpeg to support chained stream and it working some how
with gstreamer too. But looks like no one support chained theora+ogg.



More information about the ogg-dev mailing list