[MPlayer-users] mencoder a-v sync and DVDs (again)

Balatoni Denes pnis at coder.hu
Wed Feb 12 21:31:14 CET 2003


Hi!

In that case would -mc 5 cure the desync with mencoder somewhat ?

bye
Denes


On 2003. február 12. 21:27, Arpi wrote:

> the difference is that mplayer compensates A-V by teh audio card's
> buffering delay, while mencoder doe sthe compensation of muxer's delay
> (preload).
>
> i can imagine that the <100ms delay comes from the audio codecs, probably
> from libmp3lame's buffering, especialy in VBR modes.
> there are ~38 audio frames for 1 sec, it means ~26ms/frame, so if it
> buffers up a few frames it may cause some delay.
>
> try encoding using -oac pcm, or -oac copy and check if the delay still
> exists. maybe i have to hack it a bit to compensate codec's (encoder)
> delay.
>
> also, it's possible that video encoder delays 1 frame, if using B frames.
> try -ovc rawrgb, if it solves a-v issue then it's the problem.
>
>
> A'rpi / Astral & ESP-team




More information about the MPlayer-users mailing list