[MEncoder-users] Mencoder does not cut exactly

TAJTHY Tamás tajthy at mailbox.hu
Wed Apr 30 14:35:43 CEST 2008


Hi,

I have a strange problem. I have a mjpeg avi file and I'd like to cut a part
from it and convert to mpeg4. I detected the frames by VirtualDub. I did the
following:

mencoder ..compression-arguments.. -ss 1.120 -endpos 1:23:00.000 -o cut.avi
patch.avi;

My problem is that the resulted file does not contain the exact frames.
Depending on the -ss option it can be +/-1 frames different. At the end
position can be +/- 4 frames different. If I add 3-5 ms to the -ss and
-endpos options so the start become puntual, but the problem still appears
at the end.

Could anybody help me how could I cut the exact frames I need?

Thanks in Advance!



More information about the MEncoder-users mailing list