Sending Play Command

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Stuengland

  • Posts: 2
  • Joined: Thu Oct 11, 2018 2:37 pm
  • Real Name: Stuart England

Sending Play Command

PostFri Oct 12, 2018 8:59 pm

Hi New here and also to programming.

I am trying to right a script/program that will monitor our ATEM and when an input is selected send a GO command to our media server via HTTP request or Network Message and then another when the input is deselected. Same thing as you can achive with an hyperdeck.

I am not asking anyone to do this for me (tho wouldnt turn down the offer) but just to point me in the right direction of where to start as I really have no idea. The computer that will be monitoring the atem signal will be windows based and will send the GO command either to itself via a loopback adapter or to another PC.

Thanks in advance

Stuart
Offline
User avatar

Jack Fairley

  • Posts: 1863
  • Joined: Mon Oct 03, 2016 7:58 pm
  • Location: Los Angeles

Re: Sending Play Command

PostFri Oct 12, 2018 10:52 pm

I would take a look at Ian Morrish's powershell library, or JustMacros.
Ryzen 5800X3D
32GB DDR4-3600
RTX 3090
DeckLink 4K Extreme 12G
Resolve Studio 17.4.1
Windows 11 Pro 21H2
Offline

Stuengland

  • Posts: 2
  • Joined: Thu Oct 11, 2018 2:37 pm
  • Real Name: Stuart England

Re: Sending Play Command

PostFri Oct 12, 2018 10:58 pm

Ok Thanks. I did try looking JustMacros after seeing it mentioned on another post but can’t find a webpage
Offline

Ian Morrish

  • Posts: 580
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: Sending Play Command

PostSun Oct 14, 2018 6:18 am

What is the "Go" command. HTTP Post, Rest?
I can give you an exe that can do this.
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline

Ian Morrish

  • Posts: 580
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: Sending Play Command

PostSun Oct 14, 2018 7:47 am

PowerShell script to do this
https://ianmorrish.wordpress.com/2018/1 ... -selected/

Requires the supporting DLL from https://1drv.ms/f/s!ApGpqMMpRLhikJVpf1M_JytL0tI7vQ (you need to unblock this after downloading)

If you have not set up PowerShell to run scripts, read this https://ianmorrish.wordpress.com/powershell/

Let me know if you want to try it and we can add the command to send the play and stop command (invoke-webrequest or invoke-restrequest)
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 25 guests