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
kgoodyer  
#1 Posted : Wednesday, May 31, 2017 7:50:12 PM(UTC)
kgoodyer

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2015(UTC)
Posts: 193
Man
United Kingdom
Location: Milton Keynes, UK

Thanks: 10 times
Was thanked: 53 time(s) in 27 post(s)
Hi

In the same way as we have the ability to start External & Full screen on VMIX startup, would it be possible to have auto start options for Stream and Record?

Thanks

Keith
thanks 1 user thanked kgoodyer for this useful post.
daniep01 on 7/23/2017(UTC)
daniep01  
#2 Posted : Sunday, July 23, 2017 10:14:07 AM(UTC)
daniep01

Rank: Newbie

Groups: Registered
Joined: 7/23/2017(UTC)
Posts: 2

Thanks: 2 times
I would also like this. I am running 24/7 livestream and need it to start in case the PC is restarted.
DWAM  
#3 Posted : Sunday, July 23, 2017 10:34:54 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
daniep01  
#4 Posted : Sunday, July 23, 2017 11:05:34 AM(UTC)
daniep01

Rank: Newbie

Groups: Registered
Joined: 7/23/2017(UTC)
Posts: 2

Thanks: 2 times
Yes, task scheduler would work for starting the vMix application but how would it start the livestream?
DWAM  
#5 Posted : Sunday, July 23, 2017 11:49:00 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Using another command to the API

Check here, I have already explained this :
https://forums.vmix.com/...ts&m=36790#post36790
thanks 1 user thanked DWAM for this useful post.
daniep01 on 7/23/2017(UTC)
JW  
#6 Posted : Tuesday, July 25, 2017 5:57:06 PM(UTC)
JW

Rank: Advanced Member

Groups: Registered
Joined: 6/25/2017(UTC)
Posts: 84

Thanks: 25 times
Was thanked: 8 time(s) in 7 post(s)
You have to wait for sending the stream command until is vMix is started and all the presets are loaded.


My solution is this:

batchfile in startmenu/startup:

ECHO Start vMix
start "" "D:\vMix Data\Preset.vmix
PING 127.0.0.1 -n 60 > NULL
ECHO Start Streaming
start "" "D:\vMix Data\start stream.vbs"
exit


stream.vbs:

On Error Resume Next

Dim o
Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "http://127.0.0.1:8088/api/?Function=StartStreaming", False
o.send


(this script sends the api without opening a browser)


Btw. I hope vMix will get a 'I am started' trigger which can be assigned to any desired task like streaming, recording, starting a welcome title etc.
thanks 2 users thanked JW for this useful post.
DWAM on 7/25/2017(UTC), G3racingMike on 1/22/2018(UTC)
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.