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
jip  
#1 Posted : Wednesday, May 4, 2016 11:26:39 AM(UTC)
jip

Rank: Advanced Member

Groups: Registered
Joined: 7/23/2013(UTC)
Posts: 83
Location: North

Thanks: 9 times
Was thanked: 9 time(s) in 7 post(s)
I would like to see the possibility to access the list of existing Instant Replay events.

Perhaps it could be included in the default XML API output, or in its own URL:

<replaylist selectedEvent="3">
<event number="1" title="Goal 1-0"/>
<event number="2" title="Cheering"/>
<event number="3" title="Tackle"/>
<event number="4" title=""/>
<event number="5" title=""/>
</replaylist>

With the current functions like "ReplayPlaySelectedEvent" and "ReplaySelectNextEvent", the chance of having a list of events available would create new possibilities of controlling the Instant Replay.

Thanks for considering!
xaver  
#2 Posted : Friday, November 11, 2016 4:32:55 PM(UTC)
xaver

Rank: Advanced Member

Groups: Registered
Joined: 11/11/2016(UTC)
Posts: 118
Man
Location: Europe

Thanks: 12 times
Was thanked: 6 time(s) in 6 post(s)
+1

jeff-mst  
#3 Posted : Sunday, July 2, 2017 6:32:18 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

+1

A handful of API functions to round things out such as:

- ReplayGetEvents: Returns all events and their info such as id, description, in, out etc
- ReplayGetEventsByID: Returns events info for a given ID (or a list of ids such as '002,003,004')

Also selecting individual events by ID, at the moment the API functions ReplaySelectFirstEvent, ReplaySelectLastEvent, ReplaySelectNextEvent, ReplaySelectPreviousEvent are a limiting factor. With the above 2 API calls to retrieve events out of vMix you could then precisely select the one you want with an API call such as ReplaySelectEventByID.
adamstanton  
#4 Posted : Tuesday, July 4, 2017 11:10:23 AM(UTC)
adamstanton

Rank: Newbie

Groups: Registered
Joined: 12/6/2015(UTC)
Posts: 7
Location: Thailand

Was thanked: 2 time(s) in 1 post(s)
this would really help, and something I've been looking at for ages.
jeff-mst  
#5 Posted : Wednesday, July 5, 2017 7:15:01 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

Another 'quirk' I've noticed using the API:

The replay API needs an option to turn on/off default behaviour that makes the output always jump to the last event created.

For example: I could be playing out a clip (or selection of clips) and if a new event (in/out) is created my playback stops and the output jumps to the newest event. Normally jumping to the last event IN is the behaviour we'd want, but when playing out any previous events, clips, playlists etc nothing should interrupt that live playout.

- If a setting in the API or otherwise exists already then any help appreciated!
stigaard  
#6 Posted : Wednesday, July 5, 2017 8:17:19 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 339
Man
Location: Copenhagen, Denmark

Thanks: 230 times
Was thanked: 62 time(s) in 48 post(s)
+1
jeff-mst  
#7 Posted : Thursday, July 6, 2017 7:08:26 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

Another thing I've come across that would be great to have in the replay API:

1) Replay events > 1000 cant be played using the API function ReplayPlayEventsByID&Value=1001. Support for more events, say 9999 would be excellent

Also... sometime when calling the API for ReplaySetLastEventText I get a 500 error return. Best steps i can say to replicate it is just to run loads of mark in/out and set last event text functions and at some point the errors will start (they come and go). Running multiple instances of things trying to create and set events seems to increase the error chance
xaver  
#8 Posted : Thursday, July 6, 2017 3:15:48 PM(UTC)
xaver

Rank: Advanced Member

Groups: Registered
Joined: 11/11/2016(UTC)
Posts: 118
Man
Location: Europe

Thanks: 12 times
Was thanked: 6 time(s) in 6 post(s)
+1

it also would be a great effort, if it's possible to get the numbers of events in the api
jeff-mst  
#9 Posted : Saturday, July 15, 2017 6:09:35 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

To expand on the API requirements for returning the list of replay events - it would be ideal if the the returned list included all fields shown in the vMix Replay:

- Event ID (with support for events > 999)
- IN
- OUT
- Duration
- Description

Another Replay API suggestion:

- ReplayExportEventsByID: Exports event(s) by ID. Currently can only do "ReplayExportLastEvent". Further options to export clips from those ID's as individual clips or a single file would be great.

