Question / Help Stuttering while recording at 1080p 60 FPS

MichelS4rdou

New Member
Hi all,
I want to record some Rocket League games at 1080p 60 FPS in order to make montages. Unfortunately each of my video stutter a lot.
I followed a large amount of tutorial including those in this forum but my clips are still choppy as fuck.

I have an Intel i5-6600k and a Nvidia GTX 980 Ti.

Is my build simply not able to achieve such quality or have I missed a setting ?
Hope someone could help.

Here is a log of my latests attemps.

20:38:41.759: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
20:38:41.759: CPU Speed: 3504MHz
20:38:41.759: Physical Cores: 4, Logical Cores: 4
20:38:41.759: Physical Memory: 8110MB Total, 4685MB Free
20:38:41.759: Windows Version: 10.0 Build 14393 (revision: 953; 64-bit)
20:38:41.759: Running as administrator: false
20:38:41.759: Aero is Enabled (Aero is always on for windows 8 and above)
20:38:41.759: Portable mode: false
20:38:41.768: OBS 18.0.1 (64bit, windows)
20:38:41.768: ---------------------------------
20:38:41.769: ---------------------------------
20:38:41.769: audio settings reset:
20:38:41.769: samples per sec: 44100
20:38:41.769: speakers: 2
20:38:41.779: ---------------------------------
20:38:41.779: Initializing D3D11..
20:38:41.779: Available Video Adapters:
20:38:41.780: Adapter 1: NVIDIA GeForce GTX 980 Ti
20:38:41.780: Dedicated VRAM: 2105344000
20:38:41.780: Shared VRAM: 4252254208
20:38:41.780: output 1: pos={0, 0}, size={1920, 1080}, attached=true
20:38:41.780: Adapter 2: Intel(R) HD Graphics 530
20:38:41.780: Dedicated VRAM: 134217728
20:38:41.780: Shared VRAM: 4252254208
20:38:41.783: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 Ti (0)
20:38:41.798: D3D11 loaded sucessfully, feature level used: 45056
20:38:42.335: ---------------------------------
20:38:42.335: video settings reset:
20:38:42.335: base resolution: 1920x1080
20:38:42.335: output resolution: 1920x1080
20:38:42.335: downscale filter: Bilinear
20:38:42.335: fps: 60/1
20:38:42.335: format: NV12
20:38:42.336: Audio monitoring device:
20:38:42.336: name: Par défaut
20:38:42.336: id: default
20:38:42.336: ---------------------------------
20:38:42.398: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
20:38:42.408: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
20:38:42.420: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
20:38:42.505: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
20:38:42.514: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
20:38:42.523: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
20:38:42.533: Failed to load 'en-US' text for module: 'obs-browser.dll'
20:38:42.533: [browser_source: 'Version: 1.29.0']
20:38:42.578: NVENC supported
20:38:42.682: Couldn't find VLC installation, VLC video source disabled
20:38:42.707: No blackmagic support
20:38:43.064: ---------------------------------
20:38:43.064: Loaded Modules:
20:38:43.064: win-wasapi.dll
20:38:43.064: win-mf.dll
20:38:43.064: win-dshow.dll
20:38:43.064: win-decklink.dll
20:38:43.064: win-capture.dll
20:38:43.064: vlc-video.dll
20:38:43.064: text-freetype2.dll
20:38:43.064: rtmp-services.dll
20:38:43.064: obs-x264.dll
20:38:43.064: obs-vst.dll
20:38:43.064: obs-transitions.dll
20:38:43.064: obs-text.dll
20:38:43.064: obs-qsv11.dll
20:38:43.064: obs-outputs.dll
20:38:43.064: obs-filters.dll
20:38:43.064: obs-ffmpeg.dll
20:38:43.064: obs-browser.dll
20:38:43.064: image-source.dll
20:38:43.064: frontend-tools.dll
20:38:43.064: enc-amf.dll
20:38:43.064: coreaudio-encoder.dll
20:38:43.064: ==== Startup complete ===============================================
20:38:43.072: All scene data cleared
20:38:43.072: ------------------------------------------------
20:38:43.093: WASAPI: Device 'Realtek HD Audio 2nd output (Realtek High Definition Audio)' initialized
20:38:43.112: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
20:38:43.116: Switched to scene 'Scène'
20:38:43.118: ------------------------------------------------
20:38:43.118: Loaded scenes:
20:38:43.118: - scene 'Scène':
20:38:43.118: - source: 'Capture de jeu' (game_capture)
20:38:43.118: ------------------------------------------------
20:38:43.119: [game-capture: 'Capture de jeu'] attempting to hook fullscreen process: explorer.exe
20:38:43.119: [game-capture: 'Capture de jeu'] cannot capture explorer.exe due to being blacklisted
20:38:43.134: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
20:38:45.136: [game-capture: 'Capture de jeu'] attempting to hook fullscreen process: explorer.exe
20:38:45.136: [game-capture: 'Capture de jeu'] cannot capture explorer.exe due to being blacklisted
20:38:47.153: [game-capture: 'Capture de jeu'] attempting to hook fullscreen process: explorer.exe
20:38:47.153: [game-capture: 'Capture de jeu'] cannot capture explorer.exe due to being blacklisted
20:38:59.517: Settings changed (outputs)
20:38:59.517: ------------------------------------------------
20:39:02.299: ---------------------------------
20:39:02.299: [x264 encoder: 'recording_h264'] preset: ultrafast
20:39:02.299: [x264 encoder: 'recording_h264'] profile: high
20:39:02.300: [x264 encoder: 'recording_h264'] settings:
20:39:02.300: rate_control: CRF
20:39:02.300: bitrate: 0
20:39:02.300: buffer size: 0
20:39:02.300: crf: 17
20:39:02.300: fps_num: 60
20:39:02.300: fps_den: 1
20:39:02.300: width: 1920
20:39:02.300: height: 1080
20:39:02.300: keyint: 250
20:39:02.300: vfr: off
20:39:02.300:
20:39:02.311: [Media Foundation AAC: 'Track1']: encoder created
20:39:02.311: bitrate: 160
20:39:02.311: channels: 2
20:39:02.311: sample rate: 44100
20:39:02.311: bits-per-sample: 16
20:39:02.311:
20:39:02.324: ==== Recording Start ===============================================
20:39:02.324: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Videos/2017-03-19 20-39-02.flv'...
20:39:05.303: [game-capture: 'Capture de jeu'] attempting to hook fullscreen process: RocketLeague.exe
20:39:05.319: [game-capture: 'Capture de jeu'] shared texture capture successful
20:41:01.237: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
20:41:13.344: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/Videos/2017-03-19 20-39-02.flv' stopped
20:41:13.344: Output 'adv_file_output': stopping
20:41:13.344: Output 'adv_file_output': Total encoded frames: 7860
20:41:13.344: Output 'adv_file_output': Total drawn frames: 7861
20:41:13.344: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 5 (0.1%)
20:41:13.344: ==== Recording Stop ================================================
20:41:32.048: Settings changed (outputs)
20:41:32.048: ------------------------------------------------
20:41:33.442: ---------------------------------
20:41:33.442: [x264 encoder: 'recording_h264'] preset: superfast
20:41:33.442: [x264 encoder: 'recording_h264'] profile: high
20:41:33.442: [x264 encoder: 'recording_h264'] settings:
20:41:33.442: rate_control: CRF
20:41:33.442: bitrate: 0
20:41:33.442: buffer size: 0
20:41:33.442: crf: 17
20:41:33.442: fps_num: 60
20:41:33.442: fps_den: 1
20:41:33.442: width: 1920
20:41:33.442: height: 1080
20:41:33.442: keyint: 250
20:41:33.442: vfr: off
20:41:33.442:
20:41:33.445: [Media Foundation AAC: 'Track1']: encoder created
20:41:33.445: bitrate: 160
20:41:33.445: channels: 2
20:41:33.445: sample rate: 44100
20:41:33.445: bits-per-sample: 16
20:41:33.445:
20:41:33.448: ==== Recording Start ===============================================
20:41:33.448: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Videos/2017-03-19 20-41-33.flv'...
20:41:35.377: [game-capture: 'Capture de jeu'] d3d9 shared texture capture successful
20:41:35.386: [game-capture: 'Capture de jeu'] shared texture capture successful
20:43:24.875: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/Videos/2017-03-19 20-41-33.flv' stopped
20:43:24.875: Output 'adv_file_output': stopping
20:43:24.875: Output 'adv_file_output': Total encoded frames: 6685
20:43:24.875: Output 'adv_file_output': Total drawn frames: 6686
20:43:24.875: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 5 (0.1%)
20:43:24.875: ==== Recording Stop ================================================
20:45:45.840: ==== Shutting down ==================================================
20:45:45.842: Switched to scene '(null)'
20:45:45.843: [game-capture: 'Capture de jeu'] capture stopped
20:45:45.843: WASAPI: Device 'Realtek HD Audio 2nd output (Realtek High Definition Audio)' Terminated
20:45:45.846: WASAPI: Device 'Microphone (Realtek High Definition Audio)' Terminated
20:45:45.849: All scene data cleared
20:45:45.849: ------------------------------------------------
20:45:45.877: Freeing OBS context data
20:45:45.949: == Profiler Results =============================
20:45:45.949: run_program_init: 1429.63 ms
20:45:45.949: ┣OBSApp::AppInit: 1.701 ms
20:45:45.949: ┃ ┗OBSApp::InitLocale: 1.071 ms
20:45:45.949: ┗OBSApp::OBSInit: 1411.33 ms
20:45:45.949: ┣obs_startup: 5.14 ms
20:45:45.949: ┗OBSBasic::OBSInit: 1385.32 ms
20:45:45.949: ┣OBSBasic::InitBasicConfig: 0.292 ms
20:45:45.949: ┣OBSBasic::ResetAudio: 0.16 ms
20:45:45.949: ┣OBSBasic::ResetVideo: 566.973 ms
20:45:45.949: ┣OBSBasic::InitOBSCallbacks: 0.003 ms
20:45:45.949: ┣OBSBasic::InitHotkeys: 0.039 ms
20:45:45.949: ┣obs_load_all_modules: 727.849 ms
20:45:45.949: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.386 ms
20:45:45.949: ┃ ┣obs_init_module(enc-amf.dll): 0.367 ms
20:45:45.949: ┃ ┣obs_init_module(frontend-tools.dll): 0.961 ms
20:45:45.949: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
20:45:45.949: ┃ ┣obs_init_module(obs-browser.dll): 0.039 ms
20:45:45.949: ┃ ┣obs_init_module(obs-ffmpeg.dll): 35.224 ms
20:45:45.949: ┃ ┣obs_init_module(obs-filters.dll): 0.008 ms
20:45:45.949: ┃ ┣obs_init_module(obs-outputs.dll): 0.008 ms
20:45:45.949: ┃ ┣obs_init_module(obs-qsv11.dll): 2.759 ms
20:45:45.949: ┃ ┣obs_init_module(obs-text.dll): 0.252 ms
20:45:45.949: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
20:45:45.949: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
20:45:45.949: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
20:45:45.949: ┃ ┣obs_init_module(rtmp-services.dll): 0.219 ms
20:45:45.949: ┃ ┣obs_init_module(text-freetype2.dll): 0.038 ms
20:45:45.949: ┃ ┣obs_init_module(vlc-video.dll): 0.032 ms
20:45:45.949: ┃ ┣obs_init_module(win-capture.dll): 0.054 ms
20:45:45.949: ┃ ┣obs_init_module(win-decklink.dll): 2.274 ms
20:45:45.949: ┃ ┣obs_init_module(win-dshow.dll): 3.374 ms
20:45:45.949: ┃ ┣obs_init_module(win-mf.dll): 318.861 ms
20:45:45.949: ┃ ┣obs_init_module(win-wasapi.dll): 0.01 ms
20:45:45.949: ┃ ┗reset_win32_symbol_paths: 0.07 ms
20:45:45.949: ┣OBSBasic::ResetOutputs: 3.338 ms
20:45:45.949: ┣OBSBasic::CreateHotkeys: 0.029 ms
20:45:45.949: ┣OBSBasic::InitService: 0.336 ms
20:45:45.949: ┣OBSBasic::InitPrimitives: 1.531 ms
20:45:45.949: ┗OBSBasic::Load: 48.715 ms
20:45:45.949: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.004 ms, max=65.581 ms, 99th percentile=0.027 ms, 99.9641% below 25 ms
20:45:45.949: audio_thread(Audio): min=0 ms, median=0.213 ms, max=38.693 ms, 99th percentile=0.615 ms
20:45:45.950: ┗receive_audio: min=0.002 ms, median=0.243 ms, max=37.853 ms, 99th percentile=0.702 ms, 0.55655 calls per parent call
20:45:45.950: ┣buffer_audio: min=0 ms, median=0 ms, max=0.03 ms, 99th percentile=0.001 ms
20:45:45.950: ┗do_encode: min=0.056 ms, median=0.241 ms, max=37.849 ms, 99th percentile=0.698 ms
20:45:45.950: ┣encode(Track1): min=0.06 ms, median=0.181 ms, max=1.152 ms, 99th percentile=0.31 ms, 0.540333 calls per parent call
20:45:45.950: ┗encode(Track1): min=0.052 ms, median=0.181 ms, max=1.754 ms, 99th percentile=0.321 ms, 0.459667 calls per parent call
20:45:45.950: obs_video_thread(16.6667 ms): min=0.184 ms, median=0.653 ms, max=62.977 ms, 99th percentile=1.95 ms, 99.9724% below 16.667 ms
20:45:45.950: ┣tick_sources: min=0 ms, median=0.012 ms, max=59.297 ms, 99th percentile=0.052 ms
20:45:45.950: ┣render_displays: min=0.001 ms, median=0.111 ms, max=56.729 ms, 99th percentile=0.5 ms
20:45:45.950: ┗output_frame: min=0.179 ms, median=0.524 ms, max=18.172 ms, 99th percentile=1.405 ms
20:45:45.950: ┣gs_context(video->graphics): min=0.075 ms, median=0.198 ms, max=7.332 ms, 99th percentile=0.428 ms
20:45:45.950: ┃ ┣render_video: min=0.02 ms, median=0.035 ms, max=5.22 ms, 99th percentile=0.274 ms
20:45:45.950: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.009 ms, max=2.872 ms, 99th percentile=0.087 ms
20:45:45.950: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.006 ms, max=0.984 ms, 99th percentile=0.032 ms
20:45:45.950: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.007 ms, max=1.793 ms, 99th percentile=0.044 ms
20:45:45.950: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.003 ms, max=3.414 ms, 99th percentile=0.226 ms
20:45:45.950: ┃ ┣download_frame: min=0 ms, median=0.096 ms, max=7.235 ms, 99th percentile=0.272 ms
20:45:45.950: ┃ ┗gs_flush: min=0.015 ms, median=0.038 ms, max=4.28 ms, 99th percentile=0.185 ms
20:45:45.950: ┗output_video_data: min=0.262 ms, median=0.314 ms, max=14.936 ms, 99th percentile=0.925 ms
20:45:45.950: video_thread(video): min=0 ms, median=0.786 ms, max=50.523 ms, 99th percentile=1.859 ms
20:45:45.950: ┗receive_video: min=0 ms, median=1.099 ms, max=50.521 ms, 99th percentile=1.95 ms, 0.572762 calls per parent call
20:45:45.950: ┗do_encode: min=0.607 ms, median=1.098 ms, max=50.521 ms, 99th percentile=1.949 ms
20:45:45.950: ┣encode(recording_h264): min=0.593 ms, median=0.745 ms, max=2.663 ms, 99th percentile=1.105 ms, 0.540329 calls per parent call
20:45:45.950: ┗encode(recording_h264): min=1.009 ms, median=1.463 ms, max=50.483 ms, 99th percentile=1.9 ms, 0.459671 calls per parent call
20:45:45.950: OBSBasic::ResetOutputs: min=0.377 ms, median=0 ms, max=0.385 ms, 99th percentile=0.385 ms
20:45:45.950: =================================================
20:45:45.950: == Profiler Time Between Calls ==================
20:45:45.950: obs_hotkey_thread(25 ms): min=24.517 ms, median=25.431 ms, max=90.506 ms, 74.2319% within ±2% of 25 ms (0% lower, 25.7681% higher)
20:45:45.950: obs_video_thread(16.6667 ms): min=2.819 ms, median=16.667 ms, max=63.008 ms, 97.504% within ±2% of 16.667 ms (1.29129% lower, 1.20468% higher)
20:45:45.950: =================================================
20:45:46.009: Number of memory leaks: 1
 

