RetroFE icon indicating copy to clipboard operation
RetroFE copied to clipboard

GStreamer 1.20 error when playing video

Open OlivierP-To8 opened this issue 3 years ago • 3 comments

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_factory_make("playbin", "player"); with playbin_ = gst_element_factory_make("playbin3", "player");

Best regards,

Olivier.

OlivierP-To8 avatar Sep 28 '22 10:09 OlivierP-To8

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

phulshof avatar Apr 19 '23 09:04 phulshof

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)

OlivierP-To8 avatar Apr 20 '23 20:04 OlivierP-To8

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.

phulshof avatar Apr 21 '23 09:04 phulshof