[MPlayer-users] mencoder: "duplicate 1 frame(s)!!!"?

ras2 shrike at get2net.dk
Tue Jan 14 01:52:45 CET 2003


I have a file I captured from TV with this commandline:

mencoder -tv on:driver=v4l:device=/dev/video0:width=384:height=288:\
chanlist=europe-west:outfmt=rgb24:channel=66 -ovc divx4 -divx4opts \
br=2600:q=4:crispness=100 -oac copy -o buffy_1_6.avi
(I didn't get any warnings or other messages while capturing it).

And I'm trying to encode/convert it with this commandline (and variations
of it):

mencoder buffy_1_6.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1000:\
v4mv:keyint=350:vqmin=2:vlelim=4:vcelim=9:lumi_mask=0.05:dark_mask=0.01 \
-oac copy -o buffy_s1_e6.avi

I get this from mencoder:

duplicate 1 frame(s)!!!    
Pos:  45.2s   1132f ( 1%)  64fps Trem:  16min 467mb  A-V:0.040 [799:705]
duplicate 1 frame(s)!!!    
Pos:  45.3s   1134f ( 1%)  65fps Trem:  16min 468mb  A-V:0.040 [799:705]
[etc.]

And when playing the file, it appears to skip some frames at times
(video mainly, audio seems fairly okay; no really audible skips).

Any ideas what is going wrong? I have used the same options for quite
a few captures before (although none as long as this one) and encoded
them with the same options too with no problems. The only difference
is that I tried outfmt=rgb24 for the capture which I don't think I've
used before.

The only mention of this problem I could find in the list archives was
fixed by using -ofps (with NTSC frame rate), but I've tried that (with
PAL frame rate and a number of other settings) and it makes no difference.

MPlayer, Windows Media Player, Aviplay (0.7.15) plays the original file
with about the same skips I get after encoding the file with mencoder and
a Virtual Dub encoding also has skipped frames. So it must be a problem
with the original capture file.

I'm using MPlayer 0.90rc2 on Debian testing/unstable with kernel 2.4.20
(w/low-latency, bttv and i2c patches). GCC is 2.95.4.
I don't know which other information might be relevant.


-R.



More information about the MPlayer-users mailing list