Doc / sync

Doc / sync
2006-10-11 (水) 00:55:22更新

9.1. Audio/Video synchronization

Linux sound card drivers have compatibility problems. This is because MPlayer relies on an in-built feature of properly coded sound drivers that enable them to maintain correct audio/video sync. Regrettably, some driver authors don't take the care to code this feature since it is not needed for playing MP3s or sound effects.

Other media players like aviplay or xine possibly work out-of-the-box with these drivers because they use "simple" methods with internal timing. Measuring showed that their methods are not as efficient as MPlayer's.

Using MPlayer with a properly written audio driver will never result in A/V desyncs related to the audio, except only with very badly created files (check the man page for workarounds).

If you happen to have a bad audio driver, try the -autosync option, it should sort out your problems. See the man page for detailed information.