[Vorbis] Re: Recursively vcutting

andy andy at earthsong.free-online.co.uk
Sun Jan 2 16:11:07 PST 2005


On Mon, 03 Jan 2005 11:32:02 +1100, Michael Smith wrote:

> On Sun, 2 Jan 2005 14:01:11 +0000, Kelsang Norpel
> <norpel at meditateinscotland.org> wrote:
>> Hi,
>> 
>> I've got alot of long 1-2hr files which I'd like to split up into 5-10 minute
>> chunks.  I think this should be possible using a small shell script and vcut,
>> but my scripting abilities are lacking.  Does anyone know of the existence of
>> a script which would do this, or know how I'd go about making one?
> 
> I see you've had some answers on the shell-scripting side of this.
> 
> I'd add that I strongly recommend not using vcut for any purpose. It
> works unreliably and will tend to produce incorrect output files. (I
> wrote it, and _I_ won't use it!)
> 
> Mike

another way would be to use ecasound - ecasound -i:file.ogg -o:chunk.ogg
-t:600 will pull a 10 minute chunk from the start of file.ogg into
chunk.ogg, but it re-encodes the file, which isn't so good. (also you need
to check that the output file is at the right bitrate - see man ecasoundrc)




More information about the Vorbis mailing list