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
Renato_SBC  
#1 Posted : Tuesday, December 12, 2017 4:29:36 PM(UTC)
Renato_SBC

Rank: Member

Groups: Registered
Joined: 11/30/2016(UTC)
Posts: 10
Location: São Bernardo do Campo/SP - Brazil

Thanks: 4 times
Hi !

I´m trying to use this .bat to start VMix and StartStream:

Code:

timeout -T 30 /nobreak
start "C:\Program Files (x86)\vMix\vMix64.exe" "C:\Users\SSERVER\Documents\start_vmix.vmix"
timeout -T 20 /nobreak
Powershell.exe -ExecutionPolicy Bypass -Command "Invoke-WebRequest http://127.0.0.1:8088/api/?Function=StartStreaming"
:loop
timeout -T 30 /nobreak
Powershell.exe -ExecutionPolicy Bypass -Command "Invoke-WebRequest http://127.0.0.1:8088/api/?Function=StartStreaming"
goto loop


- First it´s make a 30 sec. delay after Windows start. It´s sufficient time on my machine to load all drivers and services.
- Start VMix by loading a preset
- Make a 20 sec. delay to VMix start
- Start streaming by web API

and now...

This machine works without monitor. It´s only capture two images, make a imposition and send the final image to two stream servers.

Some time my network (switch, router and modem) take much time to start and stream not start because a network error (a error VMIx error window is showed) and subsequent StartStream API commands is ignored until someone use a RAdmin or TeamViewer and click on 'close' button.

Has a manner to auto-close or no-show the error window when Stream fails to initiate, or use StartStream API command even with this error window open?
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.