Question / Help Only 2 cores / 4 threads in use while in game

Vitaliy P.

New Member
Hi there,
Searched almost any topic on ryzen/obs/threads...

The issue I have since ever on Ryzen is as follows (software x264):
  • during capture/streaming, while in game, I see only 2 cores / 4 thread being used all the time;
  • when Alt+Tab, suddenly all 16 threads on 8 cores are used.
Things I've tried:
  • changing capture type (every option)
  • disabling SMT at bios
  • video encoding, every preset/setting
  • affinity
  • process priority
  • run as administrator
  • disabling DVR in Windows
  • run 32-bit version
  • adding 'threads=9' to encode parameters
  • game in dedicated full screen, windowed, windowed borderless
  • Canvas, resolution, scalings...
  • and many more...
Log (small one): https://gist.github.com/9d8c0b4f8a84f8c146ba82cd13f13743

Hardware info:
  • Ryzen 1700x (8 cores / 16 threads)
  • nVidia 1060 OC
  • x370 motherboard
  • 16GB DDR4 3200Mhz
  • Screen resolution 1680x1050
Game in question:
  • World of Tanks
  • Up to 2 (probably 3?) threads mostly in use (game is not multi core optimized)
  • Graphics usage ~85-92%
  • CPU usage at 1 core about ~70-100% (2 threads)
Any idea how to use more threads/cores for software encoding in OBS Studio?

Thank you in advance.
 

Fenrir

Forum Admin
So, the first question I have here is are you having any actual issues? Or are you just assuming something is not working properly?
 

Vitaliy P.

New Member
I'm not sure.
If it's encoder problem, OBS setting, system or hardware issue.
Common sense tells me that if core usage is getting to high it needs to split load across other cores using additional thread(s). Specially if its using video encoding.
In short, having 8 cores but only 3 are used: 2 by OBS at 100% and 1 by game at 100%. The other 5 are idling.
Any thoughts on how to split OBS/encoder load to other cores/threads?

[note] already tried 'threads=9' or even 11.

With best regards.

Quick edit: while game's window is focussed I'm getting this issue. When Alt+Tab to any other window, all cores are used.
 

PersonSuit

New Member
I have a similur problem. I have using a Ryzen 1950x and its only using 8 out of the 16 cores, so I cant even try the Slower or Very Slow settings
 

Vitaliy P.

New Member
While was recording to get new log, found something interesting.
Started another game, that was multi core optimized, set 'CPU Usage: medium; Profile: main'. And all cores were being used by OBS Studio.
Strangely when swapped back to the WoT, only 2 cores were in use by OBS Studio.

Does it have to do something with game it self? I'm confused...

