[MEncoder-users] Trying to deinterlace & resize 1080i content - argh

Matthias Hopf mat at mshopf.de
Mon Feb 6 14:39:38 CET 2006

On Feb 03, 06 15:19:12 -0700, Mark Lehrer wrote:
> mencoder tennis.mpg -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vhq:vqscale=3:v4mv:autoaspect:trell -vf tfields,scale=480:270 -fps 60000/1001 -ofps 60000/1001 -o test.avi
> The problem seems to be with a/v sync.  If I specify -nosound, the video
> plays back beautifully.  However, if I use -oac copy, I have two problems.
> First, these ugly looking messages:
> ...
> Pos: 140.5s   4193f ( 2%)  11fps Trem: 231min 2342mb  A-V:-0.034 [3479:384]
> 1 duplicate frame(s)!
> Pos: 143.7s   4289f ( 2%)  11fps Trem: 229min 2331mb  A-V:0.034 [3468:384]]
> Skipping frame!

Are these leveling out? That is, are you getting approximately the same
number of duplicated frames as skipped frames?

In that case I had exactly the same issues. I'm currently working on a
patch that allows for a certain jitter during audio/video
synchronization. I still have one issue with pts jumps, but I hope I
will have that fixed this week.

I'll post the patch here for evaluation, as it completely changes the
A/V synchronization stuff.

> As you can see, this happens quite often.  The second problem is that
> when I play the video back, it is obvious that frames are missing.  I
> don't think it is bad enough to detect on content such as a movie -

Yes, it is bad enough. I got quite annoyed.

> Any idea what I can try to make this work better?

Wait till beginning of next week :)
It seems I'll have at least one beta tester ;)


Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de

More information about the MEncoder-users mailing list