Hi everyone,
I’m trying to stream a local video file via ffmpeg to the SIYI Uni GCS application and have hit a wall. I’ve successfully created a stable RTSP stream that plays perfectly in VLC Media Player on both the source computer and the GCS computer, but it will not display in the Uni GCS app itself.
I’m hoping someone might have experience with the specific video requirements for the GCS app’s internal player.
My Setup
Streaming Software:** ffmpeg (versions below)
* libavutil 56. 70.100
* libavcodec 58.134.100
* libavformat 58. 76.100
Receiving Application:** SIYI Uni GCS App
Streaming OS:** Linux
RTSP Server:** MediaMTX (rtsp-simple-server) running on the streaming PC.
Confirmed Working ffmpeg Command
This is the command I am running. It produces a stable H.264 stream that is viewable in VLC.
ffmpeg -re -stream_loop -1 -i /path/to/my/video.mp4 \
-vf "scale=854:480" -r 20 \
-c:v libx264 -profile:v baseline -pix_fmt yuv420p \
-preset ultrafast -tune zerolatency \
-b:v 500k -maxrate 500k -bufsize 1000k \
-g 40 -an \
-f rtsp -rtsp_transport tcp rtsp://127.0.0.1:8554/mystream
Diagnostics Performed
I can confirm the following:
- The
ffmpegcommand runs without errors and streams at full speed (speed=~1.0x). - The stream plays correctly in VLC on the streaming computer using the URL
rtsp://127.0.0.1:8554/mystream. - The stream also plays correctly in VLC on the GCS computer using the network URL
rtsp://<STREAMING_PC_IP>:8554/mystream.
This proves that the ffmpeg command is valid, the RTSP server is working, the network connection is good, and the firewall is not blocking the stream.
The Problem
When I enter the exact same network URL (rtsp://<STREAMING_PC_IP>:8554/mystream) into the Uni GCS app’s video stream settings, I get a black screen. The stream that VLC can play, the app cannot.
I have also tried:
- Changing the H.264 profile from
baselinetomain. - Using a stable H.265 (HEVC) stream.
- Checking the GCS app for any settings like “Hardware Acceleration” (could not find any).
My Questions
- Has anyone successfully streamed a custom
ffmpegRTSP feed to the Uni GCS app? - Are there any known specific codec requirements or
ffmpegparameters that the GCS app’s internal video player needs? - Is this a known limitation or bug in the app?
Any insight or suggestions would be hugely appreciated!
Thanks in advance.