12:18:21.980: CPU Name: AMD Ryzen 7 1700X Eight-Core Processor
12:18:21.980: CPU Speed: 3818MHz
12:18:21.980: Physical Cores: 8, Logical Cores: 16
12:18:21.980: Physical Memory: 16319MB Total, 7921MB Free
12:18:21.980: Windows Version: 10.0 Build 16299 (revision: 125; 64-bit)
12:18:21.980: Running as administrator: false
12:18:21.981: Aero is Enabled (Aero is always on for windows 8 and above)
12:18:21.981: Windows 10 Gaming Features:
12:18:21.981: Game Bar: Off
12:18:21.981: Game DVR Allowed: Yes
12:18:21.981: Game DVR: Off
12:18:21.981: Game DVR Background Recording: Off
12:18:21.981: Game Mode: Off
12:18:21.981: Portable mode: false
12:18:22.007: OBS 20.1.3 (64bit, windows)
12:18:22.007: ---------------------------------
12:18:22.027: ---------------------------------
12:18:22.027: audio settings reset:
12:18:22.027: samples per sec: 44100
12:18:22.027: speakers: 2
12:18:22.028: ---------------------------------
12:18:22.028: Initializing D3D11...
12:18:22.028: Available Video Adapters:
12:18:22.030: Adapter 1: NVIDIA GeForce GTX 1060 6GB
12:18:22.030: Dedicated VRAM: 2051014656
12:18:22.030: Shared VRAM: 4260898816
12:18:22.030: output 1: pos={0, 0}, size={1680, 1050}, attached=true
12:18:22.032: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
12:18:22.079: D3D11 loaded successfully, feature level used: 45056
12:18:22.763: ---------------------------------
12:18:22.763: video settings reset:
12:18:22.763: base resolution: 1680x1050
12:18:22.763: output resolution: 1680x1050
12:18:22.763: downscale filter: Lanczos
12:18:22.763: fps: 60/1
12:18:22.763: format: NV12
12:18:22.765: Audio monitoring device:
12:18:22.765: name: Speakers (ASUS Xonar Essence STX Audio Device)
12:18:22.765: id: {0.0.0.00000000}.{cd869620-6f70-49db-b0c3-b6d83f59a172}
12:18:22.765: ---------------------------------
12:18:22.767: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
12:18:22.769: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
12:18:22.781: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
12:18:22.782: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
12:18:22.783: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
12:18:22.784: Failed to load 'en-US' text for module: 'obs-browser.dll'
12:18:22.784: [browser_source: 'Version: 1.29.0']
12:18:22.789: NVENC supported
12:18:22.840: Couldn't find VLC installation, VLC video source disabled
12:18:22.843: No blackmagic support
12:18:22.866: [rtmp-services plugin] Remote update of URL "https://obsproject.com/obs2_update/rtmp-services/package.json" failed: Could not resolve host: obsproject.com
12:18:22.939: ---------------------------------
12:18:22.939: Loaded Modules:
12:18:22.939: win-wasapi.dll
12:18:22.939: win-mf.dll
12:18:22.939: win-dshow.dll
12:18:22.939: win-decklink.dll
12:18:22.939: win-capture.dll
12:18:22.939: vlc-video.dll
12:18:22.939: text-freetype2.dll
12:18:22.939: rtmp-services.dll
12:18:22.939: obs-x264.dll
12:18:22.939: obs-vst.dll
12:18:22.939: obs-transitions.dll
12:18:22.939: obs-text.dll
12:18:22.939: obs-qsv11.dll
12:18:22.939: obs-outputs.dll
12:18:22.939: obs-filters.dll
12:18:22.939: obs-ffmpeg.dll
12:18:22.939: obs-browser.dll
12:18:22.939: image-source.dll
12:18:22.939: frontend-tools.dll
12:18:22.939: coreaudio-encoder.dll
12:18:22.939: ---------------------------------
12:18:22.939: ==== Startup complete ===============================================
12:18:22.943: All scene data cleared
12:18:22.943: ------------------------------------------------
12:18:22.966: WASAPI: Device 'Speakers (ASUS Xonar Essence STX Audio Device)' initialized
12:18:23.435: Switched to scene 'main stream'
12:18:23.435: ------------------------------------------------
12:18:23.435: Loaded scenes:
12:18:23.435: - scene 'main stream':
12:18:23.435: - source: 'World of Tanks' (game_capture)
12:18:23.435: ------------------------------------------------
12:18:23.470: AutoUpdateThread::run: Failed to fetch manifest file: Could not resolve host: obsproject.com
12:18:41.215: User added scene '7 Days to Die'
12:18:41.216: User switched to scene '7 Days to Die'
12:18:59.124: User added source '7D2D' (game_capture) to scene '7 Days to Die'
12:19:52.722: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
12:20:11.750: [game-capture: '7D2D'] attempting to hook process: 7DaysToDie.exe
12:20:11.755: [game-capture: '7D2D'] using helper (compatibility hook)
12:20:12.036: [game-capture: '7D2D'] hook not loaded yet, retrying..
12:20:13.767: [game-capture: '7D2D'] attempting to hook process: 7DaysToDie.exe
12:20:14.187: [game-capture: '7D2D'] d3d9 shared texture capture successful
12:20:14.199: [game-capture: '7D2D'] shared texture capture successful
12:20:17.813: [game-capture: '7D2D'] Hooked DXGI
12:20:32.415: ---------------------------------
12:20:32.415: [x264 encoder: 'recording_h264'] preset: medium
12:20:32.415: [x264 encoder: 'recording_h264'] profile: main
12:20:32.415: [x264 encoder: 'recording_h264'] settings:
12:20:32.415: rate_control: CBR
12:20:32.415: bitrate: 3500
12:20:32.415: buffer size: 3500
12:20:32.415: crf: 0
12:20:32.415: fps_num: 60
12:20:32.415: fps_den: 1
12:20:32.415: width: 1680
12:20:32.415: height: 1050
12:20:32.415: keyint: 120
12:20:32.415:
12:20:32.424: [Media Foundation AAC: 'Track1']: encoder created
12:20:32.424: bitrate: 160
12:20:32.424: channels: 2
12:20:32.424: sample rate: 44100
12:20:32.424: bits-per-sample: 16
12:20:32.424:
12:20:32.470: ==== Recording Start ===============================================
12:20:32.470: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Vitaliy/Videos/2018-01-13_12-20-32.mkv'...
12:23:29.518: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Vitaliy/Videos/2018-01-13_12-20-32.mkv' stopped
12:23:29.518: Output 'adv_file_output': stopping
12:23:29.518: Output 'adv_file_output': Total frames output: 10548
12:23:29.518: Output 'adv_file_output': Total drawn frames: 10623
12:23:29.518: ==== Recording Stop ================================================
12:23:29.519: Video stopped, number of skipped frames due to encoding lag: 9/10623 (0.1%)
12:25:24.192: ==== Shutting down ==================================================
12:25:24.219: Switched to scene '(null)'
12:25:24.219: [game-capture: '7D2D'] capture stopped
12:25:24.220: WASAPI: Device 'Speakers (ASUS Xonar Essence STX Audio Device)' Terminated
12:25:24.222: All scene data cleared
12:25:24.222: ------------------------------------------------
12:25:24.271: Freeing OBS context data
12:25:24.310: == Profiler Results =============================
12:25:24.310: run_program_init: 1565.85 ms
12:25:24.311: ┣OBSApp::AppInit: 22.804 ms
12:25:24.311: ┃ ┗OBSApp::InitLocale: 1.678 ms
12:25:24.311: ┗OBSApp::OBSInit: 1524.69 ms
12:25:24.311: ┣obs_startup: 2.3 ms
12:25:24.311: ┗OBSBasic::OBSInit: 1460.78 ms
12:25:24.311: ┣OBSBasic::InitBasicConfig: 0.55 ms
12:25:24.311: ┣OBSBasic::ResetAudio: 0.126 ms
12:25:24.311: ┣OBSBasic::ResetVideo: 738.562 ms
12:25:24.311: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
12:25:24.311: ┣OBSBasic::InitHotkeys: 0.042 ms
12:25:24.311: ┣obs_load_all_modules: 173.416 ms
12:25:24.311: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.521 ms
12:25:24.311: ┃ ┣obs_init_module(frontend-tools.dll): 1.848 ms
12:25:24.311: ┃ ┣obs_init_module(image-source.dll): 0.005 ms
12:25:24.311: ┃ ┣obs_init_module(obs-browser.dll): 0.071 ms
12:25:24.311: ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.144 ms
12:25:24.311: ┃ ┣obs_init_module(obs-filters.dll): 0.024 ms
12:25:24.311: ┃ ┣obs_init_module(obs-outputs.dll): 0.006 ms
12:25:24.311: ┃ ┣obs_init_module(obs-qsv11.dll): 34.292 ms
12:25:24.311: ┃ ┣obs_init_module(obs-text.dll): 0.381 ms
12:25:24.311: ┃ ┣obs_init_module(obs-transitions.dll): 0.007 ms
12:25:24.311: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
12:25:24.311: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
12:25:24.311: ┃ ┣obs_init_module(rtmp-services.dll): 1.241 ms
12:25:24.311: ┃ ┣obs_init_module(text-freetype2.dll): 0.06 ms
12:25:24.311: ┃ ┣obs_init_module(vlc-video.dll): 0.032 ms
12:25:24.311: ┃ ┣obs_init_module(win-capture.dll): 0.082 ms
12:25:24.311: ┃ ┣obs_init_module(win-decklink.dll): 0.676 ms
12:25:24.311: ┃ ┣obs_init_module(win-dshow.dll): 2.143 ms
12:25:24.311: ┃ ┣obs_init_module(win-mf.dll): 86.767 ms
12:25:24.311: ┃ ┣obs_init_module(win-wasapi.dll): 0.004 ms
12:25:24.311: ┃ ┗reset_win32_symbol_paths: 0.098 ms
12:25:24.311: ┣OBSBasic::ResetOutputs: 0.507 ms
12:25:24.311: ┣OBSBasic::CreateHotkeys: 0.187 ms
12:25:24.311: ┣OBSBasic::InitService: 1.655 ms
12:25:24.311: ┣OBSBasic::InitPrimitives: 0.233 ms
12:25:24.311: ┗OBSBasic::Load: 493.566 ms
12:25:24.311: obs_hotkey_thread(25 ms): min=0.004 ms, median=0.008 ms, max=3.381 ms, 99th percentile=0.077 ms, 100% below 25 ms
12:25:24.311: audio_thread(Audio): min=0 ms, median=0.04 ms, max=5.685 ms, 99th percentile=0.586 ms
12:25:24.311: ┗receive_audio: min=0.003 ms, median=0.289 ms, max=5.642 ms, 99th percentile=0.573 ms, 0.403705 calls per parent call
12:25:24.311: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.04 ms, 99th percentile=0.002 ms
12:25:24.311: ┗do_encode: min=0.086 ms, median=0.285 ms, max=5.637 ms, 99th percentile=0.565 ms
12:25:24.311: ┗encode(Track1): min=0.083 ms, median=0.257 ms, max=0.825 ms, 99th percentile=0.516 ms
12:25:24.311: obs_graphics_thread(16.6667 ms): min=0.219 ms, median=0.807 ms, max=450.515 ms, 99th percentile=1.38 ms, 99.9762% below 16.667 ms
12:25:24.311: ┣tick_sources: min=0.001 ms, median=0.016 ms, max=450.03 ms, 99th percentile=0.047 ms
12:25:24.311: ┣render_displays: min=0.001 ms, median=0.16 ms, max=11.517 ms, 99th percentile=0.436 ms
12:25:24.311: ┗output_frame: min=0.214 ms, median=0.606 ms, max=20.516 ms, 99th percentile=1.056 ms
12:25:24.311: ┣gs_context(video->graphics): min=0.111 ms, median=0.292 ms, max=19.958 ms, 99th percentile=0.546 ms
12:25:24.311: ┃ ┣render_video: min=0.023 ms, median=0.047 ms, max=7.052 ms, 99th percentile=0.366 ms
12:25:24.311: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.009 ms, max=6.975 ms, 99th percentile=0.042 ms
12:25:24.311: ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.01 ms, max=0.139 ms, 99th percentile=0.029 ms
12:25:24.311: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.012 ms, max=0.221 ms, 99th percentile=0.025 ms
12:25:24.311: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.003 ms, max=4.232 ms, 99th percentile=0.316 ms
12:25:24.311: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=19.813 ms, 99th percentile=0.424 ms
12:25:24.311: ┃ ┗gs_flush: min=0.016 ms, median=0.056 ms, max=8.085 ms, 99th percentile=0.308 ms
12:25:24.311: ┗output_video_data: min=0.001 ms, median=0.314 ms, max=1.413 ms, 99th percentile=0.556 ms
12:25:24.311: video_thread(video): min=0 ms, median=0.002 ms, max=105.639 ms, 99th percentile=2.356 ms
12:25:24.311: ┗receive_video: min=0 ms, median=1.451 ms, max=105.636 ms, 99th percentile=9.021 ms, 0.420963 calls per parent call
12:25:24.311: ┗do_encode: min=0.915 ms, median=1.45 ms, max=105.635 ms, 99th percentile=9.021 ms
12:25:24.311: ┗encode(recording_h264): min=0.895 ms, median=1.4 ms, max=105.59 ms, 99th percentile=8.99 ms
12:25:24.311: =================================================
12:25:24.311: == Profiler Time Between Calls ==================
12:25:24.311: obs_hotkey_thread(25 ms): min=24.629 ms, median=25.069 ms, max=28.109 ms, 99.1152% within ±2% of 25 ms (0% lower, 0.884798% higher)
12:25:24.311: obs_graphics_thread(16.6667 ms): min=11.512 ms, median=16.667 ms, max=450.521 ms, 99.8455% within ±2% of 16.667 ms (0.0792173% lower, 0.0752565% higher)
12:25:24.311: =================================================
12:25:24.359: Number of memory leaks: 1
 
