[FFmpeg-trac] #2667(avcodec:open): can't decode some mp4/h264 streams

FFmpeg trac at avcodec.org
Fri Jun 14 00:39:00 CEST 2013


#2667: can't decode some mp4/h264 streams
------------------------------------+-----------------------------------
             Reporter:  gjdfgh      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  h264        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by ubitux):

 * keywords:   => h264
 * status:  new => open
 * version:  unspecified => git-master
 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 {{{
 % ./ffmpeg -ss 130 -i /tmp/AndrewMcAfee_2013-480p.mp4 -f null -
 ffmpeg version N-54018-g5d00fd7 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun 14 2013 00:15:14 with gcc 4.8.1 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-fontconfig
 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-
 libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-
 x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-
 libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples
 --prefix=/tmp/ffinstall --disable-runtime-cpudetect --enable-libcelt
 --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883
 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus
 --enable-libpulse --enable-libspeex --enable-libquvi --assert-level=2
 --enable-libzmq --enable-libschroedinger --cpu=native
   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. 76.101 /  3. 76.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 @ 0x2804120] stream 0, timescale not set
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2804120] max_analyze_duration 5000000 reached
 at 5000000 microseconds
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/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
 Output #0, null, to 'pipe:':
   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: rawvideo (I420 / 0x30323449), yuv420p,
 854x480 [SAR 1280:1281 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 24 tbc
     Metadata:
       creation_time   : 2013-03-14 19:16:08
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 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 -> rawvideo)
   Stream #0:1 -> #0:1 (aac -> pcm_s16le)
 Press [q] to stop, [?] for help
 [null @ 0x2830320] Encoder did not produce proper pts, making some up.
 [h264 @ 0x2803800] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x2803800] no frame!
 [h264 @ 0x27ed920] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ed920] no frame!
 [h264 @ 0x27edea0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27edea0] no frame!
 [h264 @ 0x27ee820] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ee820] no frame!
 [h264 @ 0x27ef0c0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ef0c0] no frame!
 [h264 @ 0x27ef940] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ef940] no frame!
 [h264 @ 0x27f01c0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27f01c0] no frame!
 [h264 @ 0x27f0a40] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27f0a40] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x281a9e0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x281a9e0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x2803800] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x2803800] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ed920] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ed920] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27edea0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27edea0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ee820] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ee820] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ef0c0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ef0c0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ef940] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ef940] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27f01c0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27f01c0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27f0a40] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27f0a40] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x281a9e0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x281a9e0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x2803800] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x2803800] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ed920] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ed920] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27edea0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27edea0] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ee820] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ee820] no frame!
 Error while decoding stream #0:0: Operation not permitted
 [h264 @ 0x27ef0c0] AVC: nal size 0
     Last message repeated 1 times
 [h264 @ 0x27ef0c0] no frame!
 [...]
 }}}

 Same problem reproducible with 1.2, dunno if regression.

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


More information about the FFmpeg-trac mailing list