[vorbis] how to calculate frame # for vcut?

Akos Maroy darkeye at tyrell.hu
Fri Aug 9 23:49:39 PDT 2002



Hi,

I have a question regarding vcut. In the man page, it says:

DESCRIPTION
        vcut  reads  an Ogg Vorbis audio file and splits it at the
        given cutpoint, which is a sample number.

<p>What I want to do, is to cut an Ogg Vorbis file at a given time. Say, I 
have an Ogg Vorbis file, which is 1 hour long, and I want to cut it into 
two half hour parts.

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

<p>Akos

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