Question / Help OBS Encoding Overload

Ramza

New Member
Log https://gist.github.com/anonymous/fdb0af07187e2e0cca73f8eb77e55d76

I'm not exactly a novice when it comes to this kinda thing, but this has me beat. No matter what CPU preset or bitrate I choose, I always get "encoding overloaded!" error, about 10 seconds into streaming. The stream will continue but will crawl to about 1FPS whenever I watch back a VOD. Even changing the FPS to 30 yields the same results. My system and internet should not be struggling (i5 6500, 16GB RAM, 50Mbps upload), yet they are. OBS is updated to latest version, and all my drivers are up to date.

FWIW, my monitor resolution is 1440x900@75HZ. I rescale to 720p in OBS. Lanczos filter. FPS can be either 30/60 and the problem persists. Here is a link to OBS settings. Even on veryfast preset the problem persists, when my system should be able to handle a slower preset np.

https://i.imgur.com/7ynzUDn.png

I usually have keyframes to 2, but had it at 0 for some reason in this picture. Problem persists no matter what combination of settings I am using. Any help would be highly appreciated.
 

EBrito

Active Member
As you rescale in video settings, DO NOT rescale again in output settings. Leave it unchecked.

02:02:43.243: Failed to initialize obs video (-4) with graphics_module='libobs-d3d11.dll', retrying with graphics_module='libobs-opengl.dll'

Go to %appdata%\obs-studio\global.ini and change Renderer= from OpenGL to Direct3D 11
Maybe this solves your issue.

Update AMD AMF plugin
https://obsproject.com/forum/resour...-framework-encoder-plugin-for-obs-studio.427/

Are your GPU drivers up to date?
 

Ramza

New Member
As you rescale in video settings, DO NOT rescale again in output settings. Leave it unchecked.

02:02:43.243: Failed to initialize obs video (-4) with graphics_module='libobs-d3d11.dll', retrying with graphics_module='libobs-opengl.dll'

Go to %appdata%\obs-studio\global.ini and change Renderer= from OpenGL to Direct3D 11
Maybe this solves your issue.

Update AMD AMF plugin
https://obsproject.com/forum/resour...-framework-encoder-plugin-for-obs-studio.427/

Are your GPU drivers up to date?

I opened that .ini file and this is all I see

[General]
LicenseAccepted=true
LastUpdateCheck=0
LastVersion=285212672

[PropertiesWindow]
cx=720
cy=580

[BasicWindow]
geometry=AdnQywACAAAAAAdtAAAAEgAACr4AAALwAAAHdQAAADEAAAq2AAAC6AAAAAEAAAAABVA=
splitterTop=474
splitterBottom=158
PreviewEnabled=true
AlwaysOnTop=false
SceneDuplicationMode=true
SwapScenesMode=true
EditPropertiesMode=false
PreviewProgramMode=false
WarnBeforeStartingStream=true
WarnBeforeStoppingStream=true
HideProjectorCursor=false
ProjectorAlwaysOnTop=false
SysTrayWhenStarted=false

[Basic]
SceneCollection=Untitled
SceneCollectionFile=Untitled

There is no entry for renderer. Should I go ahead and add it in? If so, under which heading will I add it?

I am encoding with CPU so AMD AMF isn't the issue. And yes, GPU drivers all up to date. It is strange however that it is not rendering using D3D11?
 

Ramza

New Member
My .ini has this at the bottom:

[Video]
Renderer=Direct3D 11

Try adding it,

Just added it, problem still persists. So frustrating. I keep getting the "encoding overloaded!" error, and then the encoding freezes. The VOD playback will have audio but will just show a freeze frame from the frame it crashes.
 

EBrito

Active Member
Export profile and scene collection.

Uninstall OBS deleting user settings
Reinstall OBS

Try it.

Import scene collection. Try it

Import profile. Try it.

I think this will give us an idea where is the problem (I hope)
 

Ramza

New Member
Export profile and scene collection.

Uninstall OBS deleting user settings
Reinstall OBS

Try it.

Import scene collection. Try it

Import profile. Try it.

I think this will give us an idea where is the problem (I hope)

Didn't help, still getting the same error. I even tried lowering the preset to ultrafast and lowering bitrate and still getting the issue. Re-installing OBS did seem to fix the D3D11 issue though. This is strange, my PC should not be struggling to encode video using x264, given the system spec.

Don't use cpu preset 'faster'.

No matter what preset I use, I keep getting the same error. I can set it to utlrafast and set my bitrate to like 1000kb/s (a mere fraction of my upload speed) and it still happens. :(
 
Top