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
tkachuk.alex  
#1 Posted : Friday, December 27, 2024 5:37:43 AM(UTC)
tkachuk.alex

Rank: Advanced Member

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 53
Man
Ukraine
Location: Ukraine

Thanks: 13 times
Was thanked: 5 time(s) in 3 post(s)
Hello everyone! I'm currently using vmix for live streaming. Most of the time I show the all-Ukrainian marathon (vlc stream), but at 7:00 PM I turn on my local news and information programs. A "List" is formed for this. Everything would be fine, but when there is an air raid in our region, I turn on a short video "Alert", and after then the broadcast continues in PiP with a frame around it, with information that the air raid is ongoing. Only after the end of the "List", if the alarm has not ended, the list will not switch to the marathon. Therefore, I created a "Countdown.gtzip" in which I enter the time until the end of the list, and it starts automatically when PiP switches to Output. I often do this at night, through anydesk, and it's extremely inconvenient to enter the time. Can anyone help write a script that would read the time until the end of the list and insert it into the countdown?
2024-12-27 011645.png (247kb) downloaded 2 time(s).
doggy  
#2 Posted : Friday, December 27, 2024 8:59:25 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: tkachuk.alex Go to Quoted Post
Hello everyone! I'm currently using vmix for live streaming. Most of the time I show the all-Ukrainian marathon (vlc stream), but at 7:00 PM I turn on my local news and information programs. A "List" is formed for this. Everything would be fine, but when there is an air raid in our region, I turn on a short video "Alert", and after then the broadcast continues in PiP with a frame around it, with information that the air raid is ongoing. Only after the end of the "List", if the alarm has not ended, the list will not switch to the marathon. Therefore, I created a "Countdown.gtzip" in which I enter the time until the end of the list, and it starts automatically when PiP switches to Output. I often do this at night, through anydesk, and it's extremely inconvenient to enter the time. Can anyone help write a script that would read the time until the end of the list and insert it into the countdown?


If the items within the list are locally sourced the process would be to get the duration of each one (reference to these files are within the API XML) and add them together to get the total duration to put into the coundown
nikosman88  
#3 Posted : Saturday, December 28, 2024 12:54:22 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: tkachuk.alex Go to Quoted Post
Hello everyone! I'm currently using vmix for live streaming. Most of the time I show the all-Ukrainian marathon (vlc stream), but at 7:00 PM I turn on my local news and information programs. A "List" is formed for this. Everything would be fine, but when there is an air raid in our region, I turn on a short video "Alert", and after then the broadcast continues in PiP with a frame around it, with information that the air raid is ongoing. Only after the end of the "List", if the alarm has not ended, the list will not switch to the marathon. Therefore, I created a "Countdown.gtzip" in which I enter the time until the end of the list, and it starts automatically when PiP switches to Output. I often do this at night, through anydesk, and it's extremely inconvenient to enter the time. Can anyone help write a script that would read the time until the end of the list and insert it into the countdown?


If the items within the list are locally sourced the process would be to get the duration of each one (reference to these files are within the API XML) and add them together to get the total duration to put into the coundown

