[FFmpeg-trac] #606(undetermined:open): A/V desync for 60fps H264 in avi on playback (was: cook vc1 ac3/dca avidec's problem.)

FFmpeg trac at avcodec.org
Sun Nov 27 19:35:48 CET 2011


#606: A/V desync for 60fps H264 in avi on playback
-------------------------------------+-------------------------------------
             Reporter:  kyh96403     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  h264 avi     |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => h264 avi
 * status:  new => open
 * component:  avcodec => undetermined
 * reproduced:  0 => 1


Comment:

 The cook patch was applied, Michael and Mashiat fixed the vc1 regression,
 I was unable to reproduce a problem with the ac3 / dca samples.

 60fps.avi can be converted with ffmpeg, plays badly (increasing A/V
 desync, desync is correctly indicated on status line) with ffplay and
 mplayer -demuxer lavf - video plays too slow (works fine with mplayer
 -demuxer avi).
 {{{
 $ ffmpeg -i 60fps.avi
 ffmpeg version N-35239-ge99c4bb, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Nov 27 2011 19:28:12 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 38. 1 / 53. 38. 1
   libavformat  53. 22. 0 / 53. 22. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
 [h264 @ 0x8d9fd40] Current profile doesn't provide more RBSP data in PPS,
 skipping
 [avi @ 0x8d99aa0] Switching to NI mode, due to poor interleaving
 [avi @ 0x8d99aa0] max_analyze_duration 5000000 reached at 5016000

 Seems stream 0 codec frame rate differs from container frame rate: 119.88
 (59939/500) -> 59.94 (60000/1001)
 Input #0, avi, from '60fps.avi':
   Metadata:
     title           : Boa_Test.mpg
     encoder         : Lavf53.4.0
   Duration: 00:00:40.72, start: 0.000000, bitrate: 2219 kb/s
     Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 640x480
 [SAR 1:1 DAR 4:3], 59.94 fps, 59.94 tbr, 59.94 tbn, 119.88 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16,
 128 kb/s
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/606#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list