Rank: Member
Groups: Registered
Joined: 3/21/2022(UTC) Posts: 29 Thanks: 1 times Was thanked: 7 time(s) in 7 post(s)
|
Originally Posted by: gre2gor Subject: Seeking Help with Stable Native RTSP HEVC Inputs in vMix for Multiple Offsite CamerasHello vMix Community, I'm currently managing a setup with 9 offsite cameras located in mountainous areas. These cameras support the HEVC codec and transmit their feeds via potentially unstable internet connections. Here's a breakdown of my current setup and the challenges I'm facing: Current Setup:Camera Inputs:9 Cameras using HEVC. Transmission Methods:SRT: Cameras send streams to my SRT media server. RTSP: Initially tried directly, but faced issues with vMix compatibility. Media Server: Serves multiple output protocols including WebRTC, SRT, RTSP, RTMP, etc. vMix pulls streams from this local SRT server.
vMix Configuration: Inputs: 9 camera feeds. Graphics: A stacked GT title with multiple layers. Mixes: Mix1 and Mix2 layered on top. Automation: A Python script rotates camera inputs randomly (24/74) via vMix’s web HTTP API.
Issues Encountered:1. Using SRT Streams:Performance Degradation: vMix becomes unresponsive over time. Memory Usage: Increases from ~2.5GB to ~7GB within a day. Behavior: Inputs resume automatically when the signal is live, but the overall system stability is compromised.
2. Using RTSP Streams:Direct RTSP in vMix: Not functioning as expected. VLC Input Method: Works by selecting VLC as the input source and then using the RTSP URL. Connection Stability:When the connection drops, vMix does not automatically resume the RTSP input. Requires manual resetting of the input to restore the stream. Desire: A native RTSP input in vMix that supports HEVC and can automatically reconnect when the connection is unstable. Summary of the Problem:SRT Method: Causes vMix to become unstable and consume excessive memory over time. RTSP via VLC: Lacks automatic reconnection capabilities, requiring manual intervention when connections drop.
What I'm Looking For:Optimal Solution: Implementing native RTSP with HEVC support directly in vMix that can handle unstable connections by automatically resuming streams without manual resets. Performance Stability: Ensuring that using RTSP does not degrade vMix performance or lead to high memory usage over extended periods.
Additional Notes:[indent]I've tested different SRT servers, but the issue with vMix remains consistent, suggesting the problem might not be server-specific. The system runs smoothly with RTSP or VLC RTSP inputs, except for the reconnection issue. Any Advice or Solutions?I'm open to suggestions on configuring vMix for better handling of RTSP streams, alternative streaming methods, or any best practices to manage multiple HEVC camera inputs reliably. Your insights would be greatly appreciated! Thank you! --- Tags: vMix, HEVC, RTSP, SRT, Streaming Stability, Multiple Cameras, Automation, Python Script Hi gre2gor, what is the time frame around this? Running 24/7 or just for a few hours? What is the pattern of the network instability from the cameras? What kind of network goes to the cameras? What do you want to achive in general? Apart from that, I would recommend using SRT with high enough latency (800 ms min, on mobile unstable networks go to 2000 ms). If you feed the SRT stream directly into vMix or if you use a SRT gateway server inbetween does not matter, since in any case vMix gets SRT feeds. I can not confirm a memory leak on vMix for SRT, I would rather suspect HEVC being the problem. If you can, do a long term crosscheck with SRT and H.264. However, if you run vMix 24/7, a lot of interesting things might happen. :-) I was running SRT/H.264 from a Atem Mini Pro to vMix for 5 days conference on a LAN without issues. You might have a chance with converting SRT to NDI, MPEG-TS or RTSP using Multistreamer or some media server (Datahrei Restreamer) and find out, if vMix works better. Changing HEVC to H.264 might help too. VLC does not reconnect because it uses ffmpeg. ffmpeg needs to be restarted, once a connection drops. Datarhei restreamer "wraps around" this, but you get some offline time between connection retries. Good luck, Christian
|