[FFmpeg-trac] #6408(undetermined:closed): Error while decoding stream #0:1

FFmpeg trac at avcodec.org
Wed May 24 09:55:06 EEST 2017


#6408: Error while decoding stream #0:1
-------------------------------------+-------------------------------------
             Reporter:  Gozde        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mov h264     |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mov h264
 * status:  new => closed
 * version:  unspecified => git-master
 * resolution:   => invalid


Comment:

 What created this sample file that is - afaict - mostly invalid? It
 contains a (byte-wise) large video stream that cannot be read. Please
 reopen this ticket if there is software that can decode the 640x480 video
 stream.

 The sample you provided contains two video streams, stream `0:1` (640x480)
 with unreadable content and stream `0:2` (640x360) with readable content,
 you have to use `-map 0:2` instead of `-map 0:1` in your command line to
 convert the working video stream.
 {{{
 $ ffmpeg -i 480915c352304881.mp4
 ffmpeg version N-86216-g017a68e Copyright (c) 2000-2017 the FFmpeg
 developers
   built with gcc 6.3.0 (GCC)
   configuration: --enable-gpl
   libavutil      55. 63.100 / 55. 63.100
   libavcodec     57. 96.101 / 57. 96.101
   libavformat    57. 72.101 / 57. 72.101
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 90.100 /  6. 90.100
   libswscale      4.  7.101 /  4.  7.101
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 [h264 @ 0x308f1e0] non-existing PPS 0 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 0 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 0 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 0 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 0 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] no frame!

 ...

 [h264 @ 0x308f1e0] non-existing PPS 1 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 1 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] non-existing PPS 1 referenced
 [h264 @ 0x308f1e0] decode_slice_header error
 [h264 @ 0x308f1e0] no frame!
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x308bbe0] decoding for stream 1 failed
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x308bbe0] Could not find codec parameters for
 stream 1 (Video: h264 (avc1 / 0x31637661), none, 640x480, 792 kb/s):
 unspecified pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '480915c352304881.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2017-05-23T11:51:53.000000Z
   Duration: 00:03:07.92, start: 0.000000, bitrate: 729 kb/s
     Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz,
 stereo, fltp, 38 kb/s (default)
     Metadata:
       creation_time   : 2017-05-23T11:51:52.000000Z
     Stream #0:1(eng): Video: h264 (avc1 / 0x31637661), none, 640x480, 792
 kb/s, 28.31 fps, 90k tbr, 90k tbn, 180k tbc (default)
     Metadata:
       creation_time   : 2017-05-23T11:51:53.000000Z
       handler_name    :  Media Handler
       encoder         : VC Coding
     Stream #0:2(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p,
 640x360, 187 kb/s, 6.97 fps, 7 tbr, 90k tbn, 180k tbc (default)
     Metadata:
       creation_time   : 2017-05-23T11:51:53.000000Z
       handler_name    :  Media Handler
       encoder         : VC Coding
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list