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 787261 - vaapi H.264 decode intra-refresh doesn't work
vaapi H.264 decode intra-refresh doesn't work
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-04 15:31 UTC by holger.weber
Modified: 2018-11-03 15:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description holger.weber 2017-09-04 15:31:56 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;
*/
.....
Comment 1 Víctor Manuel Jáquez Leal 2017-09-11 12:03:52 UTC
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.
Comment 2 sreerenj 2017-12-19 07:52:01 UTC
Can you try with 

.. ! vaapih264dec low-latency=true !...
Comment 3 sreerenj 2017-12-19 08:02:23 UTC
(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 :)
Comment 4 GStreamer system administrator 2018-11-03 15:51:29 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/gstreamer-vaapi/issues/69.