Auto Switching Question

Hello,

I noticed the auto switcher, but seems to only offer can I set up my own order and timing for four cameras? Ecamm has this feature and it then loops the set up order.

Or what would also work is to be able to set cameras to cycle with random times, but be able to choose the random time range for each camera. I need to make sure that the camera shots sync to music so that one particular camera stays on long enough through a particular part of the song.

For example, if I have three cameras set up and I want the 2nd camera to be live at about 30 seconds (and stay live for about for 10 seconds), I would set camera #1 to have a min/max timing of 25 to 35 seconds, then camera #2 would have min/max of 10-15 seconds. Then it would go to camera three and continue the cycle. If I wanted alignment during the second cycle, I would tighten up the min/max range and know exactly how long each camera will be live for each segment of the song.

Ideally, I would like to string together 10 or more camera switches automatically at specific times.

Thank you!

HI @U2GT Thanks for reaching out with this question. Here is a demo document that shows a possible solution to this using a Placer with variants and an Automation layer to cycle through those variants. Caveat: The sleep() command does not yet support random numbers.

BTW, if this is for a podcast, you might want to check out the “Visual Radio” layer, that allows you to use microphone inputs to switch video.

Ok, thank you! I’ll look at this tonight.

BTW on the other topic I posted on Facebook, I rebooted and I still got the red screens. But then I deleted the layer and started a new one and it worked. If it happens again, I’ll try to figure out what caused it.

I opened the file tried it. I assume I need to turn “live” on for both the layers (the automation and the placer). When I turn them on there is a countdown that starts and loops based on the macro, but the graphics are not switching. Is there something I need to set up first? Not sure if you wrote the macro custom for this or if it was automatically generated. How do I interpret and learn the macro language if I want to edit it. I’m happy to invest the time to learn the details under the hood.

Hi, sorry about the omission: You need to turn on Remote Control in the Settings. Sorry for the short answer. I’m not at my desk right now or I would have checked the exact names of things…

That worked, thank you!

I just read the automation section in the manual. The first command I don’t understand is this one:

httpRequest(http://127.0.0.1:8989/api/v1/documents/519098942/layers/BA868701-8131-49CB-8EDD-8C7E6E7CD60B/cycleThroughVariants)

You pasted this in each time after the sleep command. It has a command, “cyclethroughvariants” at the end. Can you explain this one to me?

It seems you are pointing to the placer and telling it to cycle through the variants. Ultimately, what I would like to do is have it cycle through all four in a certain order, but then cycle through them in a different order. For example, I would like it to go 1,2,3,4 (let’s say 2 seconds each) and then go 2,3,4,1 (say at 5 seconds each) but with different sleep times each time. Your command above tells it to cycle through all the variants in one order with different times, but I want to have it keep going but in a different order that I instruct it to do.

In other words, I would like to program each camera (along with it’s time) throughout a 2 to 3 minute period while I’m playing an instrument. Another way for me to explain it would be:

Cam 1 - 10 sec
Cam 2 - 5 sec
Cam 3 - 2 sec
Cam 4 - 5 sec
Cam2 - 10 sec
Cam1 - 20 sec
Cam3 - 2 sec
Cam 1 - 20 sec
Cam 4 - 5 sec
Cam 1 - 30 sec
End

Thank you! I greatly appreciate this. You will have a new long term customer (moving from Ecamm)!

BTW, I had to remove the links from the macro below because this forum wouldn’t allow me to put in more than one.

Your macro:

setVariable($placerLayer, “BA868701-8131-49CB-8EDD-8C7E6E7CD60B”)
layerOn($placerLayer)
sleep(5)
httpRequest(REMOVED LINK)
sleep(8)
httpRequest(REMOVED LINK)
sleep(5)
httpRequest(REMOVED LINK)
sleep(8)
layerOff($placerLayer)

Ah, I think I figured it out. I just add variants to the Placer and change the content for each variant. And then add the same script lines to match the number of variants with different delay times. This software is just fantastic!