[Vorbis] Newbie seeking directions

Carsten Haese carsten at xiph.org
Fri Oct 1 13:47:53 PDT 2004


> It seems that the concatenation of by-themselves-correct files does
> not always succeed. 

Indeed. You probably have repeating letters in your sequence, which will
result in the same file being appended twice. That's not good.

Each logical ogg stream has a (usually randomly generated) serial number
that identifies it. For a chain of logical streams inside a physical
stream, the serial number must differ between the links of the chain.
This requirement is violated when you tack on the same file twice in a
row.

The correct way to do this is to rewrite the serial numbers on the fly
to give each link a unique serial number. (Don't ask me how to do that,
though :)

-Carsten




More information about the Vorbis mailing list