[MPlayer-users] Bad audio-video sync with a FLV

Nicolas George nicolas.george at normalesup.org
Tue Jul 22 19:03:04 CEST 2008


Hi.

I am trying to play a few FLV files (Dr. Horrible, to be completely
precise), and the audio and video are quite out of sync: sound becomes early
of about one second after about one minute. Seeking restores the sync, but
of course it diverges again soon. -mc 0, -autosync 1, 30 or 300 do not help.
Mplayer is aware of the problem, since the status line indicator is growing:
"A-V:  0.374".

ffplay plays it fine.

The video stream is declared with a 1 ms timebase. All timestamps are
multiple of 15 ms, mostly alternating audio and video frames. With ffprobe,
editing the output to keep only the packet type and pts, I get:

video 0.000000		audio 0.315000 		audio 0.615000
video 0.015000		video 0.330000 		video 0.630000
audio 0.030000		audio 0.345000 		audio 0.645000
audio 0.060000		video 0.360000 		audio 0.660000
audio 0.075000		audio 0.375000 		video 0.675000
video 0.090000		audio 0.390000 		audio 0.690000
audio 0.105000		video 0.405000 		video 0.705000
video 0.120000 		audio 0.420000 		audio 0.720000
audio 0.135000 		video 0.435000 		video 0.735000
audio 0.150000 		audio 0.450000 		audio 0.750000
video 0.165000 		video 0.465000 		audio 0.765000
audio 0.180000 		audio 0.480000 		video 0.780000
video 0.195000 		video 0.495000 		audio 0.795000
audio 0.210000 		audio 0.510000 		video 0.810000
video 0.225000 		audio 0.525000 		audio 0.825000
audio 0.240000 		video 0.540000 		video 0.840000
video 0.255000 		audio 0.555000 		audio 0.855000
audio 0.270000 		video 0.570000 		video 0.870000
audio 0.285000 		audio 0.585000 		audio 0.885000
video 0.300000 		video 0.600000 		audio 0.900000

Is there any chance to get mplayer working correctly on such a file?

I can upload a part of the file as a sample, or post a more complete output
of ffprobe if it is helpful.

Regards,

-- 
  Nicolas George



More information about the MPlayer-users mailing list