Opened 6 years ago

Closed 6 years ago

#2968 closed defect (fixed)

Possible regression for h264 decoding

Reported by: werner Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: h264 regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: Using 0.8.x, I am able to produce a working file from the attached sample. Using 2.0.1, all I get is a static image.
How to reproduce:

% ffmpeg -f mpegts -i astriah264_short.ts -an out.ts -y
ffmpeg version 2.0.1
built on Sep 17 2013 07:50:13 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)

Output:

...
[h264 @ 0x569c0c0] sps_id out of range
[h264 @ 0x569c0c0] non-existing PPS referenced
[h264 @ 0x569c0c0] sps_id out of range
[h264 @ 0x569c0c0] non-existing PPS 0 referenced
[h264 @ 0x569c0c0] decode_slice_header error
[h264 @ 0x569c0c0] non-existing PPS 0 referenced
[h264 @ 0x569c0c0] decode_slice_header error
[h264 @ 0x569c0c0] non-existing PPS 0 referenced
[h264 @ 0x569c0c0] decode_slice_header error
[h264 @ 0x569c0c0] no frame!
[h264 @ 0x569c0c0] Missing reference picture, default is 65530
    Last message repeated 5 times
[mpegts @ 0x567de00] decoding for stream 0 failed
[mpegts @ 0x567de00] 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: mpeg2video, yuv420p, 352x480 [SAR 20:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Press [q] to stop, [?] for help
[h264 @ 0x5739a20] Missing reference picture, default is 0
[h264 @ 0x5739a20] decode_slice_header error
[h264 @ 0x5739a20] Missing reference picture, default is 0
[h264 @ 0x5739a20] decode_slice_header error
[h264 @ 0x5739a20] Missing reference picture, default is 0
[h264 @ 0x5739a20] decode_slice_header error
[h264 @ 0x577e400] Missing reference picture, default is 0
[h264 @ 0x577e400] decode_slice_header error
[h264 @ 0x577e400] Missing reference picture, default is 0
[h264 @ 0x577e400] decode_slice_header error
[h264 @ 0x577e400] Missing reference picture, default is 0
[h264 @ 0x577e400] decode_slice_header error
[h264 @ 0x57ec880] Missing reference picture, default is 0
[h264 @ 0x57ec880] decode_slice_header error
[h264 @ 0x57ec880] Missing reference picture, default is 0
[h264 @ 0x57ec880] decode_slice_header error
[h264 @ 0x585ad20] Missing reference picture, default is 65546
    Last message repeated 2 times
[h264 @ 0x58c91c0] Missing reference picture, default is 65546
    Last message repeated 2 times
error while decoding MB 6 11, bytestream (-37)=00:00:00.00 bitrate=N/A
[h264 @ 0x577e400] concealing 461 DC, 461 AC, 461 MV errors in I frame
frame= 1260 fps=551 q=15.9 Lsize=    1630kB time=00:00:42.00 bitrate= 318.0kbits/s dup=1259 drop=0
video:1359kB audio:0kB subtitle:0 global headers:0kB muxing overhead 19.998678%

But as I said, the file is unusable.

Attachments (1)

astriah264_short.ts (2.0 MB) - added by werner 6 years ago.

Download all attachments as: .zip

Change History (14)

Changed 6 years ago by werner

comment:1 Changed 6 years ago by cehoyos

To make this a valid ticket, please provide the complete, uncut console output.

And please test current git head.

comment:2 Changed 6 years ago by cehoyos

  • Keywords h264 added
  • Priority changed from normal to important
  • Version changed from 2.0.1 to git-master

comment:3 follow-up: Changed 6 years ago by werner

Sorry, I cut it cause it was much of the same. The video is a sample capture from a stream that we can't control, so it has a bunch of errors/is simply old.

Full 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 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS referenced
[h264 @ 0x1266e0c0] sps_id out of range
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] non-existing PPS 0 referenced
[h264 @ 0x1266e0c0] decode_slice_header error
[h264 @ 0x1266e0c0] no frame!
[h264 @ 0x1266e0c0] Missing reference picture, default is 65530
    Last message repeated 5 times
