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
acabeza  
#1 Posted : Thursday, December 23, 2021 10:25:52 PM(UTC)
acabeza

Rank: Newbie

Groups: Registered
Joined: 12/23/2021(UTC)
Posts: 2
Spain
Location: Canary Islands


Hello Everyone.

Im having some problems with the ReplayExportLastEvent function.

I work in sports events, and i need to export every replay to the disk so the editor can make the final video as soon as possible.

I made a "Markout" script, so everytime y choose "markout" what happens is

Function=ReplayMarkOut&Input=Nueva carpeta
Sleep 5000
Function=ReplayExportLastEvent&Input=Nueva carpeta&Value=e:\jueces

If I don't use the "sleep function" it doesn't work.

The problem is: It works fine with clips bigger than 5 seconds... but If i record a shorter replay it doesn't export the clip.. and the.. starts to fail...randomly

I can't reproduce the error.

if I make only a "ExportLastReplay" it works ok.

Any suggestions?

Thanks very much!!!

Angel
doggy  
#2 Posted : Thursday, December 23, 2021 10:57:34 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 288 times
Was thanked: 947 time(s) in 782 post(s)
Originally Posted by: acabeza Go to Quoted Post

Hello Everyone.

Im having some problems with the ReplayExportLastEvent function.

I work in sports events, and i need to export every replay to the disk so the editor can make the final video as soon as possible.

I made a "Markout" script, so everytime y choose "markout" what happens is

Function=ReplayMarkOut&Input=Nueva carpeta
Sleep 5000
Function=ReplayExportLastEvent&Input=Nueva carpeta&Value=e:\jueces

If I don't use the "sleep function" it doesn't work.

The problem is: It works fine with clips bigger than 5 seconds... but If i record a shorter replay it doesn't export the clip.. and the.. starts to fail...randomly

I can't reproduce the error.

if I make only a "ExportLastReplay" it works ok.

Any suggestions?

Thanks very much!!!

Angel



Some functions just do take some time to process, vMix scripting does not really check on if the function is completed before going to the next line in the code . Is something to take into account .

Didn't realize the function ReplayMarkOut needed an Input specification or even had that option ? And what is your MarkIn criteria ?
acabeza  
#3 Posted : Thursday, December 23, 2021 11:11:19 PM(UTC)
acabeza

Rank: Newbie

Groups: Registered
Joined: 12/23/2021(UTC)
Posts: 2
Spain
Location: Canary Islands


Thank you for your replay.

I assume there are some actions that take time... this is the reason a use "Sleep 5000". I thought 5 seconds is more than enough for vmix to make "internal things".
Indeed if I don't use the sleep function it doesn't work at all.

The problem is I can't use much more than 5 seconds, because in this type of events (surfing) the action could start within 5 seconds from one surfer to others.. and if this occurs the scripts doesn't start.(cause is started right now)

I press the markin manually.

If I use "markin", then "Markout" an then "export clip" manually it works fine.



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.