logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
mrsfalcon  
#1 Posted : Wednesday, February 12, 2025 2:03:22 AM(UTC)
mrsfalcon

Rank: Member

Groups: Registered
Joined: 6/20/2020(UTC)
Posts: 11
United States

Hi all! I have a camera input coming into vMix that periodically drops rtsp. I can reset it by right-clicking and selecting 'reset'.

I set up a cron to reset it every 15 minutes. But I'd like to check it and reset it based on whether or not it is providing an image, not just reset it every time. I tried running a script to parse an xml file, but my inputs appear to be the same whether or not that camera is streaming. This camera doesn't have audio, so that's not an issue. Input looks like this:
<inputs>
<input key="TheKey" number="1" type="Stream" title="Camera1" shortTitle="Camera1" state="Running" position="0" duration="0" loop="False" muted="True" volume="100" balance="0" solo="False" audiobusses="" meterF1="0" meterF2="0" gainDb="0">Camera1</input>
</inputs>

Is there anything I can use via the vMix API to programmatically determine whether or not my rtsp input isn't carrying an image/is black? Any setting I can add and use? Thanks in advance.
Henny  
#2 Posted : Wednesday, February 12, 2025 6:19:19 AM(UTC)
Henny

Rank: Advanced Member

Groups: Registered
Joined: 5/14/2013(UTC)
Posts: 142
Man
Location: uk

Thanks: 2 times
Was thanked: 24 time(s) in 20 post(s)
you dont need to use the audio from the camera can you send some audio even just tone with the video signal and use an OnAudioMeter trigger to trigger your reset script
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.