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
ceejay7777  
#1 Posted : Monday, December 9, 2013 6:03:10 AM(UTC)
ceejay7777

Rank: Advanced Member

Groups: Registered
Joined: 11/28/2013(UTC)
Posts: 34
Location: Adelaide

Thanks: 5 times
Was thanked: 6 time(s) in 6 post(s)
Martin

A bloke in Sydney has just done some work on adding the guts of an ATEM software switcher to the back-end of an old Grass Valley 110 (https://www.youtube.com/watch?v=s5BvDxLWtog).

Given that vMix can be controlled by keyboard shortcuts, is it a big stretch to go down the path of something similar? For my part, I have an old Sony SEG-2550 and it would be bloody marvelous to see it control vMix!
Henny  
#2 Posted : Monday, December 9, 2013 7:27:14 PM(UTC)
Henny

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 24 time(s) in 20 post(s)
playing with same idea , but with a datavideo rmc-90 - which is an rs232 remote for a datavideo mixer uesing a arduino to link to the Vmix API
Henny  
#3 Posted : Monday, December 30, 2013 8:26:59 PM(UTC)
Henny

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 24 time(s) in 20 post(s)
Had a play tonight with getting an arduino to control V-mix, a copy of the sketch can be found below, bit crewd for now but just a proof of concept. Buttons 1,2 & 3 select an input to the preview and the 4 button cut's it to program . Also added an LED to confirm that it has connected to vmix

cheers

Ian

Code:



#include <SPI.h>
#include <Ethernet.h>

// Enter a MAC address for your controller below.
byte mac[] = { 
  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress server(192,168,0,6);  // numeric IP for Google (no DNS)


// Set the static IP address to use if the DHCP fails to assign
IPAddress ip(192,168,0,177);

// pin button:
const int button2Pin = 2;     // the number of the pushbutton pin
const int button3Pin = 3;
const int button4Pin = 4;
const int button5Pin = 5;

// variables will change:
int button2State = 0;     
int button2StateOld = 0; // variable for reading the pushbutton status
int button3State = 0;     
int button3StateOld = 0; // variable for reading the pushbutton status
int button4State = 0;     
int button4StateOld = 0; // variable for reading the pushbutton status
int button5State = 0;     
int button5StateOld = 0; // variable for reading the pushbutton status
int led = 9;

// Initialize the Ethernet client library
// with the IP address and port of the server 
// that you want to connect to (port 80 is default for HTTP):
EthernetClient client;

void setup() {
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }

  // start the Ethernet connection:

  // initialize the pushbutton pin as an input:
  pinMode(button2Pin, INPUT); 
  pinMode(button3Pin, INPUT);  
  pinMode(button4Pin, INPUT); 
  pinMode(button5Pin, INPUT); 
   pinMode(led, OUTPUT);

  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    
    Ethernet.begin(mac, ip);
  }
  // give the Ethernet shield a second to initialize:
  delay(1000);
  Serial.println("connecting...");

  // if you get a connection, report back via serial:
  if (client.connect(server, 80)) {
    Serial.println("connected");
    digitalWrite(led, HIGH);

  } 
  else {
    // kf you didn't get a connection to the server:
    Serial.println("connection failed");
  }
}

void loop ()
{
  loop1 ();
  loop2 ();
  loop3 ();
  loop4 ();
}


void loop1 ()
{
  button2StateOld=button2State;
  button2State = digitalRead(button2Pin);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (button2State != button2StateOld)  {
    if (button2State == HIGH){

      Serial.println("Button1");
      client.connect(server, 80);

      client.println("POST /API/?Function=PreviewInput&Input=1");
      client.println();
      client.stop();
    } 
  } 
}

void loop2 ()
{  
  button3StateOld=button3State;
  button3State = digitalRead(button3Pin);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (button3State != button3StateOld)  {
    if (button3State == HIGH){
      Serial.println("Button2");
      client.connect(server, 80)
        ; 
      client.println("POST /API/?Function=PreviewInput&Input=2");
      client.println();
      client.stop();
    } 
  } 
}
void loop3 ()
{
  button4StateOld=button4State;
  button4State = digitalRead(button4Pin);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (button4State != button4StateOld)  {
    if (button4State == HIGH){

      Serial.println("Button3");
      client.connect(server, 80);

      client.println("POST /API/?Function=PreviewInput&Input=3");
      client.println();
      client.stop();
    } 
  } 
}

void loop4 ()
{  
  button5StateOld=button5State;
  button5State = digitalRead(button5Pin);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  if (button5State != button5StateOld)  {
    if (button5State == HIGH){
      Serial.println("Button4");
      client.connect(server, 80)
        ; 
      client.println("POST /API/?Function=cut");
      client.println();
      client.stop();
    } 
  } 
}