MichelS4rdou

New Member
Hum ok.
I switched to OBS since Nvidia broke Share (former Shadow Play): I have massive stuttering on it. Also I would prefer using OBS because it is open source.
The problem is that my video stutter too using NVENC.
 

MichelS4rdou

New Member
My 980 Ti is maxed out in Rocket League ? That seems weird. I had a 750 Ti before and it runned the game flawlessy at 1080p and 60 FPS. The 980 Ti is way better.
 

MichelS4rdou

New Member
Just check the GPU usage.

Just use QSV for recording in that case but generally NVENC should work without the slightest problem.
I am currently at work. Will try this evening.

Some thoughts:
-I only record Rocket League games and I think that game is not very CPU and GPU consuming (I might be wrong, though). That's why I expected that recording would be easy.
-When I had my 750 Ti, Nvidia's Shadow Play worked well without any stuttering but OBS didn't. My recordings using OBS were always choppy.
-I don't know if this is correlated, but since I have changed my graphic card for a 980 Ti, Shadow Play doesn't work anymore (stuttering). OBS does stutter too, but it always did.
As I changed my card, there was a driver update so I can't be sure the culprit is the card.
But a friend of mine, who also changed his graphic card for a 1080, also has stuttering on Shadow Play.
Could it be a driver-related issue ?
The strange thing is I have another friend who have a 1070 and Shadow Play works flawlessly for him.
I know that this is not the Nvidia forum but I don't really care about Shadow Play. All the reference to it are for informative purpose to help investigate my issue.
 