[mpegts @ 0x1264fe00] decoding for stream 0 failed
[mpegts @ 0x1264fe00] 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: mpeg2video, yuv420p, 352x480 [SAR 20:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg2video)
Press [q] to stop, [?] for help
[h264 @ 0x1270ba20] Missing reference picture, default is 0
[h264 @ 0x1270ba20] decode_slice_header error
[h264 @ 0x1270ba20] Missing reference picture, default is 0
[h264 @ 0x1270ba20] decode_slice_header error
[h264 @ 0x1270ba20] Missing reference picture, default is 0
[h264 @ 0x1270ba20] decode_slice_header error
[h264 @ 0x12750400] Missing reference picture, default is 0
[h264 @ 0x12750400] decode_slice_header error
[h264 @ 0x12750400] Missing reference picture, default is 0
[h264 @ 0x12750400] decode_slice_header error
[h264 @ 0x12750400] Missing reference picture, default is 0
[h264 @ 0x12750400] decode_slice_header error
[h264 @ 0x127be880] Missing reference picture, default is 0
[h264 @ 0x127be880] decode_slice_header error
[h264 @ 0x127be880] Missing reference picture, default is 0
[h264 @ 0x127be880] decode_slice_header error
[h264 @ 0x1282cd20] Missing reference picture, default is 65546
    Last message repeated 2 times
[h264 @ 0x1289b1c0] Missing reference picture, default is 65546
    Last message repeated 2 times
frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A    
frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A    
error while decoding MB 6 11, bytestream (-37)
[h264 @ 0x12750400] concealing 461 DC, 461 AC, 461 MV errors in I frame
frame= 1260 fps=540 q=15.9 Lsize=    1630kB time=00:00:42.00 bitrate= 318.0kbits/s dup=1259 drop=0    
video:1359kB audio:0kB subtitle:0 global headers:0kB muxing overhead 19.998678%

I will try out the git head, and as a side note this has been a problem since I think about 0.11.x. We tried upgrading back then, but couldn't because of this issue. I don't think anyone reported it back then.

comment:4 in reply to: ↑ 3 Changed 6 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords regression added

Replying to werner:

Sorry, I cut it cause it was much of the same.

But you did not just cut "the same" (this would of course have been ok and very welcome, I just don't suggest it because it seems more difficult than simply to provide the whole console outpu).

Workaround is to use -flags2 showall

I don't know if the stream is broken or if the decoder is at fault, the reference decoder does not like the sample though.

Version 0, edited 6 years ago by cehoyos (next)

comment:5 Changed 6 years ago by cehoyos

  • Summary changed from Possible regression for mpegts decoding to Possible regression for h264 decoding

comment:6 follow-up: Changed 6 years ago by werner

Thank you for the workaround. I noticed something else interesting though, if I pass in an output format for h264 instead of just passing through the data, it doesn't play; however, if I specify mp4 it does. Do you know why that would be since it uses the same encoder?

comment:7 in reply to: ↑ 6 Changed 6 years ago by cehoyos

Replying to werner:

Thank you for the workaround. I noticed something else interesting though, if I pass in an output format for h264 instead of just passing through the data, it doesn't play; however, if I specify mp4 it does.

Command line(s) and console output missing.
(Sorry, I honestly do not understand.)

comment:8 Changed 6 years ago by werner

Sorry, I should have included them.
Works:

ffmpeg -f mpegts -flags2 showall -i astriah264_short.ts -an out.ts -y

Works:

ffmpeg -f mpegts -flags2 showall -i astriah264_short.ts -an -f mp4 out.ts -y

Doesn't work:

ffmpeg -f mpegts -flags2 showall -i astriah264_short.ts -an -f h264 out.ts -y

Output for the third command:

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 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS referenced
[h264 @ 0x1d5d71e0] sps_id out of range
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] non-existing PPS 0 referenced
[h264 @ 0x1d5d71e0] decode_slice_header error
[h264 @ 0x1d5d71e0] no frame!
[h264 @ 0x1d5d71e0] Missing reference picture, default is 65530
    Last message repeated 5 times
