[vorbis] how to calculate frame # for vcut?

Jack Moffitt jack at xiph.org
Sat Aug 10 09:26:04 PDT 2002



> With a fixed bitrate format, the frame number to cut by can be easily 
> calculated, but how do I such here?

No, you can just cut and it normally works ok because MP3 headers take
up 4 bytes of every frame.  You do lose the bitbucket, and streaming of
hte resulting file breaks a few decoders, mpg123 being one of the most
sensitive.

Just because the hack almost works right doesn't make it good :)

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