alpinlol

Active Member
I am currently at work. Will try this evening.

Some thoughts:
-I only record Rocket League games and I think that game is not very CPU and GPU consuming (I might be wrong, though). That's why I expected that recording would be easy.
-When I had my 750 Ti, Nvidia's Shadow Play worked well without any stuttering but OBS didn't. My recordings using OBS were always choppy.
-I don't know if this is correlated, but since I have changed my graphic card for a 980 Ti, Shadow Play doesn't work anymore (stuttering). OBS does stutter too, but it always did.
As I changed my card, there was a driver update so I can't be sure the culprit is the card.
But a friend of mine, who also changed his graphic card for a 1080, also has stuttering on Shadow Play.
Could it be a driver-related issue ?
The strange thing is I have another friend who have a 1070 and Shadow Play works flawlessly for him.
I know that this is not the Nvidia forum but I don't really care about Shadow Play. All the reference to it are for informative purpose to help investigate my issue.

Its hard to pin point what the problem might be. Im running a 1060 and before that a 770 and havent had a single problem with Shadowplay up to this day.
 

MichelS4rdou

New Member
Pretty much the same no matter if I use x264 or NVENC I used to RTMP stream to a 2nd PC which then published the feed to Twitch.

CPU is a i7 2700k @ 4,5GHz with only 16GB 1600MHz CL9 RAM

