[Bug 750055] New: avvideodec: outputs gray frames for non-keyframes when configured to operate in TRICKMODE_KEYUNIT

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 28 11:08:32 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750055

            Bug ID: 750055
           Summary: avvideodec: outputs gray frames for non-keyframes when
                    configured to operate in TRICKMODE_KEYUNIT
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-libav
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: t.i.m at zen.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list