the only problem with this method is that if the list is already running is difficult to select the items and calculate them. or if we add-remove an item from the list,we need to do the process again.As I see in the OP screenshot the list is already running so there is way to count the total remaining time from that point? I was think of a way to do this,but as I'm not script master I tried via AI but i stucked in a point and cannot overcome this.
That`s why I asked for a feature request if total list not able to be implemented in a way that is in Vmix team high standards, at least make production clocks in the API exposed,so we will use the value from there.
doggy  
#4 Posted : Saturday, December 28, 2024 8:30:58 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: nikosman88 Go to Quoted Post

the only problem with this method is that if the list is already running is difficult to select the items and calculate them.


The OP was asking for a countdown , this means it should be started the moment a list starts to play. not figure out when it is already playing. You are mentioning a problem that is really not there , but only create a more complicated situation

Quote:
As I see in the OP screenshot the list is already running so there is way to count the total remaining time from that point?


IMO the screenshot is merely to point out what OP is refering to nothing more , nothing less

Quote:
I was think of a way to do this,but as I'm not script master I tried via AI but i stucked in a point and cannot overcome this.


SO what was your logic you failed to make clear to AI ? Apperently AI is not as I LOL and luckely can't read minds yet just like us

Quote:

at least make production clocks in the API exposed,so we will use the value from there.


Yeah and until then ???

I did make a vMix script (to test) to get the total time to put in a countdown as per OP's question of all items in a list. Get the total time of all the list elements
a total time can be found if all sources of the list are located in the same folder ( see folderlist post , but sadly i lost the source code) . I i tried an not external approach using the data in the API XML.
In order to get this total time one has to select each individual item from the API , reads it duration, and select the next and so on. One is limited in the functions available ( guess AI doesnt know that either ) being select next and previous . Hence the script has to go to the top of the list , read and go to the next , when all done go back to the first , put the total duration into a countdown and start the playout and the countdown.
Now these commands take some time each individually so its not that instant but it does work if its not timefraction critical.

The quicker processing time of course was using external calls as the API XML give you the list of items in that list so one could go directly from there to get the duration of each individual item and toal them.

Of course as per usual its very important to know exactly what you want to achieve as there are so many criteria applicable per situation ( per individual listitem, total of list etc...

https://forums.vmix.com/...g-for-Dummies#post116908
thanks 1 user thanked doggy for this useful post.
tkachuk.alex on 12/28/2024(UTC)
nikosman88  
#5 Posted : Saturday, December 28, 2024 10:06:15 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post

the only problem with this method is that if the list is already running is difficult to select the items and calculate them.


The OP was asking for a countdown , this means it should be started the moment a list starts to play. not figure out when it is already playing. You are mentioning a problem that is really not there , but only create a more complicated situation

Quote:
As I see in the OP screenshot the list is already running so there is way to count the total remaining time from that point?


IMO the screenshot is merely to point out what OP is refering to nothing more , nothing less

Quote:
I was think of a way to do this,but as I'm not script master I tried via AI but i stucked in a point and cannot overcome this.


SO what was your logic you failed to make clear to AI ? Apperently AI is not as I LOL and luckely can't read minds yet just like us

Quote:

at least make production clocks in the API exposed,so we will use the value from there.


Yeah and until then ???

I did make a vMix script (to test) to get the total time to put in a countdown as per OP's question of all items in a list. Get the total time of all the list elements
a total time can be found if all sources of the list are located in the same folder ( see folderlist post , but sadly i lost the source code) . I i tried an not external approach using the data in the API XML.
In order to get this total time one has to select each individual item from the API , reads it duration, and select the next and so on. One is limited in the functions available ( guess AI doesnt know that either ) being select next and previous . Hence the script has to go to the top of the list , read and go to the next , when all done go back to the first , put the total duration into a countdown and start the playout and the countdown.
Now these commands take some time each individually so its not that instant but it does work if its not timefraction critical.

The quicker processing time of course was using external calls as the API XML give you the list of items in that list so one could go directly from there to get the duration of each individual item and toal them.

Of course as per usual its very important to know exactly what you want to achieve as there are so many criteria applicable per situation ( per individual listitem, total of list etc...

https://forums.vmix.com/...g-for-Dummies#post116908


My idea was something external until then. Im using for better list managing the program vscheduler for vmix. The good thing with this program is that it has a copy-cut-insert and paste thing inside the list and real world time measuring. So it is very easy to manage the items in the list while inside vmix we need to use arrows to up-down or other external solution to manage the m3u (one file/path per line) list.Disadvantages? It needs about 7-8" from the time you press "push" in order to start play the file in Vmix and this sometimes is not comfortable. Also this program stores in xml format so i have a script that keeps only the path file and transforms the xml file to m3u to be able to play in Vmix list
So my idea for AI was to do the list in Vscheduler and then while i transform it as m3u for vmix,make a 2nd txt file for this list like "e:\nikos.mp4 duration="10000" (the stored xml file has this info about duration) so the script instead of reading/select index the files in actual vmix list be able to read the vmix list input see there what files are in there but take their duration from the same name txt file. I managed to do it when the list is stopped but i want to tell the script for the selected index file that runs the x moment we run the script not read it`s duration from txt file but from vmix api the "position" in list input and then for others read from txt file and do the math for total duration. Ok not the best,it will not be 100% accurate but i found it a good solution if succeed.
doggy  
#6 Posted : Saturday, December 28, 2024 10:17:04 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: nikosman88 Go to Quoted Post