You have a good CPU and a nice O/C.

You said you stream but, do you stream in 1080p ?
I don't know if there is a big difference between streaming and recording.
I would rather say there isn't but I am not sure.
 

alpinlol

Active Member
You have a good CPU and a nice O/C.

You said you stream but, do you stream in 1080p ?
I don't know if there is a big difference between streaming and recording.
I would rather say there isn't but I am not sure.

there is a tremendous difference between streaming and recording and since 1080p60 is pretty much impossible for streaming with a decent quality Im already limited to 720p60.

Though for RTMP streaming i used 1080p60 with NVENC and for recording as well. x264 is also doable theres even a Guide for that.
 

MichelS4rdou

New Member
there is a tremendous difference between streaming and recording and since 1080p60 is pretty much impossible for streaming with a decent quality Im already limited to 720p60.

Though for RTMP streaming i used 1080p60 with NVENC and for recording as well. x264 is also doable theres even a Guide for that.

Ok.
So maybe my CPU is not powerful enough for 1080p60 recording in x264.
But my GPU definitely is and it should achieve 1080p60 with NVENC, right ?
 

alpinlol

Active Member
Ok.
So maybe my CPU is not powerful enough for 1080p60 recording in x264.
But my GPU definitely is and it should achieve 1080p60 with NVENC, right ?


