[MEncoder-users] mpeg2 split

The Wanderer inverseparadox at comcast.net
Sat Sep 24 12:44:12 CEST 2005


Németh Péter wrote:

> Hi everybody!
> 
> i want to split a 1,7 gb mpeg2 file to 2 parts
> how can i make it?
> 
> i try:
> C:\Program Files\mplayer>mencoder "E:\movie\input.mpg" -o "out.mpg" -ss 1mb -endpos 70mb -oac copy -ovc copy
> 
> it make a 70 mb movie, but i cannot playback it
> 
> why? the ovc set copy...

I'm not sure that this is related, but there's one definite error in
your command line: "-ss 1mb" is not valid syntax. '-sb 1mb' might be
(although it's not documented in the man page if so), and '-sb 1048576'
definitely would be. '-ss' stands for "seek seconds", and "-sb" stands
for "seek bytes"; specifying a byte measurement to the time-based seek
option is obviously nonsensical.

Beyond that, I can't really help you, at least not without also seeing
the *full* (non-snipped) text which is output by MPlayer when trying to
play the resulting file. My next guess, though, would be that there is
some problem being caused by the first frame of the resulting file not
being a keyframe - which, of course, is very likely when not 'encoding'
from the beginning of the source file, and also not transcoding (which
you aren't, since you specified -ovc copy).

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the MEncoder-users mailing list