GNOME Bugzilla – Bug 765998
Garbled video output on Ubuntu 16.04
Last modified: 2017-03-14 16:49:11 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
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.
I uninstalled gstreamer1.0-vaapi and the playback worked with gst-launch indeed, as well as in the actual application.
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.
Setting NEEDINFO for someone to reproduce with more recent gstreamer-vaapi version (1.x).
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!