[FFmpeg-trac] #2400(undetermined:open): A/V desync for separate video and aac in mp4 input files

FFmpeg trac at avcodec.org
Sun Jun 23 15:46:04 CEST 2013


#2400: A/V desync for separate video and aac in mp4 input files
-------------------------------------+-------------------------------------
             Reporter:  chinshou     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mov aac      |               Resolution:
  regression desync                  |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by feelart):

 FYI: Still buggy with latest build


 {{{

 C:\Users\Angel\Downloads>ffmpeg -i aaa.mp4 -i bbb.mp4 test.mp4
 ffmpeg version N-54143-gb6ce50a Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 22 2013 15:32:43 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --
 enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-
 libbluray --enable-libcaca --enable-libfreetype --enab
 le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --e
 nable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsoxr --enable-libspeex --enable-lib
 theora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libx264
  --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 37.101 / 52. 37.101
   libavcodec     55. 16.100 / 55. 16.100
   libavformat    55.  9.100 / 55.  9.100
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 77.101 /  3. 77.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aaa.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf54.59.102
   Duration: 00:00:08.71, start: 0.000000, bitrate: 245 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 1366x768, 241 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59
 .94 tbc
     Metadata:
       handler_name    : VideoHandler
 Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf54.59.102
   Duration: 00:00:00.13, start: 0.023220, bitrate: 9029 kb/s
     Stream #1:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 8940 kb/s
     Metadata:
       handler_name    : SoundHandler
 [libx264 @ 00000000003bf2c0] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 00000000003bf2c0] profile High, level 3.2
 [libx264 @ 00000000003bf2c0] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4
 AVC codec - Copyleft 2003-2013 - http://www.videola
 n.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113
 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
 e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=
 1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0
  direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=
 1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, mp4, to 'test.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf55.9.100
     Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
 yuv420p, 1366x768, q=-1--1, 30k tbn, 29.97 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040),
 44100 Hz, stereo, s16, 128 kb/s
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> libx264)
   Stream #1:0 -> #0:1 (aac -> libvo_aacenc)
 Press [q] to stop, [?] for help
 frame=  261 fps= 59 q=-1.0 Lsize=     390kB time=00:00:08.64 bitrate=
 369.9kbits/s
 video:251kB audio:133kB subtitle:0 global headers:0kB muxing overhead
 1.517858%
 [libx264 @ 00000000003bf2c0] frame I:2     Avg QP:20.77  size: 84312
 [libx264 @ 00000000003bf2c0] frame P:68    Avg QP:24.08  size:  1098
 [libx264 @ 00000000003bf2c0] frame B:191   Avg QP:33.13  size:    69
 [libx264 @ 00000000003bf2c0] consecutive B-frames:  1.9%  1.5%  0.0% 96.6%
 [libx264 @ 00000000003bf2c0] mb I  I16..4: 65.1%  4.7% 30.2%
 [libx264 @ 00000000003bf2c0] mb P  I16..4:  0.8%  0.0%  0.3%  P16..4:
 0.6%  0.1%  0.0%  0.0%  0.0%    skip:98.1%
 [libx264 @ 00000000003bf2c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:
 0.7%  0.0%  0.0%  direct: 0.0%  skip:99.2%  L0:47.9%
 L1:52.0% BI: 0.1%
 [libx264 @ 00000000003bf2c0] 8x8 transform intra:3.7% inter:46.7%
 [libx264 @ 00000000003bf2c0] coded y,uvDC,uvAC intra: 20.2% 19.0% 16.6%
 inter: 0.1% 0.1% 0.0%
 [libx264 @ 00000000003bf2c0] i16 v,h,dc,p: 63% 37%  0%  0%
 [libx264 @ 00000000003bf2c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 74% 13% 11%
 0%  0%  0%  0%  0%  1%
 [libx264 @ 00000000003bf2c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 39% 12%
 2%  2%  2%  3%  2%  3%
 [libx264 @ 00000000003bf2c0] i8c dc,h,v,p: 67% 23%  9%  0%
 [libx264 @ 00000000003bf2c0] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 00000000003bf2c0] ref P L0: 78.3% 12.8%  6.6%  2.4%
 [libx264 @ 00000000003bf2c0] ref B L0: 60.1% 39.0%  0.8%
 [libx264 @ 00000000003bf2c0] ref B L1: 95.5%  4.5%
 [libx264 @ 00000000003bf2c0] kb/s:235.65

 C:\Users\Angel\Downloads>
 }}}

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


More information about the FFmpeg-trac mailing list