logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
JohanSpijker  
#1 Posted : Monday, March 6, 2017 3:37:31 PM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Dear,
I have managed to have shortcuts on my keyboard to change the zoom of the virtual set (CloseUp, Mediumshot, full, custom)
But how can I control it from my external browser ?
Something like this ?:

http://127.0.0.1:8088/api/?Function=.........

In the documentation I found this:

SelectIndex: Virtual Set: Zooms to selected preset using the current speed settings, Value = Index

Is anybody knows how I can combine this in one command.
JohanSpijker attached the following image(s):
shortcut.PNG (17kb) downloaded 25 time(s).

You cannot view/download attachments. Try to login or register.
DWAM  
#2 Posted : Monday, March 6, 2017 4:17:39 PM(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)
Johan

I have part of it: the SelectIndex command but I don't know how to choose the transition effect (I'm not sure it's possible)

Code:
?Function=SelectIndex&Input=22&Value=1

With this command it will switch to selected preset using the current speed settings

Where value can be : 1, 2, 3 or 4 for CloseUp, Mediumshot, Full, Custom
thanks 1 user thanked DWAM for this useful post.
JohanSpijker on 3/6/2017(UTC)
JohanSpijker  
#3 Posted : Monday, March 6, 2017 5:02:19 PM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
It works, thank you
DWAM  
#4 Posted : Monday, March 6, 2017 5:03:45 PM(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)
I just checked for the transition. Your shortcut won't do a fade 1000 if another transition type is selected in the virtualset
JohanSpijker  
#5 Posted : Monday, March 13, 2017 7:14:06 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Is there no way to get a transitions between teh multiviews, the client dont like the "pan&tilt changing transition"
So when I use only cut, so I better can use: setMultiViewOverlay function, what would be then the command:?

?Function=setMultiViewOverlay&Input=22&Value=1
DWAM  
#6 Posted : Monday, March 13, 2017 7:34:37 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)
Hi Johan

I really don't understand the question.

Do you want to know if there is a way to use transition effects when using setMultiViewOverlay command? I don't think so, well I never could...

The correct command is:

?Function=setMultiViewOverlay&Input=22&Value=1,10

where:
22 is your multiview input number
1 is the overlay number
10 is the new input number to use as overlay 1 in multiview 22

Please explain better what your problem is if I did not answer your question

Guillaume
Mathijs  
#7 Posted : Monday, March 13, 2017 12:57:07 PM(UTC)
Mathijs

Rank: Advanced Member

Groups: Registered
Joined: 5/24/2015(UTC)
Posts: 370
Location: Netherlands

Thanks: 16 times
Was thanked: 81 time(s) in 72 post(s)
Instead of using the virtual set input, you can also build the virtual set in multiview, create virtual inputs from that input which you change to the desired shots.
Now you can switch between those with the transition you want, without losing the camera zoom functionality, as that will be the same when you use merge between those inputs.
JohanSpijker  
#8 Posted : Tuesday, March 14, 2017 3:23:49 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Here is a explanation what I want to do:
I want to create an input22 that fades between several inputs (2 cameras,output1, and a PIP combination between the output and a camera), and record this input 22
So I want to record not only output1 ! Output1 is live showed at the projector in the aula.

