[vorbis-dev] Vorbis files merging

Michael Smith msmith at labyrinth.net.au
Fri Sep 20 19:37:00 PDT 2002



At 05:19 PM 9/20/02 +0300, you wrote:
>Good day.
>
>I have one more question.
>Is it legal to set granule position of a Vorbis packet, that situated at the
>middle
>of Vorbis file to a value, that is less, then granule position of the last
>PCM sample belonging to this packet?
>vorbis-clip.txt says:
>"...The decoder then ignores the 'extra' samples.
>This behavior is to occur only when the end-of-stream bit is set in
>the page (indicating last page of the logical stream)."
>Is it true only for end-of-stream marked pages?

Yes. That's what the spec _says_, after all...

>Suppose i'd like to select some internal part of a Vorbis file, cut them,
>and
>save the residuary part to a file. Is the only way to do this (without
>decoding-encoding)
>make two logical bitstreams in the target file?

If you require sample-precise editing, yes (if you have more than one
such internal part - for a single section, you can do this (as vcut does))

Mike

--- >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