vMix Forums
»
General
»
Instant Replay
»
Problems with ReplayExportLastEvent
Rank: Newbie
Groups: Registered
Joined: 12/23/2021(UTC) Posts: 2 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
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: acabeza 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 ?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 12/23/2021(UTC) Posts: 2 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.
|
|
|
|
vMix Forums
»
General
»
Instant Replay
»
Problems with ReplayExportLastEvent
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close