[MPlayer-users] split avi

D Richard Felker III dalias at aerifal.cx
Sat Aug 23 09:04:27 CEST 2003


On Thu, Aug 21, 2003 at 08:29:32PM +0200, Erik Slagter wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > mencoder -oac copy -ovc copy -endpos X -o part1.avi
> > mencoder -oac copy -ovc copy -startpos X -o part2.avi
> > 
> > please lookup endpos and startpos (I am doing this off the top of my head, so 
> > check the man page!)
> > 
> > -o(v/a)c copy just copies the streams as they are (might not be exactly the 
> > frame/time specified, due to the codecs limitations though)
> 
> -startpos = -ss (startpos would of course be more logical)
> 
> This only works if your avi file is indexed or can be indexed iow it
> muse be < 2 Gb.

Also it will only seek to nearest keyframe, so you might lose or
duplicate part of the movie at the cut point... And I would recommend
using -mc 0 -noskip; otherwise, if frames are skipped when -ovc copy
is used, you'll get serious image corruption.

Rich



More information about the MPlayer-users mailing list