[FFmpeg-trac] #3406(avcodec:new): H.264 threaded decode error

FFmpeg trac at avcodec.org
Sat Feb 22 09:57:21 CET 2014


#3406: H.264 threaded decode error
------------------------------------+-----------------------------------
             Reporter:  Cigaes      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by Cigaes):

 It does indeed make a difference:
 {{{
 ./ffmpeg_g -threads 5 -i /tmp/sf.h264 -f framecrc -threads 7 -c png -
 ./ffmpeg_g -threads 5 -i /tmp/sf.h264 -f framecrc -threads 8 -c png -
 }}}
 give respectively:
 {{{
 ffmpeg version N-60813-g44b22bb Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Feb 22 2014 09:46:05 with gcc 4.8 (Debian 4.8.2-15)
   configuration: --enable-shared --disable-static --enable-gpl --enable-
 libx264 --enable-libopus --enable-libass --enable-libfreetype --enable-
 opengl --assert-level=2
   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, h264, from '/tmp/sf.h264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv444p, 320x240
 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 1200k tbn, 50 tbc
 #software: Lavf55.33.100
 #tb 0: 1/25
 Output #0, framecrc, to 'pipe:':
   Metadata:
     encoder         : Lavf55.33.100
     Stream #0:0: Video: png, rgb24, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200
 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> png)
 Press [q] to stop, [?] for help
 0,          0,          0,        1,    14600, 0x4d4b3314
 0,          1,          1,        1,    20624, 0x9d04c3da
 0,          2,          2,        1,    20373, 0x3224514e
 0,          3,          3,        1,    16474, 0x5a53824a
 0,          4,          4,        1,    20997, 0xe2ac63ec
 0,          5,          5,        1,    21466, 0x3a5edae1
 0,          6,          6,        1,    15290, 0x9fb36a83
 0,          7,          7,        1,    19601, 0x8af6664a
 0,          8,          8,        1,    20217, 0x96032e30
 0,          9,          9,        1,    16655, 0x6e0a0985
 0,         10,         10,        1,    18492, 0x12b572b4
 0,         11,         11,        1,    18118, 0x6b1994d6
 frame=   12 fps=0.0 q=0.0 Lsize=       1kB time=00:00:00.48 bitrate=
 12.2kbits/s
 video:218kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead
 -99.671165%
 }}}
 {{{
 ffmpeg version N-60813-g44b22bb Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Feb 22 2014 09:46:05 with gcc 4.8 (Debian 4.8.2-15)
   configuration: --enable-shared --disable-static --enable-gpl --enable-
 libx264 --enable-libopus --enable-libass --enable-libfreetype --enable-
 opengl --assert-level=2
   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, h264, from '/tmp/sf.h264':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv444p, 320x240
 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 1200k tbn, 50 tbc
 #software: Lavf55.33.100
 #tb 0: 1/25
 Output #0, framecrc, to 'pipe:':
   Metadata:
     encoder         : Lavf55.33.100
     Stream #0:0: Video: png, rgb24, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200
 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> png)
 Press [q] to stop, [?] for help
 Error while decoding stream #0:0: Invalid data found when processing input
 [h264 @ 0x2310680] reference picture missing during reorder
     Last message repeated 1 times
 [h264 @ 0x2310680] Missing reference picture, default is 65548
     Last message repeated 1 times
 [h264 @ 0x23554c0] reference picture missing during reorder
 [h264 @ 0x23554c0] Missing reference picture, default is 65556
 0,          0,          0,        1,    14600, 0x4d4b3314
 0,          1,          1,        1,    20624, 0x9d04c3da
 0,          3,          3,        1,    20373, 0x3224514e
 0,          4,          4,        1,    16474, 0x5a53824a
 0,          5,          5,        1,    21099, 0x61cb8a88
 0,          6,          6,        1,    21466, 0x7d3727ad
 0,          8,          8,        1,    15370, 0x4b0bcbbd
 0,          9,          9,        1,    19775, 0xed275f1c
 0,         10,         10,        1,    16851, 0x0725c06b
 0,         11,         11,        1,    16717, 0xd445fc7c
 frame=   10 fps=0.0 q=0.0 Lsize=       1kB time=00:00:00.48 bitrate=
 10.3kbits/s
 video:179kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead
 -99.663483%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3406#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list