[MPlayer-users] Splitting and Rejoining Movies
D. Starner
shalesller at writeme.com
Fri Jan 2 06:35:48 CET 2004
I taped a movie from cable recently, and took it to a friend's house over Christmas
and transferred it to MPEG2. I then tried to encode it to MPEG4 in three sections,
so I could delogo it only where necessary, like so.
mencoder -endpos 595 -nosound -ovc lavc -lavcopts vcodec=mpeg4:gray:vbitrate=1250: -oac copy Noname-002.mpg -o Cops/Sect2.avi
mencoder -ss 595 -endpos 32 -nosound -ovc lavc -lavcopts vcodec=mpeg4:gray:vbitrate=1250 -vf delogo=530:390:130:35 -oac copy Noname-002.mpg -o Cops/Sect3.avi
mencoder -ss 627 -nosound -ovc lavc -lavcopts vcodec=mpeg4:gray:vbitrate=1250 -oac copy Noname-002.mpg -o Cops/Sect4.avi
(Slightly simplified; the actual run was two pass, among other things.)
The problem is, the end of Sect2 is not the start of Sect3; -endpos 595 doesn't match
-ss 595. I don't care if I delogo a few seconds of movie that didn't need to be delogoed,
but I need the end of Sect2 to match up exactly to the start of Sect3. I think the
problem lies in the messages "demux_mpg: 24fps progressive NTSC content detected,
switching framerate." and "1 duplicate frame(s)!" that mencoder spits out when reading
the MPEG2 input. How do I match the ends of Sect2 and Sect3 up right? I don't care if I
delogo a few seconds of movie that didn't need to be delogoed, but I need the end of
Sect2 to match up exactly to the start of Sect3.
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
More information about the MPlayer-users
mailing list