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
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.
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
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@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@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mencoder-users
On Thu, Nov 10, 2005 at 02:49:41AM -0200, José Queiroz wrote:
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?
This aspect message is 100% irrelevant to the problem you're encountering. This is why we demand a full and proper bug/problem report if you want help... Rich
Well, as I said, when I used the "-force-avi-aspect" (and not -aspect as I said first), the message disappeared. My question is much more about the problem with the FOURCC code not appearing in the converted movie, and if just using the "-ffourcc" flag can solve the problem. 2005/11/10, Rich Felker <dalias@aerifal.cx>:
On Thu, Nov 10, 2005 at 02:49:41AM -0200, José Queiroz wrote:
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?
This aspect message is 100% irrelevant to the problem you're encountering. This is why we demand a full and proper bug/problem report if you want help...
Rich
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mencoder-users
participants (5)
-
José Queiroz -
Németh Péter -
Oded Shimon -
Rich Felker -
The Wanderer