[MEncoder-users] -ss and -endpos cutting creates very visible h264 artifacts

Marc MERLIN marc_mplayer at merlins.org
Wed Feb 24 08:37:57 CET 2010


I sometimes trim videos like this:
mencoder -oac copy -ovc copy  -ss 0 -endpos 4:00 source.avi -o dest.avi

This worked fine until I started doing it with h264 encoded videos.

Problem is that the first resulting keyframe isn't computed right and
you get very visible artifacts like here:
http://www.youtube.com/watch?v=AZJkFHWaTRI
(see upper right of the picture for the first 10 seconds)

I'm using SVN-r29237-4.4.1.

Is there a fix to this problem?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/


More information about the MEncoder-users mailing list