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 765998 - Garbled video output on Ubuntu 16.04
Garbled video output on Ubuntu 16.04
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.8.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-04 18:01 UTC by Timm Bäder
Modified: 2017-03-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timm Bäder 2016-05-04 18:01:28 UTC
The code in question here is using a gtksink to play an mp4 file. The downstream bug report can be found at https://github.com/baedert/corebird/issues/540.

The linked bug report on github contains a gif showing the output, as well as a log file from using it with GST_DEBUG=6.

I have tried to reproduce this issue in a virtual machine but the video wouldn't play at all (which I assume is a driver problem due to running it in a VM...). However, the reporter can also reproduce this independent from the application by running

gst-play-1.0 --videosink=gtksink file.mp4
Comment 1 Nicolas Dufresne (ndufresne) 2016-05-04 18:30:30 UTC
I extracted the file form the link on the other report, please copy that link next time.

https://mtc.cdn.vine.co/r/videos/DD044D51F21337976150236053504_5212060533e.15.0.13324819453611101519.mp4?versionId=viRJHVnTvt56q4sPvkEc6DDnbdquIiB8

Unfortunatly I cannot reproduce this issue neither on 1.6 or 1.8. I can see from your log:

https://docs.google.com/a/jc00ke.com/uc?id=0B6qwdumTHyNtT2x5aFlNWVhhZ0k&export=download

That you are using VAAPI accelerated decoder. As this seems the delta with me, I would suspect a problem on this side. Can you remove the VAAPI GStreamer element and test again the same video ? It is unlikely a problem with the display sink here. gtksink is purely a software renderer that uses Cairo to render, it does support strides and run fine on VMs.
Comment 2 Timm Bäder 2016-05-04 18:46:17 UTC
I uninstalled gstreamer1.0-vaapi and the playback worked with gst-launch indeed, as well as in the actual application.
Comment 3 Nicolas Dufresne (ndufresne) 2016-05-05 01:22:16 UTC
Thanks, I have updated the component accordingly. A lot of work has been done in gst-vaapi since it was made an officially repository. It is possible that a fix already exist. You may try to build the latest yourself, otherwise someone will likely try and reproduce soon.
Comment 4 Tim-Philipp Müller 2016-05-08 16:48:35 UTC
Setting NEEDINFO for someone to reproduce with more recent gstreamer-vaapi version (1.x).
Comment 5 Víctor Manuel Jáquez Leal 2017-03-14 16:49:11 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!