[MEncoder-users] mpeg2 split

José Queiroz zekkerj at gmail.com
Thu Nov 10 05:49:41 CET 2005


Hi,

I'm also trying to split a big mpg movie into 2 avi chunks that I
could write to a single 700MiB CD.

So I tried a two-pass conversion, the first pass:

mencoder movie.mpg -o /dev/null \
        -ovc lavc -oac lavc \
        -lavcopts
vcodec=mpeg4:vbitrate=1150:mbd=1:acodec=mp3:abitrate=96:vpass=1

2nd Pass:

mencoder movie.mpg -o movie_part1.avi -of avi \
        -endpos 1:12:30 \
        -ovc lavc -oac lavc \
        -lavcopts
vcodec=mpeg4:vbitrate=1150:mbd=1:acodec=mp3:abitrate=96:vpass=2

(to the second part, I change "-endpos 1:12:30" to "-ss 1:12:30" and
"-o movie_part2.avi")

But... during the recoding, I saw mencoder complaining about the
aspect, and saying that the vprp header was not to be saved. And when
I verify the output file with command "file", or the properties in
Windows Explorer, it shows nothing in "codec" field, neither DivX,
XviD ou MPEG4.

Trying to solve these issues, I tried to use "-aspect 1.33" (the
message about not writing the vprp header disappeared) and "-ffourcc
divx". Was it correct?

2005/9/24, Oded Shimon <ods15 at ods15.dyndns.org>:
> On Sat, Sep 24, 2005 at 12:26:30PM +0200, 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...
> >
> > pls help, thx
>
> -of mpeg -mpegopts ...
>
> I think this should be added to FAQ - just cause you use -o *.mpg, doesn't
> mean it outputs an mpeg file, on the contrary, it'll output an avi file!
>
> - ods15
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
>




More information about the MEncoder-users mailing list