I want to control the input with a tablet with the API commands. (setrecordInput doesn't exist in the api)
DWAM  
#9 Posted : Tuesday, March 14, 2017 3:52:45 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)
Which vMix version do you have ?
JohanSpijker  
#10 Posted : Tuesday, March 14, 2017 3:54:10 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
4K latest version
DWAM  
#11 Posted : Tuesday, March 14, 2017 4:07:56 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)
Ok I understand better now. There are solutions but also there are problems...

Problems first:
- we cannot fade inputs using SetMultiviewOverlay. It's only CUT transition (I might be wrong on this but I never found a way)
- we cannot set a PiP overlay for an input which is not in PROGRAM.

Solutions:
- as you suggested, input 22 should be a dynamic multiview. This will allow you to switch inputs within input 22 but also to overlay other inputs just like a PiP
- with 4K version, you can use multicorder to record input 22

If I had to do this, I would use vMixUTC to build a User Interface to control Input 22 with SetMultiviewOverlay command. This is not the only option but I know it works.

Check this demo video I did lately where I show how to use vMixUTC for controlling a dynamic multiview.
https://forums.vmix.com/...ts&m=34980#post34980

My video is not exactly what you want (I don't use fullscreen inputs for example) but it's pretty close anyway.
JohanSpijker  
#12 Posted : Wednesday, March 15, 2017 5:04:20 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Dear Dwam,
I am sending my commands with a gui on a iPad.
And everything is working now, but I am still missing the fade effects between the multiview inputs.

@Mathijs
Can you explain a little bit more your idea, with the virtual inputs ?
DWAM  
#13 Posted : Wednesday, March 15, 2017 5:46:48 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)
Quote:
I am still missing the fade effects between the multiview inputs.


Johan

Glad to hear you could make it but as I told you before, I don't think it's possible to use transition effects with SetMultiviewOverlay inside a multiview. CUT is the only option (unless someone has a solution for this?)

Mathijs suggested to use Merge transition but it won't work for your recording of input 22. It's only possible for PROGRAM.

Guillaume

JohanSpijker  
#14 Posted : Wednesday, March 15, 2017 5:53:22 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
I found out merge works only on the program.

would it be possible with scripting ?
make a fade function: slowly adjust the alpha channel of the inputs.
something like below i remember from my "basic" past (25 years ago):

var x=0
for x= x+1
wait 10
SetAlpha input11,x
if x=100 then stop script
next x
DWAM  
#15 Posted : Wednesday, March 15, 2017 6:07:40 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)
I really don't know Johan. It's worth trying if you think it's absolutely necessary.
However if you try, use virtual inputs for this, otherwise you might interfere with the same input being used for PGM.

If I had to do this, I'd use 2 vMix so I have all features available for both recordings. I understood your client insists for fade effects everywhere, I would make him a quote for a double system. If it's too expensive for him, then he'll be pleased to have at least CUTS... ;o)
IceStream  
#16 Posted : Wednesday, March 15, 2017 3:33:58 PM(UTC)
IceStream

Rank: Advanced Member

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

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

Not sure I fully understand what you "need", but a possible "workaround" for applying a 'Fade' between "Virtual Set" Zoom positions is to create a 'Virtual Copy' of said Input and 'Transition' ('Fade' in this case) between the two Inputs to the Zoom position you desire.
As DWAM indicates, the "Virtual Set" currently only allows for 'Zoom' or 'Cut' transitions between views, whereas, the vMix "Transitions" will only function between two different Inputs, even if one is a 'Virtual Copy' of the other, hence a possible workaround.


Ice
DWAM  
#17 Posted : Wednesday, March 15, 2017 3:51:41 PM(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)
@Ice

working with virtualsets was the initial request of Johan but it moved to simply using a dynamic multiview.

However what you suggest here is also possible for duplicate multiviews although it requires a lot a prep and might be confusing when using shortcuts only with SetMultiviewOverlay command. You are very likely to confuse which multiview to use.

However as Johan wants to record individually the input 22 which is the concerned multiview, I guess the duplicate multiview option is a dead end for this production.
IceStream  
#18 Posted : Wednesday, March 15, 2017 5:01:09 PM(UTC)
IceStream

Rank: Advanced Member

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

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

Yes, that is why I am not clear on exactly what Johan wants or how or why "Input22" differs from "Output1" for recording purposes, or why it's being mentioned in "3rd Party Software and Development", I'm guessing he's looking for a possible solution with vMixUTC, but without more definitive parameters, it's only possible to offer generalized suggestions that may meet his requirements or at least open the door to an alternate approach that maybe he is not aware of.
In any event, the 'Virtual Set' feature is basically an extension of the 'MultiView' feature, so, as you say, either option may work in that capacity, but if "our" understanding is correct, it sounds like he needs a "versatile switcher within the switcher" (which is something I believe we have addressed before in another thread) and the only way to accomplish that currently with vMix, as you stated earlier, is with a second PC running vMix (or competent switcher) as well...


Ice
JohanSpijker  
#19 Posted : Thursday, March 16, 2017 3:57:30 AM(UTC)
JohanSpijker

Rank: Advanced Member

Groups: Registered
Joined: 11/13/2016(UTC)
Posts: 42
Location: Brugge

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
You are all correct understanding what I want to do.
The people in the aula don't want to see thereselves.
And i want to record a view from the aula (2 cameras) and the program (fade between these 3)

If there is a solution, i hope I cant make it with scripting (that is controlled with my ipad)

can somebody help me making a script in this direction


[img][/img]
JohanSpijker attached the following image(s):
script.PNG (18kb) downloaded 8 time(s).

You cannot view/download attachments. Try to login or register.
DWAM  
#20 Posted : Thursday, March 16, 2017 5:49:07 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)
Hi Johan

I'm really not sure you can do this, even by scripting.

To me, SetAlpha might be pretty close to a fade effect except such a script will only be effective for the new input when normally a fade should combine the appearrance of new input and the disappearance of the old one. However, it's pretty close.

For your script I think you should use VB.net
http://www.vmix.com/help19/VBNetScripting.html

But you can also try using any other language that would run inside a webpage for example

The error message says that x is not correctly declared/defined. I think it should be an "integer", not simply "var". This code doesn't look like VB to me.
Users browsing this topic
Guest (3)
2 Pages12>
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.