Opened 4 years ago

Closed 4 years ago

#2738 closed defect (fixed)

Recovery point / I-frame missed on h264 stream

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

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46431
I will attach an elementary stream for which FFmpeg decodes five frames before the first I-frame

$ ffmpeg -vsync 0 -i h264fail.h264 -vframes 10 out%2d.png
ffmpeg version N-54342-gbf87908 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul  2 2013 01:54:34 with gcc 4.3 (SUSE Linux)
  configuration: --enable-gpl --enable-libopenjpeg --extra-ldflags=-lm
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.100 / 55. 18.100
  libavformat    55. 10.100 / 55. 10.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS referenced
[h264 @ 0x90a54a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x90a54a0] non-existing PPS 0 referenced
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] no frame!
[h264 @ 0x90a54a0] mmco: unref short failure
    Last message repeated 2 times
Input #0, h264, from 'h264fail.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 47.67 fps, 50 tbr, 1200k tbn, 100 tbc
Output #0, image2, to 'out%2d.png':
  Metadata:
    encoder         : Lavf55.10.100
    Stream #0:0: Video: png, rgb24, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> png)
Press [q] to stop, [?] for help
[h264 @ 0x90a54a0] Missing reference picture, default is 0
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] Missing reference picture, default is 0
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] reference picture missing during reorder
[h264 @ 0x90a54a0] Missing reference picture, default is 0
[h264 @ 0x90a54a0] decode_slice_header error
[h264 @ 0x90a54a0] mmco: unref short failure
    Last message repeated 1 times
frame=   10 fps=2.2 q=0.0 Lsize=N/A time=00:00:00.30 bitrate=N/A
video:10475kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000205%

Attachments (1)

h264fail.h264 (1.8 MB) - added by cehoyos 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by cehoyos

comment:1 Changed 4 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.