After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750055 - avvideodec: outputs gray frames for non-keyframes when configured to operate in TRICKMODE_KEYUNIT
avvideodec: outputs gray frames for non-keyframes when configured to operate ...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-28 18:08 UTC by Tim-Philipp Müller
Modified: 2018-11-03 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2015-05-28 18:08:32 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).
Comment 1 GStreamer system administrator 2018-11-03 12:57:16 UTC
-- 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.