Opened 8 years ago

Last modified 8 years ago

#5416 new defect

A/V desync with FFplay

Reported by: Carl Eugen Hoyos Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords: desync videolan
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Sample from videolan ticket 12722
A badly encoded file was uploaded that can be transcoded with FFmpeg (many dts warnings but output plays in sync) but plays with quickly increasing A/V desync with FFplay:

$ ffplay test_avi_mjpeg_mp2_630x360_2496Kbps_29,97fps.avi
ffplay version N-79267-g6936c11 Copyright (c) 2003-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 31.100 / 57. 31.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[avi @ 0x7f2878000920] non-interleaved AVI    0KB sq=    0B f=0/0
Input #0, avi, from 'test_avi_mjpeg_mp2_630x360_2496Kbps_29,97fps.avi':
  Metadata:
    encoder         : Lavf56.7.104
  Duration: 00:13:28.45, start: 0.000000, bitrate: 2637 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 640x360 [SAR 1:1 DAR 16:9], 2496 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 44100 Hz, stereo, s16p, 128 kb/s
[swscaler @ 0x7f28640648e0] deprecated pixel format used, make sure you did set range correctly
  10.23 A-V: -3.946 fd=   0 aq=  254KB vq=  258KB sq=    0B f=0/0

Change History (1)

Note: See TracTickets for help on using tickets.