My idea was something external until then. Im using for better list managing the program vscheduler for vmix. The good thing with this program is that it has a copy-cut-insert and paste thing inside the list and real world time measuring. So it is very easy to manage the items in the list while inside vmix we need to use arrows to up-down or other external solution to manage the m3u (one file/path per line) list.Disadvantages? It needs about 7-8" from the time you press "push" in order to start play the file in Vmix and this sometimes is not comfortable. Also this program stores in xml format so i have a script that keeps only the path file and transforms the xml file to m3u to be able to play in Vmix list
So my idea for AI was to do the list in Vscheduler and then while i transform it as m3u for vmix,make a 2nd txt file for this list like "e:\nikos.mp4 duration="10000" (the stored xml file has this info about duration) so the script instead of reading/select index the files in actual vmix list be able to read the vmix list input see there what files are in there but take their duration from the same name txt file. I managed to do it when the list is stopped but i want to tell the script for the selected index file that runs the x moment we run the script not read it`s duration from txt file but from vmix api the "position" in list input and then for others read from txt file and do the math for total duration. Ok not the best,it will not be 100% accurate but i found it a good solution if succeed.


Ever heard of KISS (not the rock band) ;-)
nikosman88  
#7 Posted : Saturday, December 28, 2024 10:31:54 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post


My idea was something external until then. Im using for better list managing the program vscheduler for vmix. The good thing with this program is that it has a copy-cut-insert and paste thing inside the list and real world time measuring. So it is very easy to manage the items in the list while inside vmix we need to use arrows to up-down or other external solution to manage the m3u (one file/path per line) list.Disadvantages? It needs about 7-8" from the time you press "push" in order to start play the file in Vmix and this sometimes is not comfortable. Also this program stores in xml format so i have a script that keeps only the path file and transforms the xml file to m3u to be able to play in Vmix list
So my idea for AI was to do the list in Vscheduler and then while i transform it as m3u for vmix,make a 2nd txt file for this list like "e:\nikos.mp4 duration="10000" (the stored xml file has this info about duration) so the script instead of reading/select index the files in actual vmix list be able to read the vmix list input see there what files are in there but take their duration from the same name txt file. I managed to do it when the list is stopped but i want to tell the script for the selected index file that runs the x moment we run the script not read it`s duration from txt file but from vmix api the "position" in list input and then for others read from txt file and do the math for total duration. Ok not the best,it will not be 100% accurate but i found it a good solution if succeed.


Ever heard of KISS (not the rock band) ;-)


There exist in Greece a radio station kiss fm 92.9 and yes the "k.i.s.s." here is vmix team to expose in the api the total list remaining and also make possible easier re-arrange items in the list. I hope for Vmix 29 or 30
tkachuk.alex  
#8 Posted : Saturday, December 28, 2024 11:08:22 PM(UTC)
tkachuk.alex

Rank: Advanced Member

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 53
Man
Ukraine
Location: Ukraine

Thanks: 13 times
Was thanked: 5 time(s) in 3 post(s)
I apologize, I didn't explain it correctly. So we have input "List", input "Alert", input "PiP". When I turn on input "Alert" it swich the input "List" to preview, on input "List" in triggers I thought to put a command to run a script "On transion out", that will read the last time as in the photo in the first post, and insert it into Countdown. Then I put input "PiP" on the preview, and when it goes to Output it triggers Countdown
nikosman88  
#9 Posted : Saturday, December 28, 2024 11:24:34 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: tkachuk.alex Go to Quoted Post
I apologize, I didn't explain it correctly. So we have input "List", input "Alert", input "PiP". When I turn on input "Alert" it swich the input "List" to preview, on input "List" in triggers I thought to put a command to run a script "On transion out", that will read the last time as in the photo in the first post, and insert it into Countdown. Then I put input "PiP" on the preview, and when it goes to Output it triggers Countdown


ok so you need the total remaining list from the point that list goes to preview so that means the list is stopped at this point. Yes i think is doable what you need but i dont know exactly how to implement this. As for process i believe will need when you transition out the list to do a "mark in" point. Then the script will read for the selected input from mark in position - actual duration of this clip,then run from this point and down the script that Doggy made and do the math and finally the script must remember the item that was before the count of total duration and go there again
I think is possible to be done but un-fortunatelly personally i dont know how
tkachuk.alex  
#10 Posted : Sunday, December 29, 2024 3:07:40 AM(UTC)
tkachuk.alex

Rank: Advanced Member

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 53
Man
Ukraine
Location: Ukraine

