Thread: mplayer vdpau
View Single Post
Old 10-06-09, 04:54 PM   #1211
Registered User
Join Date: Dec 2004
Location: Mountain Ranch CA USA
Posts: 3
Thumbs up Re: Blu-ray audio desync in 28900+ mplayer SVNs

Originally Posted by danoscar View Post
The problem is how mplayer handles frame display in VDPAU (and some other video outputs). It results in mplayer getting out of A-V sync when refresh rate is nearly the same as fps of movie. To fix this I have patched mplayer to drop frames in VDPAU layer when they cannot be displayed in time to avoid A-V gets out of sync (if frames are dropped it will be displayed on status line)
I record ATSC (US HD) OTA using an HD HomeRun tuner. I've had serious A-V sync prolbems (dropped frames, large values of AV_delay). I appied danoscar's patche to mplayer (source as of 29 Sept). Since then, I have has absolutely no problems. Great thanks to danoscar. (FWIW, this has nothing to do with Blu-ray)

CPU: Intel Core 2 Duo E8400 Wolfdale 3.0GHz 6MB L2 Cache LGA 775
GPU: nVidia MCP79 Host Bridge
Video: nVidia GeForce 9300/nForce 730i
Audio: Realtek ALC1200

Sony KDL 40V3000 LCD
1920x1080 @60HZ
Connected to PVR via HDMI

Mplayer: -ao alsa::device=hw=0.3 -vo vdpau -vc ffmpeg12vdpau
geoffleach is offline   Reply With Quote