[MEncoder-users] Duplicate frames from HV20 camcorders.

Oleksiy Kokachev lelikv at gmail.com
Wed Feb 20 09:15:35 CET 2008

Dear all.
I don't know it's a bug or feature, but here is the description:
Using dvgrab I captured m2t files from my HDV Canon NTSC camcorder (NTSC).
I'm trying to convert m2t to avi file with reduced resolution
1440x1080 -> 720x540 at recode
it to MJPEG codec. This files were filmed in 1080i mode (not 24p).

To do that I use the following command:
#mencoder -noskip dvgrab-022.m2t -ovc lavc -lavcopts
vcodec=mjpeg:aspect=16/9 -vf scale=720:540:1 -oac pcm -o

The problem is: I receive "1 Duplicate frame(s)"! warning at frames
22,32,42,52,62,72,82,92,102,112,122,132,142 and 152. After that
everything goes fine till the end. When I try play converted files,
then there is A-V desync during this frames, but after that A-V sync
is normal.
This happens for 90% of captured files. And frames numbers are always the same.

I tried to use -mc 0 option. The result: no warning messages, but A-V
desync for whole file.

How can I overcome this or where did I make mistake?
Please, advise me some solution.

Here is my system description:
1. System: ubuntu gutsy 7.10
2. mencoder -v output:
MEncoder 2:1.0~rc2-0ubuntu1~gutsy1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Thanks and regards, Oleksiy.

More information about the MEncoder-users mailing list