(BTW - vMix Replay is brilliant! There's just a few workarounds and functionality we cant utilise inside vMix without some of these API additions)
xaver  
#10 Posted : Saturday, July 15, 2017 4:19:08 PM(UTC)
xaver

Rank: Advanced Member

Groups: Registered
Joined: 11/11/2016(UTC)
Posts: 118
Man
Location: Europe

Thanks: 12 times
Was thanked: 6 time(s) in 6 post(s)
an other big thing is to select an event with it's ID
at the moment we only have

ReplaySelectFirstEvent
ReplaySelectLastEvent
ReplaySelectNextEvent
ReplaySelectPreviousEvent

to select the 5th event, you have to send 5 API calls
if there is a big list, some API calls are lost and the wrong event is selected
jeff-mst  
#11 Posted : Friday, July 21, 2017 1:10:33 PM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

I have a sort of workaround for selecting an event by id at the moment, it's not pretty but it is better than doing the select first then next, next, next etc.

A more pressing matter for me at the moment is having events greater than 999 supported in vMix replay by the API. We cover long running broadcasts that will have replay events in the 1000's meaning anything above 999 we cant control over the API.
xaver  
#12 Posted : Thursday, July 27, 2017 4:19:28 PM(UTC)
xaver

Rank: Advanced Member

Groups: Registered
Joined: 11/11/2016(UTC)
Posts: 118
Man
Location: Europe

Thanks: 12 times
Was thanked: 6 time(s) in 6 post(s)
jeff-mst wrote:
I have a sort of workaround for selecting an event by id at the moment, it's not pretty but it is better than doing the select first then next, next, next etc.



can you tell how you do it?
jeff-mst  
#13 Posted : Friday, July 28, 2017 4:06:13 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

Quote:

can you tell how you do it?


Sure:

1) Call "ReplayPlayEventsByID" but only pass in one ID. E.g. Function=ReplayPlayEventsByID&Value=864
2) Immediately afterwards call "ReplayPause". E.g. Function=ReplayPause

This will leave the event selected and you can then use any of the "do something with selected" API calls.

It's worth nothing that this is by no means prefect:

- If another event is created by the API, that latest event tends to be the one selected. So best to use the above to get what you want done quickly in case your selection is interrupted.
- If you are currently playing the replay footage, this will interrupt that. (like i said, it's not pretty).
- You need to make sure the event has started playing before calling "ReplayPause". Like most API calls "ReplayPlayEventsByID" returns instantly with "success" even if it hasn't actually completed its task. To make this more consistent I have a timeout between the "ReplayPlayEventsByID" call and "ReplayPause". The slight delay (100ms) between each API calls helps.
jeff-mst  
#14 Posted : Friday, August 11, 2017 3:28:32 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

The new TCP API in vMix looks interesting, especially the events/subscription stuff. Looks like it re-uses the existing API functionality so when these API additions are added it would be brilliant if the TCP API could have an event for replay events being added/updated/change. So we could subscribe to the API event list over TCP and receive realtime updates.

In the vMix 2X docs I cant see any info on added API functionality yet. At the moment the events not working above 999 and not being able to export by ID is really hampering us.

normanhui  
#15 Posted : Wednesday, August 16, 2017 11:42:17 PM(UTC)
normanhui

Rank: Newbie

Groups: Registered
Joined: 8/16/2017(UTC)
Posts: 1
Location: Hong Kong

We have also noticed that you cant add events above 999 . We have 7s rugby tournaments that continue all day. The total replay events often go over 999 then we cannot use vMix Instant Replay.

Is this something an updated that can be included in the new API ?
adamstanton  
#16 Posted : Wednesday, August 16, 2017 11:45:11 PM(UTC)
adamstanton

Rank: Newbie

Groups: Registered
Joined: 12/6/2015(UTC)
Posts: 7
Location: Thailand

Was thanked: 2 time(s) in 1 post(s)
Yes noticed the same issue, you cant use replayIDs > 999 , does anyone know a workaround for this ?
jeff-mst  
#17 Posted : Friday, September 29, 2017 5:21:40 AM(UTC)
jeff-mst

Rank: Member

Groups: Registered
Joined: 7/2/2017(UTC)
Posts: 13
Location: UK

We're still hopeful this API list and more importantly the replay events greater than 999 will be supported in the API.

We havent upgraded to vMix 20 yet. Does anyone know if vMix 20 supports replay events greater than 999 through the API?
aircooled76@gmail.com  
#18 Posted : Wednesday, September 4, 2019 5:09:06 PM(UTC)
aircooled76@gmail.com

Rank: Advanced Member

Groups: Registered
Joined: 8/15/2013(UTC)
Posts: 43
Man
Australia
Location: Could be Australia could be Sweden!

Was thanked: 2 time(s) in 2 post(s)
Massive +1 for this.

All I want to do is to play the last two events without physically selecting them with the mouse (clunky way to do it) But it seems it is not possible.

I would love a way to get the last event ID from the API that would be the best, but I would settle for being able to send the "ReplayPlayEvent" or "ReplayPlayEventToOutput" that can take more than one value.

Example:

Code:
?Function=ReplayPlayEvent&Value=0,1


To play the last two clips.
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.