Replay Source

Replay Source 1.8.0

bruco1987

New Member
hello. I have installed and configured the plugin correctly. However, I need to start the replay via websoket. I read in a trhead that there is mention of an "execute_action" function. However, I have not found any additional information on this. Could you explain step by step how to do this?
 

Exeldro

Active Member
@bruco1987 the options for execute_action are:
Load
Next
Previous
First
Last
Remove
Clear
Save
Restart
Pause
Faster
Slower
NormalOrFaster
NormalOrSlower
NormalSpeed
HalfSpeed
DoubleSpeed
TrimFront
TrimEnd
TrimReset
Reverse
Backward
Forward
ForwardOrFaster
BackwardOrFaster
DisableNextScene
EnableNextScene
Disable
Enable
SetNextSceneToCurrent
SwitchToNextScene

just set the setting to the action you want, the settings is reset when the action is done.
 

bruco1987

New Member
@bruco1987 the options for execute_action are:
Load
Next
Previous
First
Last
Remove
Clear
Save
Restart
Pause
Faster
Slower
NormalOrFaster
NormalOrSlower
NormalSpeed
HalfSpeed
DoubleSpeed
TrimFront
TrimEnd
TrimReset
Reverse
Backward
Forward
ForwardOrFaster
BackwardOrFaster
DisableNextScene
EnableNextScene
Disable
Enable
SetNextSceneToCurrent
SwitchToNextScene

just set the setting to the action you want, the settings is reset when the action is done.
a thousand thanks. where should I activate the execute_action setting? I read that it is hidden. Is it a property of replay source or obs?
 

AlterSack

New Member
Hallo @Exeldro,
wäre es möglich, dass du dein Plugin so umbaust, dass man die Länge des Replays mit Hotkeys steuern kann ?
Ich mache American Football-Livestreams und hätte gern folgende Funktion:
Wenn der Spielzug beginnt drücke ich einen Hotkey und die Aufnahme des Replays beginnt - aber 1 Sekunde früher -
und wenn der Spielzug vorrüber ist, drücke ich wieder einen Hotkey
und habe dadurch die volle Länge des Spielzugs als Replay (im RAM) zur Verfügung.
Aktuelle kann man nur eine feste REPLAY Dauer vorab in den Einstellungen eintragen.


deepl-Translator:
Hello @Exeldro,
would it be possible to rebuild your plugin so that you can control the length of the replay with hotkeys ?
I am doing American Football live streams and would like to have the following function:
When the Play starts I press a hotkey and the recording of the replay starts - but 1 second earlier -.
and when the Play is over, I press a hotkey again
and have the full length of the Play available as a replay (in RAM).
Currently you can only enter a fixed REPLAY duration in advance in the settings.

Translated with www.DeepL.com/Translator (free version)

Danke !
 

garliceggs

New Member
Are there instructions for how this is supposed to work? I watched the video that had no sound and was able to make some guesses, but I found it to be confusing. Especially because some hot keys are mapped to multiple actions and it's not clear when the keys are being pressed. Most of what I learned had be done with trial and error and a lot of guesswork.

I am using this plugin for streaming hockey games. And I'm using this because the regular replay buffer of OBS doesn't appear to work correctly (doesn't honor time limit). When there is a goal (or some other event) I would like to be able to save the last 5 seconds as the replay and then play that back when I want to by switching to the replay source scene.

I thought the way it worked was that you had to SAVE the replay first. Then use LOAD to switch scenes to the replay scene and watch the playback. Since all replays would be saved, it wasn't clear to me why there was a Max # of replays setting.

Of course, that all turned out to be wrong. Saving replays has nothing to do with the live stream or the replays. The LOAD operation is what creates the replay by taking the current 5 second buffer (form the time the load hotkey is pressed) from the live stream and loads that into the replay buffer and also switches scenes to the replay source. The SAVE action saves something to my disk, but I'm not entirely clear what because sometimes I get playable (flv) video, and sometimes I get black video. At any rate, it's not connected to playback of instant replays and for my purposes may be ignored.

What I would like is the ability to create a replay via hotkey without switching scenes. That way I can continue to stream the current action, but can return later to playback the clip when there is a stoppage of play. It would be nice to have the last replay loaded when I switch to the replay source, although maybe I can configure that with hotkeys. Is there a way to do that?
 

bruco1987

New Member
@bruco1987 it is a setting on the replay source you can set
i have opened the replay source properties but i cannot find the "execute_command" entry. please can you help me. i desperately need to be able to start replay loading via web_socket. Currently I can move between the main scene and the scene where I have set replay source. But of course it doesn't load the video. Can you help me?
 

EliteFerrex

New Member
@Exeldro Hello, thank you so much for your plugin!

I am planning to use your plugin for multiple highlight replays for Super Smash Bros. Ultimate games for our school's esports competitions, and I am able to get multi replays to work successfully, but I have ONE question:

Is there ANY possible way to have the multiple replays fade from one to the next as they are being played back on Multi Replay playback? This would be the ONLY other element we need to have all the functionality we're looking for!
 

EliteFerrex

New Member
@Exeldro Hello again sir, another question, if you don't mind.

Today while recording replays, we found that our stream was stuttering pretty badly today, and it appeared that OBS was using nearly all of the RAM on the stream computer, but we were only saving about 5 replay clips (10 seconds each) at a time, which I would imagine shouldn't be too much for 16GB to handle. Do you know if this is an issue with the plugin, or something I can resolve by adding more RAM to our PC, or am I doing something wrong by just using the F4 key to queue up 5 replays, then using F8 to replay them all?
 

Exeldro

Active Member
@EliteFerrex this plugin stores the replays raw in memory, how much it takes depends on the resolution and frame rate.
You could save the replays to disk and play them with a vlc source.
 

bruco1987

New Member
@bruco1987 this works for me:
Code:
OBSCommand /command=SetInputSettings,inputName=ReplaySource,inputSettings=execute_action=Load
perfect with obs command works fine. could you post me an example also using obs-cli for linux? i tried obs-cli SetInputSettings,inputName="slowmo_field_1_2",inputSettings=execute_action=Load but not work. thanks in advance
 

ThommiTechnik

New Member
I would like to bump the question from @AlterSack at the 28th of November. Thing is, that I'm trying to program the keys of an Contour JogShuttle V2, and than it would be a game changer, if I could switch between 4 sources, and jog/shuttle to use the TrimFront and TrimEnd commands also. So I would be able to throw away a machine with vMix, and replace it with a second instance/machine, also on OBS :)
 

@bronardgodines

New Member
Hi, wanted recommend you that join the plugins an option of can activate the replay with an access but direct of from a key of quick access
 
Top