[FFmpeg-trac] #2968(avcodec:new): Possible regression for h264 decoding

FFmpeg trac at avcodec.org
Tue Sep 17 18:32:06 CEST 2013


#2968: Possible regression for h264 decoding
-------------------------------------+-------------------------------------
             Reporter:  werner       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  h264         |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by werner):

 Ok so -f should be -c:v... Switching it up does produce the desired
 results. Sorry for my limited understanding of the command line, I don't
 use it (normally utilizing the libraries underneath instead). I am playing
 around with the command line as I am just trying to understand what, if
 any, the limitations are to upgrading.

 So it seems that transcoding it works fine, but copy does not:
 {{{
 ffmpeg -flags2 showall -i astriah264_short.ts -an -c:v copy out.ts -y
 }}}
 Output:
 {{{
 ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
   built on Sep 17 2013 07:50:13 with gcc 4.1.2 (GCC) 20080704 (Red Hat
 4.1.2-54)
   configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect
 --enable-gpl --enable-version3 --enable-nonfree --enable-postproc
 --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau
 --disable-avisynth --enable-libdc1394 --enable-libfaac --enable-libgsm
 --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libx264
 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
 size=4 -m64 -mtune=generic -fPIC' --disable-stripping
   libavutil      52. 38.100 / 52. 38.100
   libavcodec     55. 18.102 / 55. 18.102
   libavformat    55. 12.100 / 55. 12.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 79.101 /  3. 79.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS referenced
 [h264 @ 0x17614f40] sps_id out of range
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] non-existing PPS 0 referenced
 [h264 @ 0x17614f40] decode_slice_header error
 [h264 @ 0x17614f40] no frame!
 [h264 @ 0x17614f40] Missing reference picture, default is 65530
     Last message repeated 5 times
 [mpegts @ 0x17610ec0] PES packet size mismatch
 Input #0, mpegts, from 'astriah264_short.ts':
   Duration: 00:00:42.31, start: 15024.363800, bitrate: 991 kb/s
   Program 1
     Stream #0:0[0x20]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p, 352x480 [SAR 20:11 DAR 4:3], 29.97 tbr, 90k tbn, 180k tbc
     Stream #0:1[0x21]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 63 kb/s
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf55.12.100
     Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 352x480
 [SAR 20:11 DAR 4:3], q=2-31, 90k tbn, 90k tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead nan%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 }}}
 Given your last response, I took the time to try and verify if there were
 any other issues with the command I was running or if there was any
 obvious flags I could apply, but nothing stuck out at me.

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


More information about the FFmpeg-trac mailing list