[FFmpeg-trac] #4325(avformat:new): Invalid but playable raw h264 stream is not auto-detected

FFmpeg trac at avcodec.org
Tue Feb 24 11:18:29 CET 2015


#4325: Invalid but playable raw h264 stream is not auto-detected
--------------------------------------+----------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avformat
                Version:  git-master  |               Keywords:  h264
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 Related to #4324
 I will attach a raw h264 stream (that cannot be decoded with the reference
 decoder) that can be decoded with FFmpeg, but auto-detection fails.
 {{{
 $ /ffmpeg -i h264probing
 ffmpeg version N-69945-g2280552 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      54. 18.100 / 54. 18.100
   libavcodec     56. 22.100 / 56. 22.100
   libavformat    56. 22.100 / 56. 22.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 11.100 /  5. 11.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [aac @ 0x2fe93a0] Format aac detected only with low score of 1,
 misdetection possible!

 [...]

 [aac @ 0x2fe93a0] decoding for stream 0 failed
 [aac @ 0x2fe93a0] Estimating duration from bitrate, this may be inaccurate
 [aac @ 0x2fe93a0] Could not find codec parameters for stream 0 (Audio: aac
 (Main), mono, fltp, 89 kb/s): unspecified sample rate
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 h264probing: could not find codec parameters
 Input #0, aac, from 'h264probing':
   Duration: 00:01:16.81, bitrate: 89 kb/s
     Stream #0:0: Audio: aac (Main), mono, fltp, 89 kb/s
 At least one output file must be specified
 }}}
 {{{
 $ ffmpeg -f h264 -i h264probing
 ffmpeg version N-69945-g2280552 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      54. 18.100 / 54. 18.100
   libavcodec     56. 22.100 / 56. 22.100
   libavformat    56. 22.100 / 56. 22.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 11.100 /  5. 11.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [h264 @ 0x2604e20] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x2604e20] decode_slice_header error
 [h264 @ 0x2604e20] no frame!
 [h264 @ 0x2604e20] non-existing PPS 0 referenced
     Last message repeated 1 times
 [h264 @ 0x2604e20] decode_slice_header error
 [h264 @ 0x2604e20] no frame!
 Input #0, h264, from 'h264probing':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: h264 (Main), yuv420p(tv), 640x360 [SAR 1:1 DAR
 16:9], 25 fps, 25 tbr, 1200k tbn, 50 tbc
 At least one output file must be specified
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4325>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list