GNOME Bugzilla – Bug 787261
vaapi H.264 decode intra-refresh doesn't work
Last modified: 2018-11-03 15:51:29 UTC
If vaapih264dec is used to decode a low-latency stream with intra-refresh all frames are dropped. Following quick hack works but may break all other things (gstvaapidecoder_h264.c). ..... priv->decoder_state |= sps_pi->state; if (!(priv->decoder_state & GST_H264_VIDEO_STATE_GOT_I_FRAME)) { /* removed don't wait for a valid I-Frame (intra refresh problem) if (priv->decoder_state & GST_H264_VIDEO_STATE_GOT_P_SLICE) goto drop_frame; */ .....
Thanks for reporting this. The email thread that sparked this issue is: https://lists.freedesktop.org/archives/gstreamer-devel/2017-September/065241.html Two things: 1\ Could you provide a patch with you fix. It doesn't matter if it is not "a proper fix", it just to ease our lives as maintainers :D 2\ And this is the important one: could you provide a sample file or test configuration with intra-refresh streams.
Can you try with .. ! vaapih264dec low-latency=true !...
(In reply to sreerenj from comment #2) > Can you try with > > .. ! vaapih264dec low-latency=true !... Ah, sorry. Victor already suggested it in the mail thread :)
-- 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/gstreamer-vaapi/issues/69.