phulshof / RetroFE

RetroFE front-end
GNU General Public License v3.0
35 stars 33 forks source link

GStreamer 1.20 error when playing video #10

Open OlivierP-To8 opened 2 years ago

OlivierP-To8 commented 2 years ago

Hi,

I'm using RetroFE on Linux Mint 21 Xfce, with GStreamer 1.20.3-0ubuntu1. The video playback doesn't work, with the following error : GStreamer-Base-CRITICAL **: 12:03:39.144: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad vaapipostproc1:sink

I found an easy fix: in Source/Video/GStreamerVideo.cpp, replace playbin_ = gst_element_factorymake("playbin", "player"); with playbin = gst_element_factory_make("playbin3", "player");

Best regards,

Olivier.

phulshof commented 1 year ago

This has recently been fixed in a patch. Can you verify whether this issue is fixed on your end as well?

OlivierP-To8 commented 1 year ago

Thanks for the patch, it works for most video files but i get a crash with this video : https://www.screenscraper.fr/medias/3/1307/video.mp4 (md5 : 2504f2a80f9ff45add6925245716cc20)

phulshof commented 1 year ago

Thank you for testing. I will have a look at the issues with this file after my holidays. There are currently some themes that have issues with newer releases of gstreamer as well, so I plan on doing some more extensive testing on this topic anyway.