I experienced this crash operating the replays. Can give more info if you need how I was using it.
log
log
Did you find it practical to use n seconds of replay rather than defining the start and end times?
I think the sports industry uses in/out points, can this be accommodated?
I have to do a sports shoot in a few days, and am trying to get instant replay functionality
it place. We may be OK for one shoot with a fixed replay time... I don't know yet.
The way that is now working for me is a combination of OBS, Touch Portal and FFMPEG batch scripts (called by Touch Portal)
Have a look at this and the sample video https://obsproject.com/forum/threads/instant-replay-vlc.80823/post-547713
hope this helps
Hi- I'm just using real time replays, I don't have any need for file captures, thanks!This is what I end up with video-wise, the main recording and Replay in one folder (replay scene only uses this 'Game Replay Clip.mkv')
View attachment 76715
... and a load of clips in another, which I can use later as say, 'Half Time highlights', and also in post edit as these clips will make my highlight video from. All the clips copied and cut by ffmpeg on the fly dependent on which button I clicked in Touch Portal
View attachment 76716
Hope this helps
ps: When i uninstall the plugin. OBS works.
Are there limits on replay source frame rates? Is failing to create a 2D texture a bad thing?
I am trying to use replay source for a multi-camera sports setup. Two cameras feed 1080p60, one at 4k30 and one at 4k30 all through separate gstreamer sources. The canvas size is 3840x2160 and streaming output is 4k60. Things look great, 6-8ms render times and .3% frames missed due to rendering lag over 2 hours of live streaming. No problems with performance, task manager has happy numbers on cpu(40%), intel gpu(37%), nvidia gpu(70%), network(45mbps incoming, 40mbps up) and memory (16/32GB).
To capture replays I've added a scene which includes all 4 camera gstreamer sources, each in a 1920x1080 corner of the 4k canvas. That scene is displayed in a windowed projector which has been reduced to about 640x360. The projector window is hidden behind the OBS main window.
I've added a "Replay" scene with one replay source. When I press Load Replay in the properties panel or use my defined load replay hotkey the replay is loaded and played - but the replay frame rate is < 1 fps.
In the Replay Source properties video source is set to one of the 1080p60 camera gstreamer sources. Audio is blank, duration has been attempted between 4000-18000ms, load delay 0, max replays 1, visibility Restart, start delay 0, end action hide after all, Speed percentage is 100.
The log file shows:
14:34:57.640: [replay_source: 'Rep 1B'] Load replay pressed
14:34:57.640: [replay_source: 'Rep 1B'] replay added of 16.17 seconds
14:35:13.850: device_texture_create (D3D11): Failed to create 2D texture (80070057)
14:35:21.633: [replay_source: 'Rep 1B'] updated filter for 'CAM-3B'
14:35:21.633: [replay_source: 'Rep 1B'] connected to 'CAM-3B'
14:35:45.351: [replay_source: 'Rep 1B'] Load replay pressed
14:35:45.352: [replay_source: 'Rep 1B'] replay added of 16.13 seconds
14:36:01.533: device_texture_create (D3D11): Failed to create 2D texture (80070057)
14:39:00.410: User switched to scene 'Full Field'
14:39:55.385: Settings changed (stream 1)
14:39:55.385: ------------------------------------------------
14:40:00.931: [jim-nvenc: 'streaming_h264'] settings:
14:40:00.931: rate_control: CBR
14:40:00.931: bitrate: 25000
14:40:00.931: cqp: 20
14:40:00.931: keyint: 120
14:40:00.931: preset: llhq
14:40:00.931: profile: high
14:40:00.931: width: 3840
14:40:00.931: height: 2160
14:40:00.931: 2-pass: false
14:40:00.931: b-frames: 3
14:40:00.931: lookahead: true
14:40:00.931: psycho_aq: true
14:40:00.931:
14:40:01.013: ---------------------------------
14:40:01.013: [FFmpeg aac encoder: 'adv_stream_aac'] bitrate: 128, channels: 1, channel_layout: 4
14:40:01.013:
14:40:01.014: [ffmpeg muxer: 'adv_stream'] Using muxer settings:
14:40:01.014: method=PUT
14:40:01.014: http_persistent=1
14:40:01.014: ignore_io_errors=1
14:40:01.014: http_user_agent=libobs/26.1.0
14:40:01.014: hls_time=2
14:40:01.019: ==== Streaming Start ===============================================
14:40:01.019: [ffmpeg hls muxer: 'adv_stream'] Writing to path 'https://a.upload.youtube.com/http_upload_hls?cid={stream_key}©=0&file=out.m3u8'...
I've tried switching to the StreamFX NVenc encoder but haven't found a set of parameters that match the stock NVEnc gpu utilization - everything I've tried uses 30% or more. Not sure if that matters for this issue so just noting it.