The post relates to GStreamer, an open source video streaming plugin. I’m posting here because gstreamer forums are kinda dead. I hope the Unreal community will be able to find a solution.
I’m currently working on UE 5.2 and I’m trying to stream a part of the display through gstreamer for a python script to read. The reading part is being done by my teammate, I just need to get gstreamer running.
I developed the application in UE 5.2 on Windows and cross-compiled and packaged for Linux. I packaged for Windows too and gstreamer works flawlessly in the Windows build. No issues whatsoever.
However, the Linux build of the application launches and works, but it seems gstreamer is not opening the port 127.0.0.1:5000 for the test application to detect.
I checked using netstat and it seems the port is not opening on Linux but does open successfully on Windows.
I am not very adept on Linux so it could be a Linux-specific issue. I tested gstreamer with the test video stream by command:
Update: The issue seems to be with Gstreamer plugin not packaging correctly for Linux I think. I packaged a development build and it generated a log for me. There are some major errors regarding GStreamer.
Hi! You’ll need a native installation of g-streamer for linux. The plugin tries to reference the local gstreamer installation. Try this gstreamer plugin I found on the internet. It has build files for both Windows and Linux and should work on Linux. This is for 5.4 btw GStreamer_5_4.rar (24.4 MB)
The option works, but it is not quite suitable for me. I need sound support and also video rewinding.
In general, I need the functionality of the Media Player.
I found a solution with FFmpeg, but there are problems with the sound, it works very quickly. Otherwise, there are no problems. I will send a link to Git, maybe someone will help fix the sound.
Hi there, is that .rar file you provided from a repo somewhere? I added the plugin to my UE 5.4 project and compiled it successfully (On Windows). I set up a GstPipeline and GstAppSrc component to try and stream camera data out of my project, but my “Start Pipeline” keeps returning False. I was hoping to get some help on it. Thank you!
Hi! No, the uploaded the .rar myself from my project. Only problem is, its been so long, I forgot what to do. Sorry about that. Though just a rough check up:
Did you install gstreamer locally on your PC?
I think it needs to be installed in its default location to be detected.
Look into the plugin files to check how the plugin is looking for the local installation.