[mpegts @ 0x1d5b8f00] 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
[libx264 @ 0x1d5d9260] using SAR=20/11
[libx264 @ 0x1d5d9260] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x1d5d9260] profile High, level 2.1
Output #0, h264, to 'out.ts':
  Metadata:
    encoder         : Lavf55.12.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 352x480 [SAR 20:11 DAR 4:3], q=-1--1, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
Press [q] to stop, [?] for help
[h264 @ 0x1e06d9e0] Missing reference picture, default is 0
[h264 @ 0x1e06d9e0] decode_slice_header error
[h264 @ 0x1e06d9e0] Missing reference picture, default is 0
[h264 @ 0x1e06d9e0] decode_slice_header error
[h264 @ 0x1e06d9e0] Missing reference picture, default is 0
[h264 @ 0x1e06d9e0] decode_slice_header error
[h264 @ 0x1e0b2520] Missing reference picture, default is 0
[h264 @ 0x1e0b2520] decode_slice_header error
[h264 @ 0x1e0b2520] Missing reference picture, default is 0
[h264 @ 0x1e0b2520] decode_slice_header error
[h264 @ 0x1e0b2520] Missing reference picture, default is 0
[h264 @ 0x1e0b2520] decode_slice_header error
[h264 @ 0x1e1209c0] Missing reference picture, default is 0
[h264 @ 0x1e1209c0] decode_slice_header error
[h264 @ 0x1e1209c0] Missing reference picture, default is 0
[h264 @ 0x1e1209c0] decode_slice_header error
[h264 @ 0x1e18ee60] Missing reference picture, default is 65546
    Last message repeated 2 times
[h264 @ 0x1e1fd300] Missing reference picture, default is 65546
    Last message repeated 2 times
