[MPlayer-users] Can anyone confirm this? (Desync when encoding with yadif=1)

Ilja Sekler ilja_sekler_ at gmx.de
Mon Jun 8 18:34:07 CEST 2009


On 08.06.2009 16:37, Alexander Shaduri wrote:

> Can anyone at least confirm this issue please?
> 
> Whenever I try to encode with yadif=1 (50 fps output in case of
> PAL), I get A/V desync, the sound is about 150ms late. That is, when
> I play the result with "mplayer -delay 0.15 test.avi", everything's
> ok.

Yes, I get this too.

> The (simplified) command is:
> $ mencoder -vf yadif=1,harddup -ovc lavc -lavcopts \
> vcodec=mpeg4:keyint=132:threads=2:vbitrate=1000 -fps 50 -ofps 50 \
> -oac copy -dvd-device . dvd://1 -aid 0 -o test.avi -endpos 0:2:0
> 
> If I encode it with yadif=0 (25 fps output, same fps as the source),
> there is no delay:
> $ mencoder -vf yadif=0,harddup -ovc lavc -lavcopts \
> vcodec=mpeg4:keyint=132:threads=2:vbitrate=1000 \
> -oac copy -dvd-device . dvd://1 -aid 0 -o test.avi -endpos 0:2:0
> 
> [...]
> 
> This issue really makes yadif=1 (or, generally, high quality
> double-fps encoding) unusable in mencoder, so I'm already thinking
> about trying the alternatives (transcode, maybe?).

Why not just adding "-delay 0.15" to the mencoder command line as a
workaround?

-- 
Regards

Ilja


More information about the MPlayer-users mailing list