Cutting AVI videos in Mac OS X

Is there a tool for Mac OS X which supports cutting .AVI files, but doesn't re-compress them? Command-line tools are also welcome.


Install FFmpeg through Homebrew:

brew install ffmpeg

Then cut the video starting from the position specified with -ss for a duration specified with -t. copy ensures that video and audio are not re-encoded.

ffmpeg -i video.avi -c:v copy -c:a copy -ss 00:01:30 -t 0:0:20 output.avi