Thanks: 13 times
Was thanked: 5 time(s) in 3 post(s)
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: tkachuk.alex Go to Quoted Post
I apologize, I didn't explain it correctly. So we have input "List", input "Alert", input "PiP". When I turn on input "Alert" it swich the input "List" to preview, on input "List" in triggers I thought to put a command to run a script "On transion out", that will read the last time as in the photo in the first post, and insert it into Countdown. Then I put input "PiP" on the preview, and when it goes to Output it triggers Countdown


ok so you need the total remaining list from the point that list goes to preview so that means the list is stopped at this point. Yes i think is doable what you need but i dont know exactly how to implement this. As for process i believe will need when you transition out the list to do a "mark in" point. Then the script will read for the selected input from mark in position - actual duration of this clip,then run from this point and down the script that Doggy made and do the math and finally the script must remember the item that was before the count of total duration and go there again
I think is possible to be done but un-fortunatelly personally i dont know how


But this time is shown in vMix, look at photo in first post. Time in red square is that time I need. Is any way to get it at place to Countdown.gtzip?
doggy  
#11 Posted : Sunday, December 29, 2024 3:23:15 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: tkachuk.alex Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: tkachuk.alex Go to Quoted Post
I apologize, I didn't explain it correctly. So we have input "List", input "Alert", input "PiP". When I turn on input "Alert" it swich the input "List" to preview, on input "List" in triggers I thought to put a command to run a script "On transion out", that will read the last time as in the photo in the first post, and insert it into Countdown. Then I put input "PiP" on the preview, and when it goes to Output it triggers Countdown


ok so you need the total remaining list from the point that list goes to preview so that means the list is stopped at this point. Yes i think is doable what you need but i dont know exactly how to implement this. As for process i believe will need when you transition out the list to do a "mark in" point. Then the script will read for the selected input from mark in position - actual duration of this clip,then run from this point and down the script that Doggy made and do the math and finally the script must remember the item that was before the count of total duration and go there again
I think is possible to be done but un-fortunatelly personally i dont know how


But this time is shown in vMix, look at photo in first post. Time in red square is that time I need. Is any way to get it at place to Countdown.gtzip?


cant get that time when allready playing or from somewhere else but you can from the start for the commplete list ( see my script, maybe try it out with a list and a title and run it) so when the list starts playig the countdown starts from the retrieved total time. no need to go into preview first or so
nikosman88  
#12 Posted : Sunday, December 29, 2024 3:30:57 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: tkachuk.alex Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: tkachuk.alex Go to Quoted Post
I apologize, I didn't explain it correctly. So we have input "List", input "Alert", input "PiP". When I turn on input "Alert" it swich the input "List" to preview, on input "List" in triggers I thought to put a command to run a script "On transion out", that will read the last time as in the photo in the first post, and insert it into Countdown. Then I put input "PiP" on the preview, and when it goes to Output it triggers Countdown


ok so you need the total remaining list from the point that list goes to preview so that means the list is stopped at this point. Yes i think is doable what you need but i dont know exactly how to implement this. As for process i believe will need when you transition out the list to do a "mark in" point. Then the script will read for the selected input from mark in position - actual duration of this clip,then run from this point and down the script that Doggy made and do the math and finally the script must remember the item that was before the count of total duration and go there again
I think is possible to be done but un-fortunatelly personally i dont know how


But this time is shown in vMix, look at photo in first post. Time in red square is that time I need. Is any way to get it at place to Countdown.gtzip?

Yes it is shown but in a way that is hidden in external. So the script cannot read directly this info. Yes it seems weird but this is how it is for now and except any suprise it will like this at least 1 more year as the new up-coming vmix 28 doesnt has changed this. There are some requests in the thread feature requests for this.
Im searching a way for months to be able to do it because now i do some manual things and i need to automate the process.
As im not a developer i use AI to help me implement my (un-orthodox-"long way" many times) ideas. I have something think of in a external python script that im trying to make AI to understand. If i succeed i will write it here
thanks 1 user thanked nikosman88 for this useful post.
tkachuk.alex on 12/29/2024(UTC)
doggy  
#13 Posted : Sunday, December 29, 2024 3:39:17 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: nikosman88 Go to Quoted Post

. I have something think of in a external python script that im trying to make AI to understand. If i succeed i will write it here



Although you Marked the script for liked it appears you havent even tested it (and its logic) ;-)
the script acts pretty fast

Lists are often used from the begining till the end hence the script that calculates that total time and puts it as a countdown in a title and both (countdownstart and playout )

