[FFmpeg-user] ffmpeg & ffplay produce gray frames from h264 input

Chris Herdt cherdt at gmail.com
Sat Apr 28 06:33:09 CEST 2012


I have a series of raw h264 files that I have been attempting to
convert to mp4 using ffmpeg. Most work, but some produce solid gray
frames part way through (and then on to the end of the video).

I tried playing the videos using ffplay, and they also produce gray
frames in playback. The videos do play back on the recording device,
but it's a proprietary system so I don't know much about them beyond
that they are h264 files.

Here's the ffplay command & output:

ffplay -f h264 ../testch00000000000001-120217-121829-121829-10p001000000.264
ffplay version git-2012-04-27-28c5775 Copyright (c) 2003-2012 the
FFmpeg developers
  built on Apr 27 2012 20:33:05 with gcc 4.6.1
  configuration: --enable-gpl --enable-nonfree
  libavutil      51. 48.100 / 51. 48.100
  libavcodec     54. 16.100 / 54. 16.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.100 /  2. 72.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[h264 @ 0x9460340] sps_id (32) out of range
[h264 @ 0x9460340] pps_id out of range
[h264 @ 0x9460340] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 0x9460340] slice type too large (0) at 0 0
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] no frame!
[h264 @ 0x945f000] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0x945f000] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from
'../testch00000000000001-120217-121829-121829-10p001000000.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 704x480,
25 fps, 25 tbr, 1200k tbn, 50 tbc
[h264 @ 0x9460340] sps_id (32) out of range
    Last message repeated 3 times
[h264 @ 0x9460340] slice type too large (0) at 0 0
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] no frame!
[h264 @ 0x9460340] missing picture in access unit with size 110/0
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors0/0
[h264 @ 0x9460340] reference overflowB vq=   95KB sq=    0B f=0/0
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] FMO not supportedKB vq=  103KB sq=    0B f=0/0
    Last message repeated 1 times  0KB vq=  116KB sq=    0B f=0/0
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflowB vq=   74KB sq=    0B f=0/0
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
[h264 @ 0x9460340] reference overflow
[h264 @ 0x9460340] decode_slice_header error
[h264 @ 0x9460340] mmco: unref short failure
[h264 @ 0x9460340] number of reference frames (0+2) exceeds max (1;
probably corrupt input), discarding one
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors
    Last message repeated 3779 timesKB vq=   57KB sq=    0B f=0/0
[h264 @ 0x9460340] FMO not supported
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors0/0
    Last message repeated 4 times  0KB vq=  122KB sq=    0B f=0/0
[h264 @ 0x9460340] FMO not supported
[h264 @ 0x9460340] concealing 1320 DC, 1320 AC, 1320 MV errors



--
Chris Herdt
http://osric.com/chris/


More information about the ffmpeg-user mailing list