My OBS keeps having a econding issue, despite having good specs and being reasonable with the settings

Silv3rSK

New Member
So Iv recently just had this problem and Im kinda a noob with these stuff. All I can say is that it just happened with no explanation. I have my settings at a reasonable area and Iv got a great spec pc (listed below). If anyone can help me, let me know

Specs- rtx 2070- i7 8700- 16gb ram

I record and upload on YouTube too





The settings
Recording
Path - SSD
Encoder - NVIDIA NVENC H.264 new
Rate Control - VBR
Bitrate - 40,000
Max Bitrate - 60,000
Keyframe Interval - 0
Preset - Max Quality
Profile - High
Look Ahead and Psycho Visual Tuning On
GPU - 0

Max B Frames 2



Video

Base Canvas - 2560x1440

Output - 1920x1080

Downscale Filter - Lanczos 36 samples

60 fps



Process Priority - Above Normal



Also the information you referenced didnt help with my issue. Iv also tried to use previous versions of OBS but still no solution (Im on the newest one rn) and use what OBS recommended me using but still with the same encoding issue

Heres a OBS Log of a 3 Min clip
 

Attachments

Turn off Psychovisual Tuning and Lookahead, and switch from Max Quality to Quality. All of these options utilize CUDA in addition to the nvenc encoder, which can create conflicts when gaming.

You're also running 2 monitors at different refresh rates, which windows versions prior to the latest 2004 update have issues with. Either run both monitors at the same refresh rate, or update windows.
 
Turn off Psychovisual Tuning and Lookahead, and switch from Max Quality to Quality. All of these options utilize CUDA in addition to the nvenc encoder, which can create conflicts when gaming.

You're also running 2 monitors at different refresh rates, which windows versions prior to the latest 2004 update have issues with. Either run both monitors at the same refresh rate, or update windows.

Did all that and updated and still receive the encoding errors. Do you have any suggestions for settings or anything else I should do?
 
Can you post an updated log of a recording session? Having recording lag in general using the base Nvenc encoder is unexpected... having >50% frames lost to encoding lag using nvenc on a 2070 means something else is going on.


As a side note, do not record directly to .mp4. This container format requires closing metadata written at the end of recording, so if anything happens to interrupt the recording abruptly (such as a crash), then the entire recording will be corrupted. Record directly to .mkv or .flv instead. If you need .mp4 for editing purposes, then you can remux the recording afterward (either automatically via the advanced settings, or manually through the file menu).

This most likely won't help solve the immediate issue, but will definitely safe potential heartache later.
 
Heres the updated log and a screenshot of the OBS stats and task manager opened.
1592651041443.png
 

Attachments

Can you grab a screenshot of the GPU encoder usage in task manager during encoding? (performance tab)

Also, try lowering your bitrate to 5000kbps just for testing right now.

I also just noticed, OBS is showing Game DVR is on. Turn this off in windows settings -> Gaming -> Game DVR.
 
Ok, so the nvenc encoder isn't overloaded.... or at least, that's what it's reporting in that graph.

Try using the replay buffer and see if the same thing happens. Start the replay buffer, but do not start recording. Save just the replay buffer after a minute.
 
Ok, interesting. So it's not the storage that is causing it -- this is definitely something on-card, or connection-based.

Can you check your PCIe link speed? Download GPU-Z and grab a screenshot of its main window during an encoding session.
 
I'm honestly at a loss.

Do you have any issues with any other games?

Obviously this is going to be limited to Nvenc, but can you check x264 encoding on veryfast, just to have a baseline to compare with?
 
Tried both x264 and Nvenc on Minecraft on the default settings and it was fine. I think I got it sorted and that I might need to lower some settings for GTA V since its a very GPU demanding game. If you have any other suggestions, let me know but otherwise Im gonna try to mess around with some settings for OBS and GTA.
 

Attachments

Back
Top