Now think a bit outside the box as when one stops playing the list maybe also stop the playout also and continue both again later . Thats the only way so far it can give you the time in a title for now

One could elaborate and check at which video in the list the playout starts and take that into account in the script for the duration of whats left etc but thats imo beyond the scope here


I feel your pain in making IA understand the goal (let alone how vMix works and what is available) but the pain is similar to trying to understand what people want ;-)

You probably will spend less time trying to understand a script ( there is Google stil) then have to explain to AI ;-) . Also how much imagination does AI have?
nikosman88  
#14 Posted : Sunday, December 29, 2024 4:08:09 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post

. I have something think of in a external python script that im trying to make AI to understand. If i succeed i will write it here



Although you Marked the script for liked it appears you havent even tested it (and its logic) ;-)
the script acts pretty fast

Lists are often used from the begining till the end hence the script that calculates that total time and puts it as a countdown in a title and both (countdownstart and playout )

Now think a bit outside the box as when one stops playing the list maybe also stop the playout also and continue both again later . Thats the only way so far it can give you the time in a title for now

One could elaborate and check at which video in the list the playout starts and take that into account in the script for the duration of whats left etc but thats imo beyond the scope here


I feel your pain in making IA understand the goal (let alone how vMix works and what is available) but the pain is similar to trying to understand what people want ;-)

You probably will spend less time trying to understand a script ( there is Google stil) then have to explain to AI ;-) . Also how much imagination does AI have?


