[FFmpeg-trac] #472(undetermined:new): Initial gray frames when first frame is no keyframe

FFmpeg trac at avcodec.org
Thu Sep 15 12:07:46 CEST 2011

#472: Initial gray frames when first frame is no keyframe
             Reporter:  DonMoir      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by DonMoir):

 I don't know what the best solution is but clearly you do not want garbage
 to be displayed. This is not specific to H264. Now you have me wondering
 if my approach will fail on some clean videos with no keyframe.

 I consider this to be a bug and not a feature request. If you want another
 sample where the video is fine but initially gray I will upload it. A bug
 in the video file ? Probably. But as I said it tends to happen more often
 then it should so at least need some descent work around and it seems the
 only way is what I have already. This seems to happen only with ffmpeg
 based apps. If for example I use some other means like DShow and installed
 codecs, the gray frames do not appear and I assume this problem is worked
 around in the various codecs.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/472#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list