khaver
Member
We have been having problems with stuttering video recordings of our church's sermons. For the composite we use a UHD webcam (wide and close shot), a display capture of the slides, and a browser source for the title (think 4 1920x1080 images in the UHD frame). From the very beginning using this layout, our recordings, using the standard NVENC h264 in mkv, have had stuttering. Today I did some tests. If I use the x264 encoder, there is no stuttering in the recording, but CPU usage goes way up, as expected. If I use the NVENC h264 encoder in an MP4 file, there is less stuttering, but it was still noticeable. Using the ffmpeg encoder, there was still stuttering using its NVENC h264 encoder.
All the above was having the buffer in the webcam settings set to Auto Detect. I switched it to Enable and tried the standard NVENC h264 encoder again. This time, no stuttering.
This is what I'll use for now on, but I'll probably have to adjust the delay on the audio capture from our soundboard.
Question 1: With the buffer set to Auto Detect, why does the NVENV h264 encoder cause stuttering but the x264 encoder does not? Maybe the software x264 encoder has it's own buffer that it uses? While the hardware encoder just grabs whatever image is on the GPU not taking into account of the frame timestamps?
Question 2: With the buffer set to Enable, is there any case where the buffer can just keep growing and crash OBS?
All the above was having the buffer in the webcam settings set to Auto Detect. I switched it to Enable and tried the standard NVENC h264 encoder again. This time, no stuttering.
This is what I'll use for now on, but I'll probably have to adjust the delay on the audio capture from our soundboard.
Question 1: With the buffer set to Auto Detect, why does the NVENV h264 encoder cause stuttering but the x264 encoder does not? Maybe the software x264 encoder has it's own buffer that it uses? While the hardware encoder just grabs whatever image is on the GPU not taking into account of the frame timestamps?
Question 2: With the buffer set to Enable, is there any case where the buffer can just keep growing and crash OBS?