[ogg-dev] adwantages of ogg container?

Benjamin M. Schwartz bmschwar at fas.harvard.edu
Sun Aug 29 16:13:11 PDT 2010


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.

--Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.xiph.org/pipermail/ogg-dev/attachments/20100829/35d7938a/attachment.pgp 


More information about the ogg-dev mailing list