In games like Rocket League, LoL and a handful others your CPU is also capable of doing 1080p60.

Your GPU on the other hand shouldnt have any Issue with NVENC especially with the standalone Tool Shadowplay.
 

MichelS4rdou

New Member
In games like Rocket League, LoL and a handful others your CPU is also capable of doing 1080p60.

Your GPU on the other hand shouldnt have any Issue with NVENC especially with the standalone Tool Shadowplay.

Yeah ?
I would prefer using CPU because quality is way better than NVENC. Thanks a lot for your help and responses. But my stuttering remains a mystery anyway. That makes me crazy.
 

MichelS4rdou

New Member
Here I am with logs of NVENC and x264 captures.
Used different cpu preset for x264.
 

Attachments

  • x264.txt
    21.2 KB · Views: 19
  • NVENC.txt
    15.7 KB · Views: 20

alpinlol

Active Member
Here I am with logs of NVENC and x264 captures.
Used different cpu preset for x264.

For 1080p60 with x264 on that CPU you are forced to use the ultrafast Preset else you will have major performance decrease.

For NVENC I personally use CBR with 50000 Bitrate, Keyframe on 0, Preset Low Latency High Quality, Profile Main, Two pass encoding checked, b-frames 2.

Try to use game capture for Rocket League specifically instead of letting it capture any fullscreen Application
 

MichelS4rdou

New Member
For 1080p60 with x264 on that CPU you are forced to use the ultrafast Preset else you will have major performance decrease.

For NVENC I personally use CBR with 50000 Bitrate, Keyframe on 0, Preset Low Latency High Quality, Profile Main, Two pass encoding checked, b-frames 2.

Try to use game capture for Rocket League specifically instead of letting it capture any fullscreen Application

Using x264, even with ultrafast preset, my clips are choppy. But log does not show skipped frames... Weird.
It seems to work with NVENC without stuttering. Maybe the Game Capture Windows setting, dunno. Thanks anyway.
 
Top