Yes i tried the script and works as you say that work. Your scripts are always 100% to work. My long way thought that im trying to implement is like this
When im doing a live show and after the show ends i need to run the automation program for vmix which is for me the vscheduler for Vmix. When the talent says goodbye i have ready a list input with x items and x duration. Sometimes this list has a video after the talent says goodbye and sometimes not and the ads are different per show . So the remaining time is not always the same and sometimes we will play this video and sometimes not. So when the talent closes the show i cut to this list. Ok until here, everything. After this list ends i want vmix to be able to play aytomatically from vscheduler. So i need to know and put to the vscheduler the time that the list input ends. I have not the time to run the script to calculate or remove things from the list as the talent can say go for the video and then speaks another 2-3 minutes,see the time and says sorry no video bye so my only option is to select the ads or close up of the show.
For now to be able to achieve this i have a script that i run in which i enter the real world time (some time after the list input starts to run and continue running) and then i press enter and i enter the exact time list input time (ok 1-2" seconds not problem) that i see in vmix GUI running. So the script tells me "your list ends at 20:05:16" so i enter this time to vscheduler. If vmix had a way to expose the total remaining time in api i would run the script like "take the real world time,calculate the total" and give me the result i need to enter to vscheduler and or even make an xml for vscheduler starting from this time
I see in the 3rd party app this thread title and before open it "i was yes wow someone did it finally"!!
The "imagination" of AI is unlimited. Because if we simply write "make me a script for vmix that will do this and that" without any other info,it will imagine of new commands and ways that doesnt exist. I see that in some posts in vmix fb groups that users simply ask this and then wonder why the wow script that AI made, dont work
doggy  
#15 Posted : Sunday, December 29, 2024 4:54:45 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,290
Belgium
Location: Belgium

Thanks: 296 times
Was thanked: 967 time(s) in 801 post(s)
Originally Posted by: nikosman88 Go to Quoted Post

My long way thought that im trying to implement is like this
When im doing a live show and after the show ends i need to run the automation program for vmix which is for me the vscheduler for Vmix. When the talent says goodbye i have ready a list input with x items and x duration. Sometimes this list has a video after the talent says goodbye and sometimes not and the ads are different per show . So the remaining time is not always the same and sometimes we will play this video and sometimes not. So when the talent closes the show i cut to this list. Ok until here, everything. After this list ends i want vmix to be able to play aytomatically from vscheduler. So i need to know and put to the vscheduler the time that the list input ends. I have not the time to run the script to calculate or remove things from the list as the talent can say go for the video and then speaks another 2-3 minutes,see the time and says sorry no video bye so my only option is to select the ads or close up of the show.
For now to be able to achieve this i have a script that i run in which i enter the real world time (some time after the list input starts to run and continue running) and then i press enter and i enter the exact time list input time (ok 1-2" seconds not problem) that i see in vmix GUI running. So the script tells me "your list ends at 20:05:16" so i enter this time to vscheduler. If vmix had a way to expose the total remaining time in api i would run the script like "take the real world time,calculate the total" and give me the result i need to enter to vscheduler and or even make an xml for vscheduler starting from this time
I see in the 3rd party app this thread title and before open it "i was yes wow someone did it finally"!!
The "imagination" of AI is unlimited. Because if we simply write "make me a script for vmix that will do this and that" without any other info,it will imagine of new commands and ways that doesnt exist. I see that in some posts in vmix fb groups that users simply ask this and then wonder why the wow script that AI made, dont work


SO basically you highjacked this thread to make the OP's question sound more complicated than it is as the OP does NOT mention adding , removing list items, starting somewhere else etc to push your own arguments for your particular situation ?
Would it be nice if the remaining duration was available to be read, sure but it isnt for now

Anyway list ends at ...
Code:
Dim timenow as string = System.DateTime.now.ToString("yyyy/MM/ddTHH:mm:ss.fff")
'and add the duration from the script = time when will end


BTW K.I.S.S. means "keep it simple silly" (polite version ;-) )
thanks 1 user thanked doggy for this useful post.
nikosman88 on 12/29/2024(UTC)
nikosman88  
#16 Posted : Sunday, December 29, 2024 5:01:10 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 566
Greece
Location: athens

Thanks: 138 times
Was thanked: 78 time(s) in 74 post(s)
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post

My long way thought that im trying to implement is like this
When im doing a live show and after the show ends i need to run the automation program for vmix which is for me the vscheduler for Vmix. When the talent says goodbye i have ready a list input with x items and x duration. Sometimes this list has a video after the talent says goodbye and sometimes not and the ads are different per show . So the remaining time is not always the same and sometimes we will play this video and sometimes not. So when the talent closes the show i cut to this list. Ok until here, everything. After this list ends i want vmix to be able to play aytomatically from vscheduler. So i need to know and put to the vscheduler the time that the list input ends. I have not the time to run the script to calculate or remove things from the list as the talent can say go for the video and then speaks another 2-3 minutes,see the time and says sorry no video bye so my only option is to select the ads or close up of the show.
For now to be able to achieve this i have a script that i run in which i enter the real world time (some time after the list input starts to run and continue running) and then i press enter and i enter the exact time list input time (ok 1-2" seconds not problem) that i see in vmix GUI running. So the script tells me "your list ends at 20:05:16" so i enter this time to vscheduler. If vmix had a way to expose the total remaining time in api i would run the script like "take the real world time,calculate the total" and give me the result i need to enter to vscheduler and or even make an xml for vscheduler starting from this time
I see in the 3rd party app this thread title and before open it "i was yes wow someone did it finally"!!
The "imagination" of AI is unlimited. Because if we simply write "make me a script for vmix that will do this and that" without any other info,it will imagine of new commands and ways that doesnt exist. I see that in some posts in vmix fb groups that users simply ask this and then wonder why the wow script that AI made, dont work


SO basically you highjacked this thread to make the OP's question sound more complicated than it is as the OP does NOT mention adding , removing list items, starting somewhere else etc to push your own arguments for your particular situation ?
Would it be nice if the remaining duration was available to be read, sure but it isnt for now

Anyway list ends at ...
Code:
Dim timenow as string = System.DateTime.now.ToString("yyyy/MM/ddTHH:mm:ss.fff")
'and add the duration from the script = time when will end


BTW K.I.S.S. means "keep it simple silly" (polite version ;-) )

Yes i know what it means but i dont think that i highjacked the op thread but i simply give the data as is for now. The op show a stopped screenshot and asks "But this time is shown in vMix, look at photo in first post. Time in red square is that time I need. Is any way to get it at place to Countdown.gtzip?" the time in red square is in the middle of a stopped running list.
Im sorry from the OP if i highjacked his thread but the result remains. Until now no easy way to have the actual realtime list input total time in a script
Sorry again,i will not no longer answer to this thread

tkachuk.alex  
#17 Posted : Sunday, December 29, 2024 9:57:17 AM(UTC)
tkachuk.alex

Rank: Advanced Member

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 53
Man
Ukraine
Location: Ukraine

Thanks: 13 times
Was thanked: 5 time(s) in 3 post(s)
It's OK! It was interesting to read this intelligent discussion.
But I realized one thing, that there is no simple solution to this problem. So let's just keep going, entering the time with our hands during the alerts. Nothing terrible happened. Thank you all for your interest in the question
Users browsing this topic
Guest (5)
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.