Recording Lag

Nraged45

New Member
I am having video lag on my recordings, both in preview and the actual file. I recently got a Vanco capture card and I run 2 monitors. Before I got the capture card I would record using my pc only and the footage never lagged but it was super pixelated during fast action moments (i.e. turning around fast in fps games). Nothing I tried fixed that and now I'm here with this problem of recording lagging or freezing on one frame. I'm hoping someone can help me. Log below.
 
The log is incomplete but there's no rendering or encoding lag. Have you tried with Kaspersky disabled?

Looks like Nvidia NR is in play but the app is not installed.
On the recording tab, uncheck re-scale output.
Encoding settings, set Tuning to HQ & Multipass to Single Pass or qres.
Sample-rate mismatch on the capture card
 
Thanks for your reply. I updated to the Nvidia app and deleted steel series sonar as it was causing the sample rate issues. I did everything else except turning off Kaspersky and OBS runs better now. I'll post details below.

Log https://obsproject.com/logs/amUryw3da1tVj5ji



1714808280594.png
 
I'm not sure if that plugin works with correctly with the current version of OBS. I had to go back to the July 2023 release before I saw any mention of OBS.

 
Maybe nothing, don't use it. I just don't update OBS until I've confirmed the plugins I use have been updated as well. Nothing in the Logi release notes in almost a year, except for fixing a crash with OBS.

How did it go with Kapersky paused, lag gone?
 
I had some lag in the preview window and in the actual recording. I'm also now having an issue where obs flickers and the preview window shows a black screen when I try to exit my game to do something on the second monitor while recording and it will not start showing the game again when I go back to playing. Here is my latest log. https://obsproject.com/logs/kg4w0GvzPYBvZ08t

Screenshot 2024-05-05 200017.png
 
Slight improvement but not enough to eliminate all of it. Do you have v-sync enabled? Might need to dial back the in game settings.

Your mic is loading up as a Global & Source input.
Sample-rate mis-match on the camera.
19:58:49.981: adding 320 milliseconds of audio buffering, total audio buffering is now 362 milliseconds (source: Logitech Web Cam)

19:58:55.763: warning: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

For your next test make sure v-sync is enabled & create a new Profile with just (1) Scene & (1) source. Want to make sure the current Profile isn't bugged.
 
The rendering lag got worse. The log is incomplete but the Vanco was used previously, might be the issue. Remove it from the mix & try a different source like a media source.
 
The rendering lag is still there. Nvidia driver might be bad, could be a conflict or something else going on. OBS looks good & your hardware shouldn't be struggling with the settings in play.
 
I checked all the logs, incomplete. Post a complete log when you get a chance.

Run a recording session, close/re-open OBS & post the previous log.
 
Look-ahead, Psycho Visual Tuning and Multipass all use additional GPU. Look-ahead and Psycho Visual Tuning were disabled in the last recording but Multipass was not. Set Mutlipass to Single pass to disable it. Close any other programs that may be using your GPU such as web browsers.
 
So, there is nothing lagging, everything appears to be moving plenty fast enough but yet you still have rendering lag?

Just looked at the new log, the new driver produces basically the same results. Might be time for DDU.

17:19:17.232: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 86 (0.8%)

17:19:17.232: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 86 (0.8%)

17:19:25.888: audio_thread(Audio): min=0.003 ms, median=0.146 ms, max=396.053 ms, 99th percentile=0.382 ms
17:19:25.888: ┗receive_audio: min=0.004 ms, median=0.127 ms, max=11.676 ms, 99th percentile=0.282 ms, 0.904639 calls per parent call
17:19:25.888: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.009 ms, 99th percentile=0.003 ms
17:19:25.888: ┗do_encode: min=0.064 ms, median=0.124 ms, max=11.675 ms, 99th percentile=0.274 ms
17:19:25.888: ┣encode(Track1): min=0.057 ms, median=0.102 ms, max=1.833 ms, 99th percentile=0.17 ms
17:19:25.888: ┗send_packet: min=0 ms, median=0.012 ms, max=11.601 ms, 99th percentile=0.142 ms
17:19:25.888: obs_graphics_thread(16.6667 ms): min=0.034 ms, median=0.283 ms, max=690.189 ms, 99th percentile=1.355 ms, 99.7346% below 16.667 ms
17:19:25.888: ┣tick_sources: min=0.001 ms, median=0.012 ms, max=690.081 ms, 99th percentile=0.04 ms
17:19:25.888: ┣output_frame: min=0.025 ms, median=0.201 ms, max=410.492 ms, 99th percentile=0.721 ms
17:19:25.888: ┃ ┗gs_context(video->graphics): min=0.025 ms, median=0.201 ms, max=410.489 ms, 99th percentile=0.72 ms
17:19:25.889: ┃ ┣render_video: min=0.002 ms, median=0.182 ms, max=410.475 ms, 99th percentile=0.474 ms
17:19:25.889: ┃ ┃ ┣render_main_texture: min=0.001 ms, median=0.024 ms, max=0.55 ms, 99th percentile=0.045 ms
17:19:25.889: ┃ ┃ ┣render_convert_texture: min=0.006 ms, median=0.013 ms, max=0.286 ms, 99th percentile=0.036 ms, 0.9086 calls per parent call
17:19:25.889: ┃ ┃ ┗output_gpu_encoders: min=0 ms, median=0.033 ms, max=1.825 ms, 99th percentile=0.1 ms, 0.9086 calls per parent call
17:19:25.889: ┃ ┗gs_flush: min=0.003 ms, median=0.018 ms, max=150.458 ms, 99th percentile=0.216 ms
17:19:25.889: ┗render_displays: min=0 ms, median=0.063 ms, max=13.368 ms, 99th percentile=0.205 ms
17:19:25.889: obs_gpu_encode_thread(16.6667 ms): min=0.001 ms, median=0.383 ms, max=90.68 ms, 99th percentile=2.212 ms, 99.9323% below 16.667 ms
17:19:25.889: ┣gpu_encode_frame: min=0.12 ms, median=0.338 ms, max=90.658 ms, 99th percentile=2.174 ms
17:19:25.889: ┗send_packet: min=0.005 ms, median=0.018 ms, max=11.592 ms, 99th percentile=0.156 ms
17:19:25.889: =================================================
17:19:25.889: == Profiler Time Between Calls ==================
17:19:25.889: obs_hotkey_thread(25 ms): min=24.167 ms, median=25.536 ms, max=459.549 ms, 46.4668% within ±2% of 25 ms (0.081378% lower, 53.4518% higher)
17:19:25.889: obs_graphics_thread(16.6667 ms): min=0.451 ms, median=16.667 ms, max=690.193 ms, 98.2833% within ±2% of 16.667 ms (0.876029% lower, 0.840634% higher)
17:19:25.889: obs_gpu_encode_thread(16.6667 ms): min=0.129 ms, median=16.665 ms, max=442.436 ms, 95.5521% within ±2% of 16.667 ms (2.77509% lower, 1.67279% higher)
 
When I look at the recordings in the file browser there is some random stuttering present. I went all the way through uploading to youtube and in the youtube video, any kind of motion made the video blurry and pixelated. I know youtube ruins everything to a degree. This log is without the capture card and just my 2 monitors. https://obsproject.com/logs/vtiQcGmhBxj5mfce
 
Back
Top