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
kenarole  
#1 Posted : Tuesday, June 21, 2016 9:25:54 AM(UTC)
kenarole

Rank: Newbie

Groups: Registered
Joined: 6/21/2016(UTC)
Posts: 4
Location: Cameroon

Thanks: 2 times
Hi everybody, please i will like to knows if it's possible that vmix run automaticaly and continues to broadcast.
IceStream  
#2 Posted : Tuesday, June 21, 2016 10:10:52 AM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,637
Man
Location: Canada

Thanks: 33 times
Was thanked: 506 time(s) in 475 post(s)
@ kenarole

Can you elaborate on what you would like to "Automate"?
Because, YES, there is a certain amount of automation that can be accomplished with features like the "Playlist" or third party programs like the one discussed in this thread:

http://forums.vmix.com/d....aspx?g=posts&t=3678

Or even the vMixScheduler which although an unfinished beta, works quite well for simple playout abilities.


Ice
thanks 1 user thanked IceStream for this useful post.
kenarole on 6/21/2016(UTC)
kenarole  
#3 Posted : Tuesday, June 21, 2016 10:28:43 AM(UTC)
kenarole

Rank: Newbie

Groups: Registered
Joined: 6/21/2016(UTC)
Posts: 4
Location: Cameroon

Thanks: 2 times
Yah i know vmix scheduler but i want to launch automaticaly vmix at startup and also automaticaly begin to play at the preview position.
tesn  
#4 Posted : Tuesday, June 21, 2016 10:57:07 AM(UTC)
tesn

Rank: Advanced Member

Groups: Registered
Joined: 8/22/2013(UTC)
Posts: 92
Man
Location: Rochester, NY

Was thanked: 13 time(s) in 9 post(s)
You'd want to look into vb scripting.

Before that you'd want to put your shortcut to your vMix preset in the Startup folder. That way you know vMix will launch on startup.

Then you could put a .vbs file in the startup as well.

Code:
Call StartStreams("SheetB")

Function StartStreams(inSheet)

	'Force the script to finish on an error.
	On Error Resume Next

	'Declare variables
	Dim objRequest
	Dim URL

	'Create the url . . . your url may vary
	
	URL = "http://localhost:8088/api/?Function=StartStreaming&Input=Preview"
			
	Set objRequest = CreateObject("Microsoft.XMLHTTP")

	'Open the HTTP request and pass the URL to the objRequest object
	objRequest.open "GET", URL , false

	'Send the HTML Request
	objRequest.Send

	If objRequest.Status = "500" Then
		'vMix isn't open
		'Do something here . . . send an email, create an alert etc.  
			
	End If
		
End Function


You may need to play around with adding delays to make sure vMix has opened before this script runs. Actually, you could probably put the opening vMix preset in a vbs file . . . that way you would know that it's opened.

Anyway, look into that . . .

-Brian

thanks 1 user thanked tesn for this useful post.
kenarole on 6/21/2016(UTC)
kenarole  
#5 Posted : Tuesday, June 21, 2016 11:06:03 AM(UTC)
kenarole

Rank: Newbie

Groups: Registered
Joined: 6/21/2016(UTC)
Posts: 4
Location: Cameroon

Thanks: 2 times
I get this error
kenarole attached the following image(s):
Capture.PNG (21kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
wwdv  
#6 Posted : Tuesday, June 21, 2016 11:58:02 AM(UTC)
wwdv

Rank: Advanced Member

Groups: Registered
Joined: 10/30/2013(UTC)
Posts: 290
Location: The Netherlands

Thanks: 6 times
Was thanked: 21 time(s) in 15 post(s)
You can also make a 'startstreaming' shortcut and autopress the shortcut key with a script.
(see this topic)
But sometimes it just won't work, even with a big delay.

A 'start streaming' option in Settings/options would be very nice.
tesn  
#7 Posted : Tuesday, June 21, 2016 12:10:21 PM(UTC)
tesn

Rank: Advanced Member

Groups: Registered
Joined: 8/22/2013(UTC)
Posts: 92
Man
Location: Rochester, NY

Was thanked: 13 time(s) in 9 post(s)
I was talking about a standalone vbscript file:

https://en.wikipedia.org/wiki/VBScript

Not from within vMix. I'm actually not familiar with the vMix scripting.

-Brian
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.