[MPlayer-users] mencoder and usage of -ss and --endpos to split an avi

Joey Parrish joey.parrish at gmail.com
Mon May 7 21:13:53 CEST 2007


On 5/7/07, Luke Lathrop <bryan.lathrop at gmail.com> wrote:
> mencoder -ss $PARTBEGIN -endpos $PARTSIZE $INPUTFILE -o $OUTPUT.avi
> -ovc copy  -oac copy
>
> Trials seem to to show the -ss parameter rounding to the nearest
> frame. This leads to the next segment being off, and putting them back
> together gets lots of skips around these boudaries. The skips can be
> as much as several seconds, depending on the video used.

Seeking is done to keyframes.  And think about the use of ovc copy, as
well.  If X is a keyframe, and you start copying from X + 1, there's
video information missing.  X + 1 is not a full frame.  So that's
another reason what you're attempting does not work.  If you re-encode
the video or use a source with all keyframes, this wouldn't be an
issue.

--Joey



More information about the MPlayer-users mailing list