GNOME Bugzilla – Bug 750055
avvideodec: outputs gray frames for non-keyframes when configured to operate in TRICKMODE_KEYUNIT
Last modified: 2018-11-03 12:57:16 UTC
Reproduce with: gst-play-1.0 ~/foo.mkv Make sure e.g. avdec_h264 is used. Press 't' three times until it says '(trick mode: key frames only)' What happens: The output is gray frames with occasionally a picture showing up (presumably where there's a keyframe). What should happen: Only decoded key frames should be output, no gray frames in between. This works fine if the demuxer is aware of the trick mode and only outputs keyframes in the first place of course (like qtdemux does). Note that the demuxer flags buffers correctly as key-frame/delta-unit here. It's just that libav appears to output gray frames for non-keyframes. I'm not sure if this is a bug in libav or if we're supposed to look at the pict_type and drop the frame in avviddec if needed (which we can easily do of course).
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/22.