Great PC, but having trouble with HIGH fps Streaming/Recording

camjrefill

New Member
I know I am going to probably get roasted for wanting to record in high fps, but I like the way frame blending creates motion blur and I just really want this to work.
I just started streaming again and editing content. I don't care about how high my stream fps is, but want to record my highlights in high fps. I've done research and found out that there isn't really a way to do that without opening two instances of OBS, but even then I cannot capture the same game unless I use display capture for one of them. So I am in a position of configuring settings where I can stream/record at 240 fps. I feel very confident that my PC can make it work I am just monitoring/doing something wrong. The issue I'm running into is that my stream/recordings will start to get very choppy/laggy but my GPU utilization does not go too high when monitoring it with MSI afterburner. I have successfully streamed/recorded at 120 fps. I've tried turning my settings down, limiting my in game FPS, closing outside programs like Discord and Wallpaper Engine. but I just can't figure out what is the best way to go about this. I can stream/record at 240fps max quality individually the issue only comes once I try to do them both at the same time. Extra info, I am only recording Valorant and I'm not that educated on GPU specifics.

MY SPECS:
Processor
AMD Ryzen™ 9 7900X Processor (12X 4.7GHz/64MB L3 Cache)
Processor CoolingiBUYPOWER 240mm Addressable RGB Liquid Cooler (Version 2023) - Black
Memory16 GB [8 GB X2] DDR5-5200MHz Memory Module - Certified Major Brand Gaming Memory [Free Upgrade to 32GB DDR5-5600 TEAMGROUP T-Force Delta RGB]
Video CardNVIDIA GeForce RTX 4070 Ti - 12GB GDDR6X (DLSS 3.0 – AI-Powered Performance) - ASUS TUF GAMING OC
MotherboardMSI PRO B650-P WIFI - WIFI6E, ARGB Header (2), USB 3.2 Ports (1 Type-C, 3 Type-A), M.2 Slot (2)
Power Supply850 Watt - High Power -80 PLUS Gold Certified PCIe GEN 5
Primary Storage1TB Solidigm P41 Plus M.2 PCIe Gen 4 NVMe SSD -- Gen 4 Read: 4125 MB/s, Write: 2950 MB/s - Free Upgrade to 2TB Solidigm P41 Plus Gen 4 M.2 NVMe SSD

LOG:
 

rockbottom

Active Member
There is some rendering lag so your GPU is slightly overloaded, you may need to reduce the in game quality to get rid of it.

Most of the lag is encoding lag. I made some changes below, update your settings & test. You may need to use a lower Preset but I think P3 or P4 should be OK. There more in the log but let's see how the encoding goes with the changes below. Post a new log when finished testing.

02:27:52.467: User is ignoring service bitrate limits.
02:27:52.468: encoder 'advanced_video_stream': Scaled resolution matches output resolution, scaling disabled > Not Needed Uncheck
02:27:52.490: [game-capture: 'Valorant screen capture'] attempting to hook process: VALORANT-Win64-Shipping.exe
02:27:52.495: [obs-nvenc: 'advanced_video_stream'] settings:
02:27:52.495: codec: H264
02:27:52.495: rate_control: CBR
02:27:52.495: bitrate: 8000
02:27:52.495: cqp: 20
02:27:52.495: keyint: 480 > 2 Seconds
02:27:52.495: preset: p7 > P3 or P4

02:27:52.495: tuning: ll > HQ
02:27:52.495: multipass: fullres > qres

