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
Srivelles  
#1 Posted : Tuesday, June 16, 2020 10:29:24 PM(UTC)
Srivelles

Rank: Newbie

Groups: Registered
Joined: 4/23/2020(UTC)
Posts: 6
Man
Spain
Location: Maresme

Thanks: 4 times
Hello.

If i have a folder and remotely i can send to video files to this folder.
Can i PUT this files in a "VIDEOLIST" automatically ?

Because if i can't acces to view Pc Vmix, but i can send the files to one folder in the Pc with Vmix.

Thanks.
Ash  
#2 Posted : Saturday, June 20, 2020 6:15:29 PM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Hi Srivelles

Not sure I totally understand, but you can try below to add a list of MP4 files in a Folder to a List

If you have vMix 4K or Pro add the below as a script

-------------DirFilesToList----------------------------------------------------------------
Dim di As New system.IO.DirectoryInfo("D:\YOURDIRECTORY")
Dim fi as system.io.fileinfo() = di.getfiles("*.MP4")
dim f as system.io.fileinfo

for each f in fi
API.Function("ListAdd","List",f.name )
next f


So dump your files into a remote machine directory

Run the script on the remote machine with vMix

http://YOURWANIP:8088/api?Function=ScriptStart&Value=DirFilesToList
thanks 3 users thanked Ash for this useful post.
studiodelta on 12/11/2022(UTC), Ario on 12/27/2022(UTC), Srivelles on 6/7/2023(UTC)
doggy  
#3 Posted : Saturday, June 20, 2020 7:20:07 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: Ash Go to Quoted Post


Short video of the above solution

RandomeNumberGenerator



was this not supposed to go to that other post ? ;-)
Ash  
#4 Posted : Saturday, June 20, 2020 7:43:43 PM(UTC)
Ash

Rank: Advanced Member

Groups: Registered
Joined: 11/19/2013(UTC)
Posts: 127
Location: Hobart Tasmania Australia

Thanks: 13 times
Was thanked: 11 time(s) in 8 post(s)
Hi Doggy

Yes my error

Will repost in the other Topic

Ash
Ramón  
#5 Posted : Sunday, June 21, 2020 6:53:02 AM(UTC)
Ramón

Rank: Advanced Member

Groups: Registered
Joined: 8/1/2013(UTC)
Posts: 30
Location: España

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hola Srivelles, puede ser esto lo que necesita: https://forums.vmix.com/...older-APP-for-List-Input
Ario  
#6 Posted : Thursday, January 5, 2023 7:32:32 AM(UTC)
Ario

Rank: Advanced Member

Groups: Registered
Joined: 2/2/2015(UTC)
Posts: 165
Location: NL

Thanks: 163 times
Was thanked: 19 time(s) in 16 post(s)
Many thanks Ash !

I think the f.name
must be changed to:
f.FullName

This would produce this script then:

Dim di As New system.IO.DirectoryInfo("D:\YOURDIRECTORY")
Dim fi as system.io.fileinfo() = di.getfiles("*.MP4")
dim f as system.io.fileinfo

for each f in fi
API.Function("ListAdd","List",f.FullName )
next f
thanks 1 user thanked Ario for this useful post.
Srivelles on 6/7/2023(UTC)
Users browsing this topic
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.