[vorbis] Copy a part of an Ogg/Vorbis file

Frank Heckenbach frank at g-n-u.de
Sat Mar 17 08:59:38 PST 2001



What I'd like to do is to copy a part of an Ogg/Vorbis file to a new
file, without decoding and re-encoding (say I've got several songs
in one long file, and I want to split them into separate files).
Sample granularity is not required, packet granularity should do.

I'm reading the Ogg documentation. I think I could write some code
based on ogg_stream_packet{out,in}. Is this the way to go, or are
there easier ways? Or is there perhaps already existing code for
this purpose so I don't need to reinvent the wheel?

Frank


-- 
Frank Heckenbach, frank at g-n-u.de
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan

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