02:27:52.495: profile: high
02:27:52.495: width: 1920
02:27:52.495: height: 1080
02:27:52.495: b-frames: 2
02:27:52.495: lookahead: false
02:27:52.495: psycho_aq: true
02:27:52.495:
02:27:52.497: [game-capture: 'Valorant screen capture'] capture stopped
02:27:52.539: ---------------------------------
02:27:52.539: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.539:
02:27:52.540: ---------------------------------
02:27:52.540: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.540:
02:27:52.541: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://dfw02.contribute.live-video.net/app...
02:27:52.562: [rtmp stream: 'adv_stream'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
02:27:52.739: encoder 'advanced_video_stream': Cannot apply a new video_t object after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot set the scaled resolution after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot enable GPU scaling after the encoder has been initialized
02:27:52.759: [obs-nvenc: 'advanced_video_recording'] settings:
02:27:52.759: codec: H264
02:27:52.759: rate_control: CQP
02:27:52.759: bitrate: 0
02:27:52.759: cqp: 20
02:27:52.759: keyint: 250 > 2 Seconds
02:27:52.759: preset: p4 > P3 or P4
02:27:52.759: tuning: ll > HQ

02:27:52.759: multipass: qres
02:27:52.759: profile: high
02:27:52.759: width: 1920
02:27:52.759: height: 1080
02:27:52.759: b-frames: 2
02:27:52.759: lookahead: false
02:27:52.759: psycho_aq: true
02:27:52.759:
02:27:52.811: ---------------------------------
02:27:52.811: [FFmpeg aac encoder: 'Track3'] bitrate: 160, channels: 2, channel_layout: stereo

02:28:32.715: [rtmp stream: 'adv_stream'] User stopped the stream
02:28:32.715: [rtmp stream: 'adv_stream'] Socket send buffer is 524288 bytes
02:28:32.715: Output 'adv_stream': stopping
02:28:32.715: Output 'adv_stream': Total frames output: 7579
02:28:32.715: Output 'adv_stream': Total drawn frames: 9604 (9642 attempted)
02:28:32.715: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.718: ==== Streaming Stop ================================================
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.946: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/User/Videos/Stream recordings/2024-05-16 02-27-52.mkv' stopped
02:28:32.946: Output 'adv_file_output': stopping
02:28:32.946: Output 'adv_file_output': Total frames output: 7931
02:28:32.946: Output 'adv_file_output': Total drawn frames: 9592 (9630 attempted)
02:28:32.946: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.946: ==== Recording Stop ================================================
02:28:32.946: Video stopped, number of skipped frames due to encoding lag: 6734/7956 (84.6%)
 

camjrefill

New Member
There is some rendering lag so your GPU is slightly overloaded, you may need to reduce the in game quality to get rid of it.

Most of the lag is encoding lag. I made some changes below, update your settings & test. You may need to use a lower Preset but I think P3 or P4 should be OK. There more in the log but let's see how the encoding goes with the changes below. Post a new log when finished testing.

02:27:52.467: User is ignoring service bitrate limits.
02:27:52.468: encoder 'advanced_video_stream': Scaled resolution matches output resolution, scaling disabled > Not Needed Uncheck
02:27:52.490: [game-capture: 'Valorant screen capture'] attempting to hook process: VALORANT-Win64-Shipping.exe
02:27:52.495: [obs-nvenc: 'advanced_video_stream'] settings:
02:27:52.495: codec: H264
02:27:52.495: rate_control: CBR
02:27:52.495: bitrate: 8000
02:27:52.495: cqp: 20
02:27:52.495: keyint: 480 > 2 Seconds
02:27:52.495: preset: p7 > P3 or P4

02:27:52.495: tuning: ll > HQ
02:27:52.495: multipass: fullres > qres

02:27:52.495: profile: high
02:27:52.495: width: 1920
02:27:52.495: height: 1080
02:27:52.495: b-frames: 2
02:27:52.495: lookahead: false
02:27:52.495: psycho_aq: true
02:27:52.495:
02:27:52.497: [game-capture: 'Valorant screen capture'] capture stopped
02:27:52.539: ---------------------------------
02:27:52.539: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.539:
02:27:52.540: ---------------------------------
02:27:52.540: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.540:
02:27:52.541: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://dfw02.contribute.live-video.net/app...
02:27:52.562: [rtmp stream: 'adv_stream'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
02:27:52.739: encoder 'advanced_video_stream': Cannot apply a new video_t object after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot set the scaled resolution after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot enable GPU scaling after the encoder has been initialized
02:27:52.759: [obs-nvenc: 'advanced_video_recording'] settings:
02:27:52.759: codec: H264
02:27:52.759: rate_control: CQP
02:27:52.759: bitrate: 0
02:27:52.759: cqp: 20
02:27:52.759: keyint: 250 > 2 Seconds
02:27:52.759: preset: p4 > P3 or P4
02:27:52.759: tuning: ll > HQ

02:27:52.759: multipass: qres
02:27:52.759: profile: high
02:27:52.759: width: 1920
02:27:52.759: height: 1080
02:27:52.759: b-frames: 2
02:27:52.759: lookahead: false
02:27:52.759: psycho_aq: true
02:27:52.759:
02:27:52.811: ---------------------------------
02:27:52.811: [FFmpeg aac encoder: 'Track3'] bitrate: 160, channels: 2, channel_layout: stereo

02:28:32.715: [rtmp stream: 'adv_stream'] User stopped the stream
02:28:32.715: [rtmp stream: 'adv_stream'] Socket send buffer is 524288 bytes
02:28:32.715: Output 'adv_stream': stopping
02:28:32.715: Output 'adv_stream': Total frames output: 7579
02:28:32.715: Output 'adv_stream': Total drawn frames: 9604 (9642 attempted)
02:28:32.715: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.718: ==== Streaming Stop ================================================
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.946: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/User/Videos/Stream recordings/2024-05-16 02-27-52.mkv' stopped
02:28:32.946: Output 'adv_file_output': stopping
02:28:32.946: Output 'adv_file_output': Total frames output: 7931
02:28:32.946: Output 'adv_file_output': Total drawn frames: 9592 (9630 attempted)
02:28:32.946: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.946: ==== Recording Stop ================================================
02:28:32.946: Video stopped, number of skipped frames due to encoding lag: 6734/7956 (84.6%)
I think having such high presets for streaming was my issue, i lowered them and noticed no real quality difference. I also unchecked psycho visual tuning from recording but I did a test stream for 8 minutes that was fine. In the past when I have tested things wouldn't start getting choppy until 15-20 minutes, so later tonight I will do a longer test.
LOG:
 

camjrefill

New Member
There is some rendering lag so your GPU is slightly overloaded, you may need to reduce the in game quality to get rid of it.

Most of the lag is encoding lag. I made some changes below, update your settings & test. You may need to use a lower Preset but I think P3 or P4 should be OK. There more in the log but let's see how the encoding goes with the changes below. Post a new log when finished testing.

02:27:52.467: User is ignoring service bitrate limits.
02:27:52.468: encoder 'advanced_video_stream': Scaled resolution matches output resolution, scaling disabled > Not Needed Uncheck
02:27:52.490: [game-capture: 'Valorant screen capture'] attempting to hook process: VALORANT-Win64-Shipping.exe
02:27:52.495: [obs-nvenc: 'advanced_video_stream'] settings:
02:27:52.495: codec: H264
02:27:52.495: rate_control: CBR
02:27:52.495: bitrate: 8000
02:27:52.495: cqp: 20
02:27:52.495: keyint: 480 > 2 Seconds
02:27:52.495: preset: p7 > P3 or P4

02:27:52.495: tuning: ll > HQ
02:27:52.495: multipass: fullres > qres

02:27:52.495: profile: high
02:27:52.495: width: 1920
02:27:52.495: height: 1080
02:27:52.495: b-frames: 2
02:27:52.495: lookahead: false
02:27:52.495: psycho_aq: true
02:27:52.495:
02:27:52.497: [game-capture: 'Valorant screen capture'] capture stopped
02:27:52.539: ---------------------------------
02:27:52.539: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.539:
02:27:52.540: ---------------------------------
02:27:52.540: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
02:27:52.540:
02:27:52.541: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://dfw02.contribute.live-video.net/app...
02:27:52.562: [rtmp stream: 'adv_stream'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
02:27:52.739: encoder 'advanced_video_stream': Cannot apply a new video_t object after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot set the scaled resolution after the encoder has been initialized
02:27:52.739: encoder 'advanced_video_stream': Cannot enable GPU scaling after the encoder has been initialized
02:27:52.759: [obs-nvenc: 'advanced_video_recording'] settings:
02:27:52.759: codec: H264
02:27:52.759: rate_control: CQP
02:27:52.759: bitrate: 0
02:27:52.759: cqp: 20
02:27:52.759: keyint: 250 > 2 Seconds
02:27:52.759: preset: p4 > P3 or P4
02:27:52.759: tuning: ll > HQ

02:27:52.759: multipass: qres
02:27:52.759: profile: high
02:27:52.759: width: 1920
02:27:52.759: height: 1080
02:27:52.759: b-frames: 2
02:27:52.759: lookahead: false
02:27:52.759: psycho_aq: true
02:27:52.759:
02:27:52.811: ---------------------------------
02:27:52.811: [FFmpeg aac encoder: 'Track3'] bitrate: 160, channels: 2, channel_layout: stereo

02:28:32.715: [rtmp stream: 'adv_stream'] User stopped the stream
02:28:32.715: [rtmp stream: 'adv_stream'] Socket send buffer is 524288 bytes
02:28:32.715: Output 'adv_stream': stopping
02:28:32.715: Output 'adv_stream': Total frames output: 7579
02:28:32.715: Output 'adv_stream': Total drawn frames: 9604 (9642 attempted)
02:28:32.715: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.718: ==== Streaming Stop ================================================
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.802: warning: 2 frames left in the queue on closing
02:28:32.946: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/User/Videos/Stream recordings/2024-05-16 02-27-52.mkv' stopped
02:28:32.946: Output 'adv_file_output': stopping
02:28:32.946: Output 'adv_file_output': Total frames output: 7931
02:28:32.946: Output 'adv_file_output': Total drawn frames: 9592 (9630 attempted)
02:28:32.946: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 38 (0.4%)
02:28:32.946: ==== Recording Stop ================================================
02:28:32.946: Video stopped, number of skipped frames due to encoding lag: 6734/7956 (84.6%)
Here is another log file with P5 instead of P4 and I turned CQP from 20 to 18 and around the 3 minute mark started lagging/choppy.
Might just have to do a long test tonight with P4

LOG:
 

rockbottom

Active Member
Yeah, P5 is too slow for that GPU. Those tests were done with a 4090, a bit more of everything there...

You used P3 & P4 here. As you can see there is still rendering lag, your GPU is overloaded. You can dial back the game quality settings or lower the monitor from 240 to 120HZ to reduce the load. The rendering lag needs to go. Use P3 for both encodes on the next test.

14:47:27.569: [game-capture: 'Valorant screen capture'] d3d11 shared texture capture successful
14:47:27.572: [game-capture: 'Valorant screen capture'] shared texture capture successful
14:47:41.132: [rtmp stream: 'adv_stream'] User stopped the stream
14:47:41.132: [rtmp stream: 'adv_stream'] Socket send buffer is 524288 bytes
14:47:41.132: Output 'adv_stream': stopping
14:47:41.132: Output 'adv_stream': Total frames output: 119583
14:47:41.132: Output 'adv_stream': Total drawn frames: 119961 (120162 attempted)
14:47:41.132: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 201 (0.2%)
14:47:41.135: ==== Streaming Stop ================================================
14:47:41.195: warning: 2 frames left in the queue on closing
14:47:41.195: warning: 2 frames left in the queue on closing
14:47:41.572: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/User/Videos/Stream recordings/2024-05-16 14-39-20.mkv' stopped
14:47:41.573: Output 'adv_file_output': stopping
14:47:41.573: Output 'adv_file_output': Total frames output: 119917
14:47:41.573: Output 'adv_file_output': Total drawn frames: 119969 (120170 attempted)
14:47:41.573: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 201 (0.2%)
14:47:41.573: Video stopped, number of skipped frames due to encoding lag: 201/120169 (0.2%)
14:47:41.573: ==== Recording Stop ================================================
 

camjrefill

New Member
Yeah, P5 is too slow for that GPU. Those tests were done with a 4090, a bit more of everything there...

You used P3 & P4 here. As you can see there is still rendering lag, your GPU is overloaded. You can dial back the game quality settings or lower the monitor from 240 to 120HZ to reduce the load. The rendering lag needs to go. Use P3 for both encodes on the next test.

14:47:27.569: [game-capture: 'Valorant screen capture'] d3d11 shared texture capture successful
14:47:27.572: [game-capture: 'Valorant screen capture'] shared texture capture successful
14:47:41.132: [rtmp stream: 'adv_stream'] User stopped the stream
14:47:41.132: [rtmp stream: 'adv_stream'] Socket send buffer is 524288 bytes
14:47:41.132: Output 'adv_stream': stopping
14:47:41.132: Output 'adv_stream': Total frames output: 119583
14:47:41.132: Output 'adv_stream': Total drawn frames: 119961 (120162 attempted)
14:47:41.132: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 201 (0.2%)
14:47:41.135: ==== Streaming Stop ================================================
14:47:41.195: warning: 2 frames left in the queue on closing
14:47:41.195: warning: 2 frames left in the queue on closing
14:47:41.572: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/User/Videos/Stream recordings/2024-05-16 14-39-20.mkv' stopped
14:47:41.573: Output 'adv_file_output': stopping
14:47:41.573: Output 'adv_file_output': Total frames output: 119917
14:47:41.573: Output 'adv_file_output': Total drawn frames: 119969 (120170 attempted)
14:47:41.573: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 201 (0.2%)
14:47:41.573: Video stopped, number of skipped frames due to encoding lag: 201/120169 (0.2%)
14:47:41.573: ==== Recording Stop ================================================
So I just did a 5 hour stream and didn't have a single issue other than my application audio beta glitching out and echoing a crap ton. Gonna look for a fix on that but overall very happy with the results. Recordings/stream looks decent enough, I was under the impression that using different presets would make the quality degrade dramatically but I honestly can barely notice a difference. If you have anymore tips on a setting that would be worth testing let me know. Also, if you're interested in checking out the results I'll post a link of my last stream. Thank you for the advice I really appreciate it.

Stream(I accidentally stopped the stream and had to restart it halfway through so there is two links):

LOG:
 

rockbottom

Active Member
Getting there, not done yet, still have some minor rendering lag & clean up. It appears that there were also (2) concurrent encodes running on the multi-RTMP output? Look at the end of the log.

I don't use Application Audio for that reason, no fix yet AFAIK.

Check both the recording & stream tabs, uncheck rescale output.

Check Texture Filter Quality in the Nvidia Control Panel, if it's set @ Max Quality or Quality try a faster setting, Performance or High Performance. Throughput of the GPU will be increased (almost 2x) with little to no visual impact. Might eliminate that slight amount of rendering lag.
00:10:05.189: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 301 (0.0%)

22:22:24.257: Game DVR: On > Off (Windows)

22:22:25.336: [noise suppress: 'Noise Suppression'] NVAFX redist is not installed.
22:22:25.336: [Loaded global audio device]: 'Mic/Aux'
22:22:25.336: - filter: 'Gain' (gain_filter)
22:22:25.336: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
22:22:25.336: - filter: '3-Band Equalizer' (basic_eq_filter)
22:22:25.336: - filter: 'Expander' (expander_filter)
22:22:25.336: - filter: 'Compressor' (compressor_filter)

22:22:27.019: [DShow Device: 'webcam'] settings updated:
22:22:27.019: video device: Cam Link 4K
22:22:27.019: video path: \\?\usb#vid_0fd9&pid_0066&mi_00#a&38e0577&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
22:22:27.019: resolution: 1920x1080
22:22:27.019: flip: 0
22:22:27.019: fps: 59.94 (interval: 166833)
22:22:27.019: format: NV12
22:22:27.019: buffering: disabled
22:22:27.019: hardware decode: disabled
22:22:27.034: using video device audio: no
22:22:27.034: separate audio filter
22:22:27.034: sample rate: 44100 > 48K
22:22:27.034: channels: 2
22:22:27.034: audio type: Capture
22:22:27.421: adding 85 milliseconds of audio buffering, total audio buffering is now 128 milliseconds (source: webcam)
22:53:37.397: Max audio buffering reached!
22:53:37.397: adding 832 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: webcam)
22:53:37.397:
22:53:37.417: Source webcam audio is lagging (over by 60336.07 ms) at max audio buffering. Restarting source audio.

02:14:47.635: Source webcam audio is lagging (over by 56263.67 ms) at max audio buffering. Restarting source audio.
 
Last edited:

camjrefill

New Member
Getting there, not done yet, still have some minor rendering lag & clean up. It appears that there were also (2) concurrent encodes running on the multi-RTMP output? Look at the end of the log.

I don't use Application Audio for that reason, no fix yet AFAIK.

Check both the recording & stream tabs, uncheck rescale output.

Check Texture Filter Quality in the Nvidia Control Panel, if it's set @ Max Quality or Quality try a faster setting, Performance or High Performance. Throughput of the GPU will be increased (almost 2x) with little to no visual impact. Might eliminate that slight amount of rendering lag.
00:10:05.189: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 301 (0.0%)

22:22:24.257: Game DVR: On > Off (Windows)

22:22:25.336: [noise suppress: 'Noise Suppression'] NVAFX redist is not installed.
22:22:25.336: [Loaded global audio device]: 'Mic/Aux'
22:22:25.336: - filter: 'Gain' (gain_filter)
22:22:25.336: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
22:22:25.336: - filter: '3-Band Equalizer' (basic_eq_filter)
22:22:25.336: - filter: 'Expander' (expander_filter)
22:22:25.336: - filter: 'Compressor' (compressor_filter)

22:22:27.019: [DShow Device: 'webcam'] settings updated:
22:22:27.019: video device: Cam Link 4K
22:22:27.019: video path: \\?\usb#vid_0fd9&pid_0066&mi_00#a&38e0577&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
22:22:27.019: resolution: 1920x1080
22:22:27.019: flip: 0
22:22:27.019: fps: 59.94 (interval: 166833)
22:22:27.019: format: NV12
22:22:27.019: buffering: disabled
22:22:27.019: hardware decode: disabled
22:22:27.034: using video device audio: no
22:22:27.034: separate audio filter
22:22:27.034: sample rate: 44100 > 48K
22:22:27.034: channels: 2
22:22:27.034: audio type: Capture
22:22:27.421: adding 85 milliseconds of audio buffering, total audio buffering is now 128 milliseconds (source: webcam)
22:53:37.397: Max audio buffering reached!
22:53:37.397: adding 832 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: webcam)
22:53:37.397:
22:53:37.417: Source webcam audio is lagging (over by 60336.07 ms) at max audio buffering. Restarting source audio.

02:14:47.635: Source webcam audio is lagging (over by 56263.67 ms) at max audio buffering. Restarting source audio.
I went ahead and routed my voicemeeter banana last night so the audio is fixed.
I have rescale output disabled on stream and recording.
I changed my Texture Filter Quality to performance and will start stream soon.
Couldn't find Game DVR settings but I think it's because I have the game bar disabled.
Not exactly sure about the Noise Suppression filter but my mic quality sounds fair.
Change sample rate to 44100 but I don't even use my webcam audio for any inputs so I'm not sure why it is being tracked.
Will send a log later-on in a separate reply.
 

camjrefill

New Member
Getting there, not done yet, still have some minor rendering lag & clean up. It appears that there were also (2) concurrent encodes running on the multi-RTMP output? Look at the end of the log.

I don't use Application Audio for that reason, no fix yet AFAIK.

Check both the recording & stream tabs, uncheck rescale output.

Check Texture Filter Quality in the Nvidia Control Panel, if it's set @ Max Quality or Quality try a faster setting, Performance or High Performance. Throughput of the GPU will be increased (almost 2x) with little to no visual impact. Might eliminate that slight amount of rendering lag.
00:10:05.189: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 301 (0.0%)

22:22:24.257: Game DVR: On > Off (Windows)

22:22:25.336: [noise suppress: 'Noise Suppression'] NVAFX redist is not installed.
22:22:25.336: [Loaded global audio device]: 'Mic/Aux'
22:22:25.336: - filter: 'Gain' (gain_filter)
22:22:25.336: - filter: 'Noise Suppression' (noise_suppress_filter_v2)
22:22:25.336: - filter: '3-Band Equalizer' (basic_eq_filter)
22:22:25.336: - filter: 'Expander' (expander_filter)
22:22:25.336: - filter: 'Compressor' (compressor_filter)

22:22:27.019: [DShow Device: 'webcam'] settings updated:
22:22:27.019: video device: Cam Link 4K
22:22:27.019: video path: \\?\usb#vid_0fd9&pid_0066&mi_00#a&38e0577&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
22:22:27.019: resolution: 1920x1080
22:22:27.019: flip: 0
22:22:27.019: fps: 59.94 (interval: 166833)
22:22:27.019: format: NV12
22:22:27.019: buffering: disabled
22:22:27.019: hardware decode: disabled
22:22:27.034: using video device audio: no
22:22:27.034: separate audio filter
22:22:27.034: sample rate: 44100 > 48K
22:22:27.034: channels: 2
22:22:27.034: audio type: Capture
22:22:27.421: adding 85 milliseconds of audio buffering, total audio buffering is now 128 milliseconds (source: webcam)
22:53:37.397: Max audio buffering reached!
22:53:37.397: adding 832 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: webcam)
22:53:37.397:
22:53:37.417: Source webcam audio is lagging (over by 60336.07 ms) at max audio buffering. Restarting source audio.

