[vorbis-dev] Vorbis files merging

Vitaly Nechyos nvit at open.by
Thu Sep 19 05:05:41 PDT 2002

Good day.

I have some questions dealing with merging Ogg Vorbis files.
Suppose I want merge two Ogg Vorbis files encoded with the same parameters
into one file that composed of one logical bitstream. In this connection
A) Are codebooks in file headers depend only on Vorbis version and
    encoding parameters and don't depend on the particular source file?
B) Are the following steps enough to do merging?:
    - unset e_o_s flags in the last packet of the first file;
    - unset b_o_s flags in the first packet of the second file;
    - write additionally to the first file data data from the second file,
      located after headers of the second file, at the same time changing
      and packetnos for packets from the second file;



--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Vorbis-dev mailing list