Rendering lag is GPU overload, plain & simple. We need to eliminate all of it & fine tune the encoding settings after. Sometimes only (1) recording is lagging while the other is fine. That would explain why the recordings aren't always the same duration.
Only 1
07:46:02.608: [ffmpeg muxer: 'Source Record'] Output of file '//ls210d4cb/Share/Youtube/OBS recordings/2026-08-03 07-45-56-webcam.mkv' stopped
07:46:02.608: Output 'Source Record': stopping
07:46:02.608: Output 'Source Record': Total frames output: 225
07:46:02.608: Output 'Source Record': Total drawn frames: 276
07:46:02.652: warning: 2 frames left in the queue on closing
07:46:04.642: [ffmpeg muxer: 'adv_file_output'] Output of file '//ls210d4cb/Share/Youtube/OBS recordings/2026-08-03 07-45-55.mkv' stopped
07:46:04.642: Output 'adv_file_output': stopping
07:46:04.642: Output 'adv_file_output': Total frames output: 344
07:46:04.642: Output 'adv_file_output': Total drawn frames: 496 (528 attempted)
07:46:04.642: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 32 (6.1%)
07:46:04.642: Video stopped, number of skipped frames due to encoding lag: 326/369 (88.3%)
Both
09:57:13.128: [FFmpeg aac encoder: 'Source Record'] bitrate: 128, channels: 2, channel_layout: stereo, track: 6
09:57:13.128:
09:57:13.142: [ffmpeg muxer: 'Source Record'] Writing file '//ls210d4cb/Share/Youtube/OBS recordings/2026-08-03 09-57-13-webcam.mkv'...
09:57:58.051: [ffmpeg muxer: 'Source Record'] Output of file '//ls210d4cb/Share/Youtube/OBS recordings/2026-08-03 09-57-13-webcam.mkv' stopped
09:57:58.051: Output 'Source Record': stopping
09:57:58.051: Output 'Source Record': Total frames output: 2665
09:57:58.051: Output 'Source Record': Total drawn frames: 2680 (2695 attempted)
09:57:58.051: Output 'Source Record': Number of lagged frames due to rendering lag/stalls: 15 (0.6%)
09:57:58.052: Video stopped, number of skipped frames due to encoding lag: 31/2686 (1.2%)
09:57:58.085: warning: 2 frames left in the queue on closing
09:57:58.372: [ffmpeg muxer: 'adv_file_output'] Output of file '//ls210d4cb/Share/Youtube/OBS recordings/2026-08-03 09-57-12.mkv' stopped
09:57:58.373: Output 'adv_file_output': stopping
09:57:58.373: Output 'adv_file_output': Total frames output: 2692
09:57:58.373: Output 'adv_file_output': Total drawn frames: 2705 (2725 attempted)
09:57:58.373: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 20 (0.7%)
09:57:58.373: Video stopped, number of skipped frames due to encoding lag: 25/2717 (0.9%)
09:57:58.374: ==== Recording Stop ================================================
09:57:58.408: warning: 2 frames left in the queue on closing
OBS Knowledge Base. Learn best practices to solve encoding performance issues
obsproject.com