Make capturing, and right after:
OBS Studio creates a log file each time you run it which contains very useful diagnostic information. Without a log file, it's much harder for any support volunteers to figure out problems and your post may be ignored. To upload a log file, go to the Help menu > Log Files > Upload Last Log...
obsproject.com
Here's the log file:
12:48:19.422: ---------------------------------
12:48:19.422: [x264 encoder: 'advanced_video_recording'] preset: faster
12:48:19.422: [x264 encoder: 'advanced_video_recording'] tune: film
12:48:19.554: [x264 encoder: 'advanced_video_recording'] settings:
12:48:19.554: rate_control: CBR
12:48:19.554: bitrate: 3500
12:48:19.554: buffer size: 3500
12:48:19.554: crf: 23
12:48:19.554: fps_num: 30000
12:48:19.554: fps_den: 1001
12:48:19.554: width: 720
12:48:19.554: height: 540
12:48:19.554: keyint: 250
12:48:19.554:
12:48:19.629: ---------------------------------
12:48:19.662: [FFmpeg aac encoder: 'Track1'] bitrate: 192, channels: 2, channel_layout: stereo
12:48:19.662:
12:48:20.139: ==== Recording Start ===============================================
12:48:20.139: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/nmart/Videos/2024-05-06 12-48-19.mp4'...
12:48:55.693: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/nmart/Videos/2024-05-06 12-48-19.mp4' stopped
12:48:55.693: Output 'adv_file_output': stopping
12:48:55.693: Output 'adv_file_output': Total frames output: 1032
12:48:55.693: Output 'adv_file_output': Total drawn frames: 1066
12:48:55.694: ==== Recording Stop ================================================
12:48:55.694: Video stopped, number of skipped frames due to encoding lag: 2/1066 (0.2%)
12:48:55.709: warning: 2 frames left in the queue on closing