[FFmpeg-trac] #2667(avcodec:open): console spamming when decoding a h264 / mp4 stream

FFmpeg trac at avcodec.org
Fri Jun 14 20:20:06 CEST 2013


#2667: console spamming when decoding a h264 / mp4 stream
------------------------------------+-----------------------------------
             Reporter:  gjdfgh      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  minor       |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  h264 mov    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by cehoyos):

 {{{
 $ ffmpeg -i AndrewMcAfee_2013-480p.mp4 -qscale 2 -strict -2 out.mov
 ffmpeg version N-54028-ga75d2a6 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 14 2013 20:09:46 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 35.101 / 52. 35.101
   libavcodec     55. 16.100 / 55. 16.100
   libavformat    55.  8.102 / 55.  8.102
   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
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f9a940] stream 0, timescale not set
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2f9a940] max_analyze_duration 5000000 reached
 at 5000000 microseconds
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AndrewMcAfee_2013-480p.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     creation_time   : 2013-05-24 19:49:04
     media_type      : 0
     title           : TED: Andrew McAfee (2013)
     artist          : TED
     date            : 2013
     album           : TEDTalks
     comment         : To learn more about this speaker, find other
 TEDTalks, and subscribe to this Podcast series, visit www.TED.com
                     : Feedback: contact at ted.com
     genre           : Podcast
   Duration: 00:14:25.20, start: 0.000000, bitrate: 928 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
 854x480 [SAR 1280:1281 DAR 16:9], 851 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
     Metadata:
       creation_time   : 2013-03-14 19:16:08
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 73 kb/s
     Metadata:
       creation_time   : 2013-05-24 19:49:05
       handler_name    : GPAC ISO Audio Handler
     Stream #0:2: Video: png, pal8, 400x400, 90k tbr, 90k tbn, 90k tbc
 Please use -q:a or -q:v, -qscale is ambiguous
 [mpeg4 @ 0x2f9f0a0] Invalid pixel aspect ratio 1280/1281, limit is 255/255
 reducing
 Output #0, mov, to 'out.mov':
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     genre           : Podcast
     media_type      : 0
     title           : TED: Andrew McAfee (2013)
     artist          : TED
     date            : 2013
     album           : TEDTalks
     comment         : To learn more about this speaker, find other
 TEDTalks, and subscribe to this Podcast series, visit www.TED.com
                     : Feedback: contact at ted.com
     encoder         : Lavf55.8.102
     Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 854x480
 [SAR 1:1 DAR 427:240], q=2-31, 200 kb/s, SAR 1280:1281 DAR 16:9, 12288
 tbn, 24 tbc
     Metadata:
       creation_time   : 2013-03-14 19:16:08
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 128 kb/s
     Metadata:
       creation_time   : 2013-05-24 19:49:05
       handler_name    : GPAC ISO Audio Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg4)
   Stream #0:1 -> #0:1 (aac -> aac)
 Press [q] to stop, [?] for help
 frame= 2963 fps=538 q=2.0 size=   27519kB time=00:02:03.45
 bitrate=1826.0kbits/s
 [h264 @ 0x305dea0] AVC: nal size 0
 [h264 @ 0x305dea0] no frame!
 [h264 @ 0x305e740] AVC: nal size 0

 ...

 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x305d600] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x305d600] no frame!
 Error while decoding stream #0:0: Operation not permitted
     Last message repeated 7 times
 [h264 @ 0x305dea0] Missing reference picture, default is 65570
 [h264 @ 0x305e740] Missing reference picture, default is 65572
 [h264 @ 0x3059d20] Missing reference picture, default is 65574
 frame=20763 fps=575 q=2.0 Lsize=  228039kB time=00:14:25.19
 bitrate=2159.1kbits/s dup=14052 drop=0
 video:213974kB audio:13567kB subtitle:0 global headers:0kB muxing overhead
 0.218663%
 }}}
 {{{
 $ ffmpeg -i AndrewMcAfee_2013-480p.mp4 -qscale 2 out.avi
 ffmpeg version N-54028-ga75d2a6 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 14 2013 20:09:46 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 35.101 / 52. 35.101
   libavcodec     55. 16.100 / 55. 16.100
   libavformat    55.  8.102 / 55.  8.102
   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
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x25d7840] stream 0, timescale not set
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x25d7840] max_analyze_duration 5000000 reached
 at 5000000 microseconds
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AndrewMcAfee_2013-480p.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     creation_time   : 2013-05-24 19:49:04
     media_type      : 0
     title           : TED: Andrew McAfee (2013)
     artist          : TED
     date            : 2013
     album           : TEDTalks
     comment         : To learn more about this speaker, find other
 TEDTalks, and subscribe to this Podcast series, visit www.TED.com
                     : Feedback: contact at ted.com
     genre           : Podcast
   Duration: 00:14:25.20, start: 0.000000, bitrate: 928 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
 854x480 [SAR 1280:1281 DAR 16:9], 851 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
     Metadata:
       creation_time   : 2013-03-14 19:16:08
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 73 kb/s
     Metadata:
       creation_time   : 2013-05-24 19:49:05
       handler_name    : GPAC ISO Audio Handler
     Stream #0:2: Video: png, pal8, 400x400, 90k tbr, 90k tbn, 90k tbc
 Please use -q:a or -q:v, -qscale is ambiguous
 [mpeg4 @ 0x25dbfa0] Invalid pixel aspect ratio 1280/1281, limit is 255/255
 reducing
 Output #0, avi, to 'out.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     IGNR            : Podcast
     media_type      : 0
     INAM            : TED: Andrew McAfee (2013)
     IART            : TED
     ICRD            : 2013
     IPRD            : TEDTalks
     ICMT            : To learn more about this speaker, find other
 TEDTalks, and subscribe to this Podcast series, visit www.TED.com
                     : Feedback: contact at ted.com
     ISFT            : Lavf55.8.102
     Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 854x480
 [SAR 1:1 DAR 427:240], q=2-31, 200 kb/s, SAR 1280:1281 DAR 16:9, 24 tbn,
 24 tbc
     Metadata:
       creation_time   : 2013-03-14 19:16:08
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo,
 fltp, 192 kb/s
     Metadata:
       creation_time   : 2013-05-24 19:49:05
       handler_name    : GPAC ISO Audio Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg4)
   Stream #0:1 -> #0:1 (aac -> ac3)
 Press [q] to stop, [?] for help
 frame= 3113 fps=518 q=2.0 size=   30843kB time=00:02:09.74
 bitrate=1947.4kbits/s
 [h264 @ 0x26a32e0] AVC: nal size 0
 [h264 @ 0x26a32e0] no frame!
 [h264 @ 0x26a3b80] AVC: nal size 0
     Last message repeated 1 times

 ...

 [h264 @ 0x26a21a0] no frame!
 [h264 @ 0x26a2a40] AVC: nal size 0
 Error while decoding stream #0:0: Operation not permitted
     Last message repeated 1 times
 [h264 @ 0x26a2a40] no frame!
 Error while decoding stream #0:0: Operation not permitted
     Last message repeated 7 times
 [h264 @ 0x26a32e0] Missing reference picture, default is 65570
 [h264 @ 0x26a3b80] Missing reference picture, default is 65572
 [h264 @ 0x269f160] Missing reference picture, default is 65574
 frame= 3231 fps=359 q=2.0 size=   46617kB time=00:12:00.24 bitrate=
 530.2kbits/s
 frame= 6711 fps=434 q=2.0 Lsize=   89139kB time=00:14:25.21 bitrate=
 844.0kbits/s
 video:67780kB audio:20278kB subtitle:0 global headers:0kB muxing overhead
 1.228904%
 }}}

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


More information about the FFmpeg-trac mailing list