thanks 3 users thanked Henny for this useful post.
jet on 1/2/2014(UTC), smudge1977 on 11/30/2014(UTC), nuvi_cakep on 3/15/2016(UTC)
RVtv Video  
#4 Posted : Friday, October 24, 2014 9:52:10 AM(UTC)
RVtv Video

Rank: Member

Groups: Registered
Joined: 2/17/2012(UTC)
Posts: 20
Man
Location: Netherlands

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thanks Henny,

I am building my controller with your sketch and also made a fader control will post the pics soon.

Greetz Richie

UserPostedImage
thanks 1 user thanked RVtv Video for this useful post.
nuvi_cakep on 3/12/2016(UTC)
Bardos  
#5 Posted : Friday, October 24, 2014 11:52:26 AM(UTC)
Bardos

Rank: Advanced Member

Groups: Guests
Joined: 9/15/2013(UTC)
Posts: 168
Man
Location: Barbados

Thanks: 14 times
Was thanked: 14 time(s) in 13 post(s)
Guys, your ideas are great...I keep asking if there is anyone that can build a software only version, much like VJDirector, AVTake, or any that use such features......

I was working with a Livestream Studio setup over the weekend, and I really enjoyed the layout....If I am not using an audio mixer, why have it there taking up room on the desktop, same for other items....I like the way I can free up space with their tab system.. If I need to select a clip, I just click the 'Media' Tab, and all my clips show up...I need transitions, I do the same.....and so on....I wish that vMix programmers would think about creating a similar style, as it frees up the desktop, and will leave room for a switcher, which does not have to be too sophisticated, just simple like in VJDirector, or AVTake, where the selected bus and input glows Red or Green, depending on colour scheme chosen in vMix...yes, I have worked with VJDirector some years ago, but it has great limitations, but it worked great....It is also the only program I worked with that has the 'Program' Window on the left, and the 'Preview on the right.....kind of odd, but that is the designers' choice.

I also, out of curiosity, downloaded and tested Livestream Studio, and found the design rather attractive, and comfortable to work with......I am NOT condemning vMix, just that I like the GUI that some other programs have...They are more like the real thing, so just sitting in front of them, needs little to remember, as they are set up to mimick a hardware switcher....As I have said in other posts, all vMix needs now is a switcher....... just my thoughts......

Someone was building an hardware switcher for vMix, but I have not seen much more about it here...http://forums.vmix.com.au/default.aspx?g=posts&t=2568
Bardos attached the following image(s):
Control Panel.jpg (67kb) downloaded 20 time(s).

You cannot view/download attachments. Try to login or register.
thecloudmediagroup  
#6 Posted : Monday, November 17, 2014 12:03:42 AM(UTC)
thecloudmediagroup

Rank: Advanced Member

Groups: Registered
Joined: 2/27/2013(UTC)
Posts: 312
Man
United States

Thanks: 7 times
Was thanked: 78 time(s) in 43 post(s)
Bardos wrote:
Guys, your ideas are great...I keep asking if there is anyone that can build a software only version, much like VJDirector, AVTake, or any that use such features......

I was working with a Livestream Studio setup over the weekend, and I really enjoyed the layout....If I am not using an audio mixer, why have it there taking up room on the desktop, same for other items....I like the way I can free up space with their tab system.. If I need to select a clip, I just click the 'Media' Tab, and all my clips show up...I need transitions, I do the same.....and so on....I wish that vMix programmers would think about creating a similar style, as it frees up the desktop, and will leave room for a switcher, which does not have to be too sophisticated, just simple like in VJDirector, or AVTake, where the selected bus and input glows Red or Green, depending on colour scheme chosen in vMix...yes, I have worked with VJDirector some years ago, but it has great limitations, but it worked great....It is also the only program I worked with that has the 'Program' Window on the left, and the 'Preview on the right.....kind of odd, but that is the designers' choice.

I also, out of curiosity, downloaded and tested Livestream Studio, and found the design rather attractive, and comfortable to work with......I am NOT condemning vMix, just that I like the GUI that some other programs have...They are more like the real thing, so just sitting in front of them, needs little to remember, as they are set up to mimick a hardware switcher....As I have said in other posts, all vMix needs now is a switcher....... just my thoughts......

Someone was building an hardware switcher for vMix, but I have not seen much more about it here...http://forums.vmix.com.au/default.aspx?g=posts&t=2568


Correct! We are still in development of the hardware control surface for vMix! We are getting very close to releasing additional details and photos for the surface.
Users browsing this topic
Similar Topics
vMix and TriCaster hardware control panel (Hardware Compatibility)
by kip 10/9/2018 8:54:12 PM(UTC)
Custom SKAARHOJ Hardware Control Panels (3rd Party Software and Development)
by mashynewie2 3/24/2016 6:20:54 AM(UTC)
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.