frame=   82 fps=0.0 q=29.0 size=      74kB time=00:00:01.00 bitrate= 603.5kbits/s dup=4 drop=0    
frame=  138 fps=137 q=29.0 size=     157kB time=00:00:02.86 bitrate= 447.8kbits/s dup=4 drop=0    
frame=  200 fps=132 q=29.0 size=     254kB time=00:00:04.93 bitrate= 421.7kbits/s dup=4 drop=0    
frame=  259 fps=128 q=29.0 size=     343kB time=00:00:06.90 bitrate= 407.4kbits/s dup=4 drop=0    
frame=  323 fps=127 q=26.0 size=     438kB time=00:00:09.04 bitrate= 396.4kbits/s dup=4 drop=0    
frame=  390 fps=128 q=29.0 size=     558kB time=00:00:11.27 bitrate= 405.0kbits/s dup=4 drop=0    
frame=  448 fps=125 q=29.0 size=     648kB time=00:00:13.21 bitrate= 401.9kbits/s dup=4 drop=0    
frame=  513 fps=126 q=29.0 size=     750kB time=00:00:15.38 bitrate= 399.4kbits/s dup=4 drop=0    
frame=  569 fps=124 q=29.0 size=     849kB time=00:00:17.25 bitrate= 403.1kbits/s dup=4 drop=0    
frame=  631 fps=124 q=29.0 size=     972kB time=00:00:19.31 bitrate= 412.2kbits/s dup=4 drop=0    
frame=  693 fps=124 q=29.0 size=    1078kB time=00:00:21.38 bitrate= 412.8kbits/s dup=4 drop=0    
frame=  750 fps=122 q=29.0 size=    1183kB time=00:00:23.28 bitrate= 416.0kbits/s dup=4 drop=0    
frame=  807 fps=122 q=29.0 size=    1282kB time=00:00:25.19 bitrate= 416.8kbits/s dup=4 drop=0    
frame=  868 fps=121 q=29.0 size=    1421kB time=00:00:27.22 bitrate= 427.5kbits/s dup=4 drop=0    
frame=  926 fps=120 q=29.0 size=    1546kB time=00:00:29.16 bitrate= 434.3kbits/s dup=4 drop=0    
frame=  989 fps=120 q=29.0 size=    1664kB time=00:00:31.26 bitrate= 435.9kbits/s dup=4 drop=0    
frame= 1048 fps=120 q=29.0 size=    1770kB time=00:00:33.23 bitrate= 436.3kbits/s dup=4 drop=0    
frame= 1113 fps=120 q=29.0 size=    1903kB time=00:00:35.40 bitrate= 440.2kbits/s dup=4 drop=0    
frame= 1167 fps=119 q=29.0 size=    1990kB time=00:00:37.20 bitrate= 438.1kbits/s dup=4 drop=0    
frame= 1225 fps=119 q=29.0 size=    2089kB time=00:00:39.13 bitrate= 437.3kbits/s dup=4 drop=0    
error while decoding MB 6 11, bytestream (-37)
[h264 @ 0x1e0b2520] concealing 461 DC, 461 AC, 461 MV errors in I frame
frame= 1260 fps=115 q=-1.0 Lsize=    2216kB time=00:00:41.97 bitrate= 432.4kbits/s dup=6 drop=0    
video:2216kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
[libx264 @ 0x1d5d9260] frame I:7     Avg QP:19.40  size: 14803
[libx264 @ 0x1d5d9260] frame P:340   Avg QP:23.58  size:  4828
[libx264 @ 0x1d5d9260] frame B:913   Avg QP:28.36  size:   574
[libx264 @ 0x1d5d9260] consecutive B-frames:  0.9%  2.2% 16.0% 81.0%
[libx264 @ 0x1d5d9260] mb I  I16..4: 10.4% 60.5% 29.2%
[libx264 @ 0x1d5d9260] mb P  I16..4:  0.1%  0.9%  0.2%  P16..4: 51.1% 26.9% 13.8%  0.0%  0.0%    skip: 6.9%
[libx264 @ 0x1d5d9260] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 45.3%  0.9%  0.1%  direct: 1.9%  skip:51.7%  L0:38.4% L1:59.8% BI: 1.9%
[libx264 @ 0x1d5d9260] 8x8 transform intra:65.1% inter:62.8%
[libx264 @ 0x1d5d9260] coded y,uvDC,uvAC intra: 75.8% 74.0% 31.9% inter: 15.7% 30.5% 0.6%
[libx264 @ 0x1d5d9260] i16 v,h,dc,p: 37% 27% 27%  8%
[libx264 @ 0x1d5d9260] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 20% 21%  4%  5%  5%  8%  4% 11%
[libx264 @ 0x1d5d9260] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 29% 12%  5%  7%  8%  8%  4%  9%
[libx264 @ 0x1d5d9260] i8c dc,h,v,p: 42% 24% 25%  9%
[libx264 @ 0x1d5d9260] Weighted P-Frames: Y:7.6% UV:1.8%
[libx264 @ 0x1d5d9260] ref P L0: 58.9% 17.0% 19.5%  4.4%  0.2%
[libx264 @ 0x1d5d9260] ref B L0: 89.4%  9.8%  0.8%
[libx264 @ 0x1d5d9260] ref B L1: 90.5%  9.5%
[libx264 @ 0x1d5d9260] kb/s:431.70

comment:9 Changed 6 years ago by cehoyos

Please RTFM to find out what -f means...

comment:10 Changed 6 years ago by cehoyos

And please elaborate on "Doesn't work", it appears to 1260 frames are successfully encoded.

comment:11 follow-up: Changed 6 years ago 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.

comment:12 in reply to: ↑ 11 Changed 6 years ago by cehoyos

Replying to werner:

So it seems that transcoding it works fine, but copy does not:

But this is not a regression or do you disagree?

comment:13 Changed 6 years ago by michael

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.