Opened 4 years ago

Last modified 4 years ago

#3403 new defect

A/V desync with ffplay for a broken avi sample

Reported by: cehoyos Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

(Sample from videolan ticket 8618)
A vlc user pointed to a broken avi sample that transcodes fine with ffmpeg (the output file plays in-sync) but shows A/V desync when played with ffplay.
Workaround is to seek over the broken parts.
To reproduce, play the sample for 50 seconds to see the problem, seek instead three times 10 seconds forward to see the same scene play in-sync.
If the huge sample is cut, seeking does not allow anymore to fix the desync.

$ ffmpeg -i Swindle.avi
ffmpeg version N-60762-g3edc3b1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb 20 2014 11:39:42 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 65.100 / 52. 65.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  1.103 /  4.  1.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'Swindle.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 01:13:32.45, start: 0.000000, bitrate: 1802 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 1:1 DAR 20:11], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 130 kb/s
At least one output file must be specified

Change History (1)

Note: See TracTickets for help on using tickets.