Really need a logfile containing a recording attempt with the game in question.

Have you tried thread assignment, allocating OBS to the threads that are not used by means of setting Affinity via task manager (Under Details tab, right-click the executable and select Set Affinity)

Could it be that OBS is being crippled by the game utilizing one or two threads? Question for a dev to find an answer. I haven't noticed on my R5 1600, though I don't have any games that utilize one or two cores to 100% utilization...

Off-topic yet may be relevant and on-topic in some sense, I did notice when recording Civilization V footage, bitrate was all over the place throughout the recording, much higher than any other game, for example Battlefield 4.
 

Vitaliy P.

New Member
Yes I have tried cpu affinity, assigning 6 cores (separate from game's cores) still 2 cores/4 threads.

I've been doin some tests.
OBS settings:
  • same for both recording
  • CBR 3500
  • CPU usage: medium
  • Profile: high
  • software encoding x264
Log of both scenarios: see attachment.

World of Tanks.
wot.png


Wot_CPU.png

[NOTE]: On a CPU usage, game assigned to the last 2 cores (4 threads), and OBS to the rest.
As you can see, 2 cores/4 threads are at 100% - and video is very choppy.

7 Days to Die.
7D2D.png

7D2D_CPU.png

[NOTE]: Game running with no cores assigned since its only uses about 15% of the CPU, spread along all cores/threads well.

From the WoT capture, video is unwatchable, lots of frames dropped but game playable as normal. And from the 7DTD game was smooth as always and video playback was really smooth too.
 

Attachments

  • 2018-01-13 14-17-30.txt
    17.4 KB · Views: 18

PersonSuit

New Member
While I can't say this is a "FIX" it did get it going. I turned off multi-threading and it then used all 16 cores. I don't know what was keeping it from using all 32 threads but until I figure this out, this actually worked.
 

Vitaliy P.

New Member
I've tried to disable SMT, but the game pushes like 2/3 cores, left only with 4/5 for OBS (+1 for system resources, etc..). Makes no difference in rendering, unfortunately. Will do a downgrade to OBS, let's see if older version does a difference. Will let you know.
 

Boildown

Active Member
14:35:56.701: ==== Recording Start ===============================================
14:35:56.701: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Vitaliy/Videos/2018-01-13_14-35-56.mkv'...
14:48:17.523: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Vitaliy/Videos/2018-01-13_14-35-56.mkv' stopped
14:48:17.523: Output 'adv_file_output': stopping
14:48:17.523: Output 'adv_file_output': Total frames output: 44373
14:48:17.523: Output 'adv_file_output': Total drawn frames: 44449
14:48:17.524: ==== Recording Stop ================================================
14:48:17.525: Video stopped, number of skipped frames due to encoding lag: 6/44448 (0.0%)

Statistics look awesome. What's the problem you're experiencing? You said the video is unwatchable, but are you sure it isn't a player issue? Try different players and playing it back on different computers.

If it still happens, do a 5 minute test where the problem occurs, upload the log and the file you saved (to a file sharing site where we can download it). Make sure the test is of high-action video, not just standing around in-game.
 

Vitaliy P.

New Member
Yes, the game 7 Days To Die runs and encodes very well (perfectly), all computer's resources are used. But in World of Tanks unable to use more than 4 threads (2 cores) to encoder. That is what's bugging my head... Probably game's fault.
 

Vitaliy P.

New Member
Forgot to quote: Suslik V

The result is the same, unfortunately... Here are the details:
same_wot.png

[Note] Same setting except for Profile changed to 'High' and CBR from 3500 to 6000.

Here is the log for that particular instance:
19:39:29.858: CPU Name: AMD Ryzen 7 1700X Eight-Core Processor
19:39:29.859: CPU Speed: 3818MHz
19:39:29.859: Physical Cores: 8, Logical Cores: 16
19:39:29.859: Physical Memory: 16319MB Total, 11355MB Free
19:39:29.859: Windows Version: 10.0 Build 16299 (revision: 15; 64-bit)
19:39:29.859: Running as administrator: false
19:39:29.859: Aero is Enabled (Aero is always on for windows 8 and above)
19:39:29.859: Portable mode: false
19:39:29.884: OBS 20.0.1 (64bit, windows)
19:39:29.884: ---------------------------------
19:39:29.885: ---------------------------------
19:39:29.885: audio settings reset:
19:39:29.885: samples per sec: 44100
19:39:29.885: speakers: 2
19:39:29.886: ---------------------------------
19:39:29.886: Initializing D3D11...
19:39:29.886: Available Video Adapters:
19:39:29.887: Adapter 1: NVIDIA GeForce GTX 1060 6GB
19:39:29.887: Dedicated VRAM: 2051014656
19:39:29.887: Shared VRAM: 4260898816
19:39:29.887: output 1: pos={0, 0}, size={1680, 1050}, attached=true
19:39:29.888: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
19:39:29.925: D3D11 loaded successfully, feature level used: 45056
19:39:30.562: ---------------------------------
19:39:30.562: video settings reset:
19:39:30.562: base resolution: 1680x1050
19:39:30.562: output resolution: 1680x1050
19:39:30.562: downscale filter: Lanczos
19:39:30.562: fps: 60/1
19:39:30.562: format: NV12
19:39:30.564: Audio monitoring device:
19:39:30.564: name: Speakers (ASUS Xonar Essence STX Audio Device)
19:39:30.564: id: {0.0.0.00000000}.{cd869620-6f70-49db-b0c3-b6d83f59a172}
19:39:30.564: ---------------------------------
19:39:30.565: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
19:39:30.567: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
19:39:30.568: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
19:39:30.568: Failed to initialize module 'enc-amf.dll'
19:39:30.579: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
19:39:30.579: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
19:39:30.580: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
19:39:30.580: Failed to load 'en-US' text for module: 'obs-browser.dll'
19:39:30.580: [browser_source: 'Version: 1.29.0']
19:39:30.583: NVENC supported
19:39:30.626: Couldn't find VLC installation, VLC video source disabled
19:39:30.629: No blackmagic support
19:39:30.682: ---------------------------------
19:39:30.682: Loaded Modules:
19:39:30.682: win-wasapi.dll
19:39:30.682: win-mf.dll
19:39:30.682: win-dshow.dll
19:39:30.682: win-decklink.dll
19:39:30.682: win-capture.dll
19:39:30.682: vlc-video.dll
19:39:30.682: text-freetype2.dll
19:39:30.682: rtmp-services.dll
19:39:30.682: obs-x264.dll
19:39:30.682: obs-vst.dll
19:39:30.682: obs-transitions.dll
19:39:30.682: obs-text.dll
19:39:30.682: obs-qsv11.dll
19:39:30.682: obs-outputs.dll
19:39:30.682: obs-filters.dll
19:39:30.682: obs-ffmpeg.dll
19:39:30.682: obs-browser.dll
19:39:30.682: image-source.dll
19:39:30.682: frontend-tools.dll
19:39:30.682: enc-amf.dll
19:39:30.682: coreaudio-encoder.dll
19:39:30.682: ---------------------------------
19:39:30.682: ==== Startup complete ===============================================
19:39:30.687: All scene data cleared
19:39:30.687: ------------------------------------------------
19:39:30.708: WASAPI: Device 'Speakers (ASUS Xonar Essence STX Audio Device)' initialized
19:39:31.030: [game-capture: 'World of Tanks'] attempting to hook process: WorldOfTanks.exe
19:39:31.033: Switched to scene 'main streamWorld of Tanks'
19:39:31.034: ------------------------------------------------
19:39:31.034: Loaded scenes:
19:39:31.034: - scene 'main streamWorld of Tanks':
19:39:31.034: - source: 'World of Tanks' (game_capture)
19:39:31.034: - source: 'LCDSir-WoT' (window_capture)
19:39:31.034: - scene '7 Days to Die':
19:39:31.034: - source: '7D2D' (game_capture)
19:39:31.034: - source: 'LCDSir-WoT 2' (window_capture)
19:39:31.034: ------------------------------------------------
19:39:31.035: [game-capture: 'World of Tanks'] shared texture capture successful
19:39:34.397: ---------------------------------
19:39:34.397: [x264 encoder: 'recording_h264'] preset: medium
19:39:34.398: [x264 encoder: 'recording_h264'] profile: high
19:39:34.398: [x264 encoder: 'recording_h264'] settings:
19:39:34.398: rate_control: CBR
19:39:34.398: bitrate: 6000
19:39:34.398: buffer size: 6000
19:39:34.398: crf: 0
19:39:34.398: fps_num: 60
19:39:34.398: fps_den: 1
19:39:34.398: width: 1680
19:39:34.398: height: 1050
19:39:34.398: keyint: 120
19:39:34.398:
19:39:34.407: [Media Foundation AAC: 'Track1']: encoder created
19:39:34.407: bitrate: 160
19:39:34.407: channels: 2
19:39:34.407: sample rate: 44100
19:39:34.407: bits-per-sample: 16
19:39:34.407:
19:39:34.416: ==== Recording Start ===============================================
19:39:34.417: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Vitaliy/Videos/2018-01-16_19-39-34.mkv'...
19:40:10.503: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Vitaliy/Videos/2018-01-16_19-39-34.mkv' stopped
19:40:10.503: Output 'adv_file_output': stopping
19:40:10.503: Output 'adv_file_output': Total frames output: 2083
19:40:10.503: Output 'adv_file_output': Total drawn frames: 2165
19:40:10.503: ==== Recording Stop ================================================
19:40:10.503: Video stopped, number of skipped frames due to encoding lag: 62/2166 (2.9%)
19:40:22.264: [game-capture: 'World of Tanks'] capture stopped
19:40:32.347: [game-capture: 'World of Tanks'] attempting to hook fullscreen process: WorldOfTanks.exe
19:40:32.364: [game-capture: 'World of Tanks'] shared texture capture successful
19:40:44.835: [game-capture: 'World of Tanks'] d3d11 shared texture capture successful
19:40:44.848: [game-capture: 'World of Tanks'] shared texture capture successful
19:40:50.523: ---------------------------------
19:40:50.523: [x264 encoder: 'recording_h264'] preset: medium
19:40:50.523: [x264 encoder: 'recording_h264'] profile: high
19:40:50.523: [x264 encoder: 'recording_h264'] settings:
19:40:50.523: rate_control: CBR
19:40:50.523: bitrate: 6000
19:40:50.523: buffer size: 6000
19:40:50.523: crf: 0
19:40:50.523: fps_num: 60
19:40:50.523: fps_den: 1
19:40:50.523: width: 1680
19:40:50.523: height: 1050
19:40:50.523: keyint: 120
19:40:50.523:
19:40:50.530: [Media Foundation AAC: 'Track1']: encoder created
19:40:50.530: bitrate: 160
19:40:50.530: channels: 2
19:40:50.530: sample rate: 44100
19:40:50.530: bits-per-sample: 16
19:40:50.530:
19:40:50.543: ==== Recording Start ===============================================
19:40:50.543: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Vitaliy/Videos/2018-01-16_19-40-50.mkv'...
19:50:03.961: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Vitaliy/Videos/2018-01-16_19-40-50.mkv' stopped
19:50:03.961: Output 'adv_file_output': stopping
19:50:03.961: Output 'adv_file_output': Total frames output: 33096
19:50:03.961: Output 'adv_file_output': Total drawn frames: 32457 (33205 attempted)
19:50:03.961: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 748 (2.3%)
19:50:03.961: ==== Recording Stop ================================================
19:50:03.961: Video stopped, number of skipped frames due to encoding lag: 8800/33205 (26.5%)
Same scenario, 4 threads in use.

Thanks in advance.
 
Last edited:

Suslik V

Active Member
Then nothing to do with the encoder. Try at least new Scene Collection and single 'Display Capture' source. I don't know why alt-tabbing may cause this strange core usage drop for you.
 
Top