Opened 10 years ago

Closed 10 years ago

#3786 closed defect (needs_more_info)

missing picture in access unit with size 62

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

Description

Summary of the bug:

Transcoding produces a large number of opaque error messages like:

[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62

How to reproduce:

% ffmpeg -y -i example.flv -vcodec h264 -acodec libmp3lame example.mkv
ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 17 2014 19:40:15 with Apple LLVM version 6.0 (clang-600.0.38) (based on LLVM 3.5svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-librtmp --enable-libspeex
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[flv @ 0x7f9b72000000] negative cts, previous timestamps might be wrong
    Last message repeated 46 times
Input #0, flv, from 'example.flv':
  Duration: 04:25:45.40, start: 0.000000, bitrate: 6 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p(tv), 320x240 [SAR 1:1 DAR 4:3], 24.42 fps, 24 tbr, 1k tbn, 48 tbc
    Stream #0:1: Audio: speex, 16000 Hz, mono, s16
[libx264 @ 0x7f9b7302be00] using SAR=1/1
[libx264 @ 0x7f9b7302be00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7f9b7302be00] profile High, level 1.3
[libx264 @ 0x7f9b7302be00] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.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 me_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=24 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, matroska, to 'example.mkv':
  Metadata:
    encoder         : Lavf55.33.100
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 1k tbn, 24 tbc
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 16000 Hz, mono, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (libspeex -> libmp3lame)
Press [q] to stop, [?] for help
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:03.78 bitrate=  82.8kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:22.55 bitrate=  52.8kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:25.82 bitrate=  76.7kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:41.49 bitrate=  58.9kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:44.55 bitrate=  82.1kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:47.87 bitrate=  87.2kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:00:50.57 bitrate=  92.0kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:01:02.54 bitrate=  81.1kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:01:05.13 bitrate=  96.7kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:01:07.15 bitrate= 101.3kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:01:36.36 bitrate=  76.4kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:01:39.45 bitrate=  84.0kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:10.68 bitrate=  67.9kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:13.42 bitrate=  71.1kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:15.76 bitrate=  75.3kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:30.43 bitrate=  76.1kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:33.09 bitrate=  81.3kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:35.21 bitrate=  84.9kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:39.43 bitrate=  89.6kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:50.12 bitrate=  88.6kbits/s dup=0 drop=47    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:54.76 bitrate=  92.0kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:02:58.69 bitrate=  93.4kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:13.13 bitrate=  91.0kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:17.02 bitrate=  96.8kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:21.20 bitrate=  97.6kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:33.86 bitrate=  97.6kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:38.22 bitrate=  98.4kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:44.12 bitrate=  97.7kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:50.64 bitrate=  97.0kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:03:57.51 bitrate=  98.4kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[h264 @ 0x7f9b72001000] AVC: nal size 21823519e=00:04:00.50 bitrate= 102.1kbits/s dup=0 drop=48    
[h264 @ 0x7f9b72001000] missing picture in access unit with size 62
[flv @ 0x7f9b72000000] Stream discovered after head already parsed
[h264 @ 0x7f9b7281c000] concealing 300 DC, 300 AC, 300 MV errors in I frame
[flv @ 0x7f9b72000000] Audio codec (f) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0x7f9b72000000] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[flv @ 0x7f9b72000000] New audio stream 0:2 at pos:13118412 and DTS:15945.4s
frame= 2398 fps=138 q=-1.0 Lsize=    3211kB time=00:04:13.21 bitrate= 103.9kbits/s dup=0 drop=48    
video:2632kB audio:531kB subtitle:0 data:0 global headers:0kB muxing overhead 1.496827%
[libx264 @ 0x7f9b7302be00] frame I:16    Avg QP:20.86  size:  9475
[libx264 @ 0x7f9b7302be00] frame P:1046  Avg QP:22.89  size:  2076
[libx264 @ 0x7f9b7302be00] frame B:1336  Avg QP:24.28  size:   279
[libx264 @ 0x7f9b7302be00] consecutive B-frames: 18.2% 17.3% 15.4% 49.0%
[libx264 @ 0x7f9b7302be00] mb I  I16..4: 16.6% 43.3% 40.1%
[libx264 @ 0x7f9b7302be00] mb P  I16..4:  4.4%  4.9%  2.1%  P16..4: 48.3% 15.0%  9.6%  0.0%  0.0%    skip:15.7%
[libx264 @ 0x7f9b7302be00] mb B  I16..4:  0.4%  0.3%  0.1%  B16..8: 29.1%  2.2%  0.4%  direct: 1.3%  skip:66.2%  L0:41.0% L1:53.2% BI: 5.8%
[libx264 @ 0x7f9b7302be00] 8x8 transform intra:42.5% inter:61.5%
[libx264 @ 0x7f9b7302be00] coded y,uvDC,uvAC intra: 50.7% 79.9% 46.3% inter: 13.0% 28.5% 4.2%
[libx264 @ 0x7f9b7302be00] i16 v,h,dc,p: 32% 11% 19% 39%
[libx264 @ 0x7f9b7302be00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 13% 23%  5%  7%  8%  6%  7%  6%
[libx264 @ 0x7f9b7302be00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 16%  6%  9%  8%  7%  7%  5%
[libx264 @ 0x7f9b7302be00] i8c dc,h,v,p: 56% 16% 20%  8%
[libx264 @ 0x7f9b7302be00] Weighted P-Frames: Y:10.9% UV:7.1%
[libx264 @ 0x7f9b7302be00] ref P L0: 64.3% 14.1% 15.2%  6.3%  0.1%
[libx264 @ 0x7f9b7302be00] ref B L0: 85.1% 12.3%  2.5%
[libx264 @ 0x7f9b7302be00] ref B L1: 93.7%  6.3%
[libx264 @ 0x7f9b7302be00] kb/s:83.08

The file seems to transcode as well as expected. What are those errors? Can I fix or silence them somehow? (there are a tremendous number on large files which exhibit this behavior)

Change History (3)

comment:1 by Carl Eugen Hoyos, 10 years ago

Please test current FFmpeg git head.

Did you upload a sample?

comment:2 by ghazel, 10 years ago

Version: 2.2.4git-master

Still happens on 2.3. I cannot upload a sample.

comment:3 by Carl Eugen Hoyos, 10 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen this ticket if (it is reproducible with current FFmpeg git head and if) you can provide a sample input file.

Note: See TracTickets for help on using tickets.