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 778792 - H.264 decoder leads to stutters of video playback
H.264 decoder leads to stutters of video playback
Status: RESOLVED DUPLICATE of bug 776979
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-16 20:22 UTC by Faham Negini
Modified: 2017-02-21 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Faham Negini 2017-02-16 20:22:38 UTC
Using gstreamer pipeline:

gst-launch-1.0 filesrc location=./streams/62508/WGN_VU_2016-11-30_09.00.53.ts ! queue max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 ! tsdemux name=dmx dmx. ! h264parse ! vaapih264dec ! queue max-size-bytes=0 max-size-buffers=0 max-size-time=10000000000 ! vaapisink

A specific content which is provided as an attachment vaapi leads to the following errors and stutters in video playback. The provided capture is decoded flawlessly using other software decoders:

0:00:10.265108270 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 49
0:00:10.266004175 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 52
0:00:10.269309769 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 51
0:00:12.266921394 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 146
0:00:12.266967034 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 147
0:00:12.268109413 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 152
0:00:12.268239254 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 153
0:00:12.273130175 25883      0x16ec630 ERROR                  vaapi gstvaapidecoder_h264.c:2618:find_short_term_reference: found no short-term reference picture with PicNum = 75
Comment 1 Hyunjun Ko 2017-02-17 05:44:07 UTC
Thanks for reporting.

Probably you missed attachment. :)
I'll be wating for it.
Comment 2 Faham Negini 2017-02-17 18:20:23 UTC
sample capture can be found at this here: https://drive.google.com/file/d/0B-Q7dshLO6yoY0tRa1kyd0lUREU/view?usp=sharing
Comment 3 Hyunjun Ko 2017-02-18 07:49:30 UTC
I can't see the difference between sw codec and vaapi decoder "on the master".
I guess #bug 776979 already fixed your problem.

Could you try on the master again and confirm it's fixed?
Comment 4 Faham Negini 2017-02-21 18:07:33 UTC
yeah looks like that patch fixes the issue, I've been testing against 1.11.1 and didn't see that fix, ...thanks

*** This bug has been marked as a duplicate of bug 776979 ***