-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello Everyone,
First of all, thanks a lot for this project.
I see you marked the Linux version of this project as untested and since I am currently trying to get it to run I thought I could share my progress so far.
I am on Ubuntu 22.04 and am running Unreal Engine 5.1.
I downloaded the project normally and Put it into the Plugins Folder. In order to Run the Scripts thou, a few things needed to be done:
-
The scripts (Vlc4LinuxCloneMakeInstall and Vlc4LinuxMakeInstall) seem to be saved in a windows format, all the line endings have CR, which resulted in bash not being able to read the file properly. This problem was solved by just using a Text editor that was capable of displaying CR (nvim) and simply removing them.
-
It is IMPERIAL to use bash. I am so used to running .sh scripts with sh, that I did just that and did not give it a second though. However this resulted in the script failing in line 12, since += is not supported by sh, which meant the installDir was set to the project dir, and then deleting the entire project in line 13. (no hard feelings thou, it was just a test project)
-
The installation needs liblua5.2-dev and libxcb-randr0-dev. Installing these manually is no problem, however since the script installs some stuff anyways i thought it would be really convenient to add the two packages to the script.
After all that, the plugin was detected by Unreal. I was able to create a new StreamMediaSource, and selected VlcMedia as a player. However upon creating a player and picking the media source, I got some errors at which I am currently stuck at.
Unreal Engine says:
LogVlcMedia: Error: satip: Failed to play RTSP session
LogVlcMedia: Error: satip: read error: Operation now in progress
LogVlcMedia: Error: satip: Failed to teardown RTSP session
LogVlcMedia: Error: main: Your input can't be opened
LogVlcMedia: Error: main: VLC is unable to open the MRL 'rtsp://192.168.0.84:8554/stream/'. Check the log for details.
Running some debugging showed that the stack-trace looks something like this:
InputSourceNew -> stream_AccessNew -> access_New -> module_need -> module_load -> init -> satip_open
Which then returns the error message "Failed to create worker thread".
The RTSP server itself recognizes a new connection, however, it gives an error message stating : [conn] closed (path has changed).
However I do not think this is the problem, because I can access the stream from every single device (with in my local network) using VLC with the aformentioned address.
Sadly this already is everything i was able to find out. The error messages are so vague, that I have no idea where to start looking to fix this.
Do you have any idea?
Have a great day.
Benny