logo

Live Production Software Forums


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

Notification

Icon
Error

7 Pages«<567
Options
Go to last post Go to first unread
NDI_SRT  
#121 Posted : Tuesday, July 6, 2021 8:59:59 PM(UTC)
NDI_SRT

Rank: Newbie

Groups: Registered
Joined: 6/29/2021(UTC)
Posts: 3
Indonesia
Location: Manado

Thanks: 1 times
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: NDI_SRT Go to Quoted Post

Thanks for this script. I will use it for playing list of several items in AutoNext mode.


Why would you need this script if you are playing the list in auto next ?

I want to trigger something before the list ends

Quote:
I want the trigger to occur once at the last item with their total duration and not before every item ends.


Again , the mentioned script is not applicable then (some of it's ideas might)

I will keep looking for this till it's solved

Quote:
What should be the syntax like?


So you want someone to solve your specific request by writing code for you ? With all due respect I suggest hiring a programmer!

Tell the programmer the code needs to check for the last item being played, check when its at the end of its play and then perform the trigger.

There are often several different ways to skin a cat. This thread provides little tidbits and ideas to start from and learn.


Thank you for your suggestion, i love this thread because it is for Dummy and i love learning.
doggy  
#122 Posted : Tuesday, July 6, 2021 9:33:40 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
You are contradicting yourself

Quote:
I want the trigger to occur once at the last item with their total duration

<>
Quote:
I want to trigger something before the list ends


Anyway , check if last item of list is playing or get the total time of the list items then check its time and calculate
gefiltafish  
#123 Posted : Tuesday, August 24, 2021 4:23:03 AM(UTC)
gefiltafish

Rank: Member

Groups: Registered
Joined: 12/5/2017(UTC)
Posts: 19
Location: Zagreb

Thanks: 5 times
Heya guys, I would need some help

I have a layer in .gtzip that is hidden, and would like for it to become visible after a certain cell in my Google Sheet becomes "yes" (e.g. or some other word/number).

I'm trying to find out how can vMix read a cell from Google Sheet?
doggy  
#124 Posted : Tuesday, August 24, 2021 5:58:05 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: gefiltafish Go to Quoted Post
Heya guys, I would need some help

I have a layer in .gtzip that is hidden, and would like for it to become visible after a certain cell in my Google Sheet becomes "yes" (e.g. or some other word/number).

I'm trying to find out how can vMix read a cell from Google Sheet?


Use your google sheet as a data source and connext the"yes" cell tot a textbox in your title . hide that if needed.

Let the script read that textbox and act upon its value with approprate functions.

Chech out previous comments inthis post to see how to retrieve the text from a title textbox
thanks 1 user thanked doggy for this useful post.
gefiltafish on 9/14/2021(UTC)
chasseb  
#125 Posted : Thursday, September 2, 2021 6:50:46 AM(UTC)
chasseb

Rank: Newbie

Groups: Registered
Joined: 4/9/2020(UTC)
Posts: 6
Canada
Location: montréal

Thanks: 3 times
I'm trying to create a script that would close all audio sources except mic 1 for example. I know how to shut off all audio sources. is to create the exception of which I am incapable.

anyone have an idea
doggy  
#126 Posted : Thursday, September 2, 2021 11:31:19 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: chasseb Go to Quoted Post
I'm trying to create a script that would close all audio sources except mic 1 for example. I know how to shut off all audio sources. is to create the exception of which I am incapable.

anyone have an idea


Do you mean close the inputs (remove) or just silence them ?
What do you have so far ?

For an exception create an if then else loop while checking the name of the input
doggy  
#127 Posted : Friday, September 3, 2021 2:18:49 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: Harness Go to Quoted Post
Hello,

Is there any way to find the duration of a video in a playlist using a script?

Cheers


From the one that is currently playing yes (API XML) else no

PS: havent checked if it matches the position and duration of a clip set within the playlist
doggy  
#128 Posted : Saturday, September 4, 2021 3:14:59 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
From another post regarding AUDIO

https://forums.vmix.com/...ntally-via-API#post95893


IncreaseGain.JPG (39kb) downloaded 0 time(s).
gefiltafish  
#129 Posted : Tuesday, September 14, 2021 5:39:50 AM(UTC)
gefiltafish

Rank: Member

Groups: Registered
Joined: 12/5/2017(UTC)
Posts: 19
Location: Zagreb

Thanks: 5 times
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: gefiltafish Go to Quoted Post
Heya guys, I would need some help

I have a layer in .gtzip that is hidden, and would like for it to become visible after a certain cell in my Google Sheet becomes "yes" (e.g. or some other word/number).

I'm trying to find out how can vMix read a cell from Google Sheet?


Use your google sheet as a data source and connext the"yes" cell tot a textbox in your title . hide that if needed.

Let the script read that textbox and act upon its value with approprate functions.

Chech out previous comments inthis post to see how to retrieve the text from a title textbox




Had to login to say thank you! You made me use my head and find a solution instead of just giving one to me! :) it was hard, but I found what I needed to do, but not in a way how I wanted to do it (I've sent a number from GSheet to Data Source, linked it to a random .gtzip and then the script reads the number and does what I need).

Thank you once again!
minhdowndown  
#130 Posted : Wednesday, September 22, 2021 12:38:36 AM(UTC)
minhdowndown

Rank: Newbie

Groups: Registered
Joined: 9/2/2021(UTC)
Posts: 6
Viet Nam
Location: VN

hello, is it possible to make a script to auto choose the last item of the list when cut/fade to the list, regardless of whether other items is added or not? Like this topic: https://forums.vmix.com/.../t8562-LastItem-for-List
Thanks.
doggy  
#131 Posted : Wednesday, September 22, 2021 4:07:38 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,355
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: minhdowndown Go to Quoted Post
hello, is it possible to make a script to auto choose the last item of the list when cut/fade to the list


Directly No (there is no select function for a list) , indirectly Yes

Quote:
, regardless of whether other items is added or not?
even if there is only one it will be the last one also ;-)
What is the criteria of a last item ? time/date , manually added , added based on some production process, why a list to play only one ?


script: check the XML API for the list input content, check for the file in last place , loaded into vMix and transition to it to play

Users browsing this topic
7 Pages«<567
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.