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 764366 - Fail to play video (VC1, H264, VP8, VP9) in wayland weston
Fail to play video (VC1, H264, VP8, VP9) in wayland weston
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: 2016-03-30 13:21 UTC by Lim Siew Hoon
Modified: 2016-04-01 10:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst_debug.log (16.12 KB, application/octet-stream)
2016-03-30 13:21 UTC, Lim Siew Hoon
Details
sample_vp8.webm (800.00 KB, application/octet-stream)
2016-03-30 13:40 UTC, Lim Siew Hoon
Details
sample_vc1.wmv (400.00 KB, application/octet-stream)
2016-03-30 13:43 UTC, Lim Siew Hoon
Details

Description Lim Siew Hoon 2016-03-30 13:21:26 UTC
Created attachment 325008 [details]
gst_debug.log

gstreamer-vaapi: git master
gstreamer: git master
gst-plugins-bad: git master
gst-plugins-base: git master
gst-plugins-good, gst-plugins-ugly, gst-libav : 1.8.0 version
wayland: 1.8.1
weston: 1.8.0

cmrt: (https://github.com/01org/cmrt)
commit id: f60b0a6996e5288d8aa605bd355c3922e5fb8a3e

intel-hybrid-driver: 
commit id: 0375a7287e556fedaf7628a85b143c1233a9ef84

Using the image environment contains wayland weston and X11, I'm confirm it working in X11 but not in wayland weston.

I'm also having the same issue ever with this simple command:
gst-launch-1.0 ! videotestsrc ! vaapisink display=wayland

But I'm able to play jpeg decode, but still got error message.
0:00:01.784185319   783       0x82c0a0 ERROR            vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1

0:00:01.950980792   783       0x82c0a0 ERROR            vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1

0:00:02.118604159   783       0x82c0a0 ERROR            vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1

0:00:02.284264903   783       0x82c0a0 ERROR            vaapidecode gstvaapidecode.c:608:gst_vaapidecode_handle_frame: decode error -1
Comment 1 Lim Siew Hoon 2016-03-30 13:40:22 UTC
Created attachment 325011 [details]
sample_vp8.webm
Comment 2 Lim Siew Hoon 2016-03-30 13:43:54 UTC
Created attachment 325012 [details]
sample_vc1.wmv
Comment 3 Víctor Manuel Jáquez Leal 2016-03-30 13:49:56 UTC
That's strange. I can play the vp8 sample in weston (1.10) using the hybrid driver.

Reading the log it seems that is something wrong in your weston/wayland setup: 

vaapi gstvaapiwindow_wayland.c:203:gst_vaapi_window_wayland_sync:ESC[00m Error on dispatching events: Broken pipe

How do you setup your weston environment?
Comment 4 Lim Siew Hoon 2016-04-01 10:01:48 UTC
The image I'm using for linux is pre-built image using Yocto build tool.
Currently my image can't detect the gstreamer-vaapi at ever I already installed. Something setup in the system not working correctly now. 

The image already have installed with X11 and wayland Weston with libva and libva-va driver.

I'm flashing the new image in another HDD, and install the cmrt -> hybrid driver -> upgrade gstreamer framework -> upgrade gstreamer-vaapi, I can play the video in wayland weston. 

It could be some step sequence didn't build correctly in my previous image side.

You can close the ticket first.