On Tue, 2005-07-12 at 15:22 +1200, Roy Britten wrote:
> A work colleague has a couple of ~2.2GB .avi files that his MSWin box is
> failing to handle, possibly because of the file size. He's unwilling to
> compress/downsample as there is useful data in the detail that he
> doesn't want to lose. Is there a Linux tool that I can use to split his
> files into, say, two or three smaller self-contained files?

Thanks for the suggestions.

ffmpeg did some very weird things with size and colour (see
http://shell.clug.net.nz:8080/~britten/pink.png for a screenshot of the
pink cast that rendered the movie impossible to interpret). In the end
mencoder did the job very nicely:

mencoder -noskip infile.avi -ovc copy -idx \
  -ss [n] -endpos [m] -o outfile.avi

where [n] is the number of seconds into the stream to start the copy
(-ss 0 to start at the beginning of the file), and [m] is the length of
the output file in seconds.

Thanks again,
Roy.

Reply via email to