Question / Help Encoding overload.

_FPVMan

New Member
I am having problems with an encoding overload yet my CPU usage is staying low. I'm not using NVENC (so I'm using x264)
Yet am still having problems with encoding even with NVENC on...
Just uploaded the log like this cause... I don't really know why...

Code:
22:38:42.850: CPU Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
22:38:42.869: CPU Speed: 3500MHz
22:38:42.869: Physical Cores: 4, Logical Cores: 4
22:38:42.869: Physical Memory: 8141MB Total, 660MB Free
22:38:42.870: Windows Version: 10.0 Build 10586 (revision: 589; 64-bit)
22:38:42.870: Running as administrator: false
22:38:42.870: Aero is Enabled (Aero is always on for windows 8 and above)
22:38:42.909: Portable mode: false
22:38:43.530: OBS 17.0.2 (64bit, windows)
22:38:43.530: ---------------------------------
22:38:43.537: ---------------------------------
22:38:43.537: audio settings reset:
22:38:43.537:     samples per sec: 44100
22:38:43.537:     speakers:        2
22:38:43.635: ---------------------------------
22:38:43.635: Initializing D3D11..
22:38:43.636: Available Video Adapters:
22:38:43.640:     Adapter 1: NVIDIA GeForce GTX 750
22:38:43.640:       Dedicated VRAM: 1041956864
22:38:43.640:       Shared VRAM:    4268300288
22:38:43.640:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:38:43.885: Loading up D3D11 on adapter NVIDIA GeForce GTX 750 (0)
22:38:43.964: D3D11 loaded sucessfully, feature level used: 45056
22:38:47.098: ---------------------------------
22:38:47.098: video settings reset:
22:38:47.098:     base resolution:   1920x1080
22:38:47.098:     output resolution: 1440x810
22:38:47.098:     downscale filter:  Bicubic
22:38:47.098:     fps:               30/1
22:38:47.098:     format:            NV12
22:38:47.144: ---------------------------------
22:38:47.453: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
22:38:47.513: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:38:47.656: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:38:49.362: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:38:49.381: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:38:49.447: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:38:49.486: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:38:49.486: [browser_source: 'Version: 1.28.0']
22:38:49.957: NVENC supported
22:38:51.130: Couldn't find VLC installation, VLC video source disabled
22:38:51.387: No blackmagic support
22:38:52.959: ---------------------------------
22:38:52.959:   Loaded Modules:
22:38:52.959:     win-wasapi.dll
22:38:52.959:     win-mf.dll
22:38:52.959:     win-dshow.dll
22:38:52.959:     win-decklink.dll
22:38:52.959:     win-capture.dll
22:38:52.959:     vlc-video.dll
22:38:52.959:     text-freetype2.dll
22:38:52.959:     rtmp-services.dll
22:38:52.959:     obs-x264.dll
22:38:52.959:     obs-transitions.dll
22:38:52.959:     obs-text.dll
22:38:52.959:     obs-qsv11.dll
22:38:52.959:     obs-outputs.dll
22:38:52.959:     obs-filters.dll
22:38:52.959:     obs-ffmpeg.dll
22:38:52.959:     obs-browser.dll
22:38:52.959:     image-source.dll
22:38:52.959:     frontend-tools.dll
22:38:52.959:     enc-amf.dll
22:38:52.960:     coreaudio-encoder.dll
22:38:52.960: ==== Startup complete ===============================================
22:38:53.286: Service '' not found
22:38:53.473: All scene data cleared
22:38:53.473: ------------------------------------------------
22:38:53.715: WASAPI: Device 'Speakers (Strix 7.1)' initialized
22:38:53.749: WASAPI: Device 'Microphone (Strix 7.1)' initialized
22:38:54.215: Switched to scene 'Scene'
22:38:54.215: adding 139 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
22:38:54.275: ------------------------------------------------
22:38:54.275: Loaded scenes:
22:38:54.275: - scene 'Scene':
22:38:54.276:     - source: 'Display Capture' (monitor_capture)
22:38:54.276: ------------------------------------------------
22:38:55.223: Update check: last known remote version is 17.0.2
22:39:04.493: rtmp-common.c: [initialize_output] Could not find service ''
22:39:04.508: ---------------------------------
22:39:04.509: [x264 encoder: 'simple_h264_recording'] preset: ultrafast
22:39:04.509: [x264 encoder: 'simple_h264_recording'] profile: high
22:39:04.524: [x264 encoder: 'simple_h264_recording'] settings:
22:39:04.524:     rate_control: CRF
22:39:04.524:     bitrate:      0
22:39:04.524:     buffer size:  0
22:39:04.524:     crf:          20
22:39:04.524:     fps_num:      30
22:39:04.524:     fps_den:      1
22:39:04.524:     width:        1440
22:39:04.524:     height:       810
22:39:04.524:     keyint:       250
22:39:04.524:     vfr:          off
22:39:04.524:
22:39:04.653: [Media Foundation AAC: 'simple_aac_recording']: encoder created
22:39:04.653:     bitrate: 128
22:39:04.653:     channels: 2
22:39:04.653:     sample rate: 44100
22:39:04.653:     bits-per-sample: 16
22:39:04.653:
22:39:04.758: ==== Recording Start ===============================================
22:39:04.758: [ffmpeg muxer: 'simple_file_output'] Writing file 'H:/VIDYOS/2017-01-28 22-39-04.mp4'...
22:40:20.357: [ffmpeg muxer: 'simple_file_output'] Output of file 'H:/VIDYOS/2017-01-28 22-39-04.mp4' stopped
22:40:20.357: Output 'simple_file_output': stopping
22:40:20.357: Output 'simple_file_output': Total encoded frames: 1914
22:40:20.357: Output 'simple_file_output': Total drawn frames: 2268
22:40:20.357: Output 'simple_file_output': Number of skipped frames due to encoding lag: 669 (35.0%)
22:40:20.357: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 5 (0.2%)
22:40:20.372: ==== Recording Stop ================================================
 

Attachments

  • 2017-01-28 22-38-41.txt
    6.2 KB · Views: 2

C-Dude

Member
Can you upload a log with a recording in it while you are trying to use NVENC? All this log is showing is that your CPU is maxed out while using x264.

22:40:20.357: Output 'simple_file_output': Number of skipped frames due to encoding lag: 669 (35.0%)

If you are doing a local recording always use NVENC.

Also what are you trying to record?
 

_FPVMan

New Member
I seem to have fixed the problem,
It seemed to be that my Ethernet driver had a memory leak and left me with about 300MB of RAM for encoding and Running the Sim (I was running FPV Freerider as you asked)
I have since replaced the driver and it doesn't show the encoding error.
When stopping recording the Stopping recording thing comes up for a very long time and within this time it says "Encoding overloaded!" again, is this normal?
 

C-Dude

Member
No it shouldn't do that. I have no clue why its doing that. Can you upload a log where that happens and make sure to wait for it to stop. Also if you could after that happens close and reopen OBS then upload previous log so I can see memory leaks.
 

C-Dude

Member
Whatever you are doing on your PC seems to be maxing out your CPU

13:36:27.855: Output 'simple_file_output': Number of skipped frames due to encoding lag: 487 (30.9%)

Try using game capture when at all possible for much better performance. But also is your game using up a lot of CPU?
 
Top