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 788262 - vaapisink only shows the first frame of VP8/VP9 streams.
vaapisink only shows the first frame of VP8/VP9 streams.
Status: RESOLVED INVALID
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-28 01:14 UTC by Fei
Modified: 2018-05-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fei 2017-09-28 01:14:20 UTC
Only the first frame display on my screen for VP8/VP9 streams encoded by libyami.

cmdline: : gst-launch-1.0 filesrc location=720P_tractor_1280x720_5520frames.yuv_cqp_qp120_ip.vp8 ! ivfparse ! vaapivp8dec ! vaapisink

gst-launch-1.0 filesrc location=4K_tractor_3840x2160_1000frames.yuv_cbr_bt12000_ip.vp9 ! ivfparse ! vaapivp9dec ! vaapisink

streams can be found by link:
https://drive.google.com/open?id=0B-M3YNi0HORQd0xhMVQwaVVzZXc
Comment 1 Hyunjun Ko 2017-09-28 03:17:55 UTC
(In reply to Fei from comment #0)
> Only the first frame display on my screen for VP8/VP9 streams encoded by
> libyami.
> 
> cmdline: : gst-launch-1.0 filesrc
> location=720P_tractor_1280x720_5520frames.yuv_cqp_qp120_ip.vp8 ! ivfparse !
> vaapivp8dec ! vaapisink
> 
> gst-launch-1.0 filesrc
> location=4K_tractor_3840x2160_1000frames.yuv_cbr_bt12000_ip.vp9 ! ivfparse !
> vaapivp9dec ! vaapisink
> 
> streams can be found by link:
> https://drive.google.com/open?id=0B-M3YNi0HORQd0xhMVQwaVVzZXc

I found it drops all frames after the first frame because of invalid timestamp.
And it seems to be same on every player: gst-play, ffplay, vlc.

But mpv plays it, but not quite good and outputs tons of warnings about timestamp.

Could you confirm the media you shared?
Comment 2 Fei 2017-09-28 03:59:33 UTC
@guangxin, could you help to check why yamiencode gives VP8/VP9 encoded streams invalid timestamp?
Comment 3 XuGuangxin 2017-09-28 04:15:19 UTC
The output is ivf file. yami did not write timestamp to it. 
@Fei, you can file bug for yami
Comment 4 Fei 2017-09-28 05:43:49 UTC
@guangxin, bug filed: https://github.com/01org/libyami/issues/800
Comment 5 Víctor Manuel Jáquez Leal 2018-05-04 16:18:08 UTC
Closing this as invalid. If we can probe is a problem in gstreamer-vaapi please reopen.