02:14:47.635: Source webcam audio is lagging (over by 56263.67 ms) at max audio buffering. Restarting source audio.
just finished a short stream, everything seemed smooth again!

LOG:
 

rockbottom

Active Member
About the same as the previous test. Very slight rendering lag & the audio is still lagging as well. The RTMP multi-out is still in play but the settings aren't being logged, are you using "Get From OBS" for the A/V encoders? Need to account for what this plugin is doing.

Also need to account for Source Record as that was used too, just like the multi out, no settings were logged.
1:28:58.135: Output 'Gameplay Recording': stopping
01:28:58.135: Output 'Gameplay Recording': Total frames output: 597309
01:28:58.135: Output 'Gameplay Recording': Total drawn frames: 597328 (597583 attempted)
01:28:58.135: Output 'Gameplay Recording': Number of lagged frames due to rendering lag/stalls: 255 (0.0%)
01:28:58.135: Video stopped, number of skipped frames due to encoding lag: 255/597581 (0.0%)

The Nvidia NR Filter message is normal, I tried both Speex/RNN & the message was in my log with either enabled. Information only.
Switching to 44k is fine but all devices need to be changed. Focusrite & Voicemeter are still @ 48K.

This is in every log. Not sure what's the source.
01:30:02.871: encoder 'advanced_video_stream': Cannot apply a new video_t object while the encoder is active
01:30:02.871: encoder 'adv_stream_audio': Cannot apply a new audio_t object while the encoder is active
01:30:02.871: encoder 'advanced_video_stream': Cannot set the scaled resolution while the encoder is active
01:30:02.871: encoder 'advanced_video_stream': Cannot enable GPU scaling while the encoder is active

If it's not enabled, try turning v-sync on for the next test.
 

rockbottom

Active Member
I ran a test on my system, all good. We're on the right track. One thing I noticed, since the framerate is so high, the number of lagged frames is much higher than normal when switching Scenes. Wonder if some of your lag is happening everytime you hook the game capture. Keep on eye on the stats window when you test.

 

rockbottom

Active Member
I'm not sure if the AMD iGPU's are worthwhile with OBS but there is one on the 7900X, might be useful for the Multi-RTMP/Source record encodes if it works. That's what I use my iGPU for, it would be to be enabled/vetted on your system...
 

rockbottom

Active Member
Your streams looks good. Have the source playing side by side in Edge with no acceleration & FireFox with acceleration. Stats are up, 240FPS is being maintained nicely, not much fluctuation at all. Frames are being dropped on playback but it's smooth.
 

rockbottom

Active Member
Still testing. Change your encoding Tuning to HQ on at least the recording. Low Latency adds unnecessary load & @ 240FPS no need to worry about latency, it's already smokin'.

No lagged frames over here until I switch both encodes to LL & then it gets ugly.
 

camjrefill

New Member
About the same as the previous test. Very slight rendering lag & the audio is still lagging as well. The RTMP multi-out is still in play but the settings aren't being logged, are you using "Get From OBS" for the A/V encoders? Need to account for what this plugin is doing.

Also need to account for Source Record as that was used too, just like the multi out, no settings were logged.
1:28:58.135: Output 'Gameplay Recording': stopping
01:28:58.135: Output 'Gameplay Recording': Total frames output: 597309
01:28:58.135: Output 'Gameplay Recording': Total drawn frames: 597328 (597583 attempted)
01:28:58.135: Output 'Gameplay Recording': Number of lagged frames due to rendering lag/stalls: 255 (0.0%)
01:28:58.135: Video stopped, number of skipped frames due to encoding lag: 255/597581 (0.0%)

The Nvidia NR Filter message is normal, I tried both Speex/RNN & the message was in my log with either enabled. Information only.
Switching to 44k is fine but all devices need to be changed. Focusrite & Voicemeter are still @ 48K.

This is in every log. Not sure what's the source.
01:30:02.871: encoder 'advanced_video_stream': Cannot apply a new video_t object while the encoder is active
01:30:02.871: encoder 'adv_stream_audio': Cannot apply a new audio_t object while the encoder is active
01:30:02.871: encoder 'advanced_video_stream': Cannot set the scaled resolution while the encoder is active
01:30:02.871: encoder 'advanced_video_stream': Cannot enable GPU scaling while the encoder is active

If it's not enabled, try turning v-sync on for the next test.
Just finished another stream, I didn't do v-sync because valorant doesn't have that option.
I changed my audio settings in voicemeeter and focusrite.
Changed to HQ on both recording and streaming!
I also quit capping the framerate in-game just because I like to try and get as much fps as I can while I play.

LOG:
 

rockbottom

Active Member
v-sync is in the Nvidia Control Panel. If using "On" enable Triple Buffering too, If you're trying "Fast", no Triple Buffering is needed. Fast does not work correctly with some games.

Remove the Frame caps, v-sync will cap the frame-rate.

Docks > Check Multiple Output (RTMP Multi-Output), the dock should now be visible. Go in there & disable it.

00:54:32.425: Output 'multi-output': 25 second delay active, preserve on disconnect is on
00:54:32.425: Output 'multi-output': 25 second delay active, preserve on disconnect is on
00:54:44.117: Settings changed (advanced)
00:54:44.117: ------------------------------------------------
00:54:56.086: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://dfw02.contribute.live-video.net/app...
00:54:56.128: [rtmp stream: 'adv_stream'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
00:54:57.385: [rtmp stream: 'adv_stream'] Connection to rtmp://dfw02.contribute.live-video.net/app (52.223.240.79) successful
00:54:57.385: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
00:54:57.386: ==== Streaming Start ===============================================
00:54:57.428: [rtmp stream: 'multi-output'] Connecting to RTMP URL rtmp://b.rtmp.youtube.com/live2?backup=1...
00:54:57.428: [rtmp stream: 'multi-output'] Connecting to RTMP URL rtmps://fa723fc1b171.global-contribute.live-video.net...
00:54:57.430: No application or playpath in URL!
00:54:57.449: [rtmp stream: 'multi-output'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
00:54:57.479: [rtmp stream: 'multi-output'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
00:54:57.692: [rtmp stream: 'multi-output'] Connection to rtmp://b.rtmp.youtube.com/live2?backup=1 (2607:f8b0:4003:c04::86) successful
00:54:57.692: [rtmp stream: 'multi-output'] Socket send buffer is 65536 bytes
00:54:59.131: [rtmp stream: 'multi-output'] Connection to rtmps://fa723fc1b171.global-contribute.live-video.net (99.181.100.153) successful
00:54:59.132: [rtmp stream: 'multi-output'] Socket send buffer is 65536 bytes
00:56:28.168: [win-wasapi: 'Mic/Aux'] update settings:
 
Top