[MEncoder-users] duplicate frames - shortening video?

hans at netupgrades.com hans at netupgrades.com
Tue Jun 5 01:01:54 CEST 2012


Hi -

Videos are being shortened (losing frames?).

My source video is a desktop recording of me scrolling down a web page,
and I wait for a few seconds each time before I scroll down further.

I think mencoder is optimizing these "similar" frames and drops them.


I have tried many variations to keep my long scroll pauses intact:

mencoder out.ogv -audiofile myfile.mp3 -ovc lavc -oac mp3lame -fps 5 -o
test.avi

mencoder out.ogv -audiofile myfile.mp3 -ovc lavc -oac mp3lame -fps 15
-o test.avi

mencoder out.ogv -audiofile myfile.mp3 -ovc lavc -oac mp3lame -fps 15
-vf harddup -o test.avi

mencoder out.ogv -audiofile myfile.mp3 -ovc lavc -oac mp3lame -vf
harddup -o test.avi

These are the type of messages I see:

1 duplicate frame(s)!
Pos:  10.9s    151f (93%) 16.10fps Trem:   0min   2mb  A-V:-0.133
[1406:210]


Each time, I see duplicate frames being dropped, and my video is a very
fast scrolling down the web page.

I thought -vf harddup made it not lose frames?

How do I keep the same video length as my source file?

Very big thanks!! :0)


More information about the MEncoder-users mailing list