Question / Help End recording is choppy..

Vazzyo

New Member
Ahoy there!

Been tweaking around, trying to find the best settings possible to record footage with.
So far, I've always had issues and not even one proper solution.
Currently, I'm trying to capture 60 fps footage @ 1080p.
I'm using Unigine Valley as a benchmark tool to see what kind of performance hit I get with various methods.

I've reached quite a promising array of settings to record with - somewhat insignificant impact on my overall performance, judging by the benchmark results.

Sadly, the end file I export seems to stutter/choke at different points for no reason.
Whilst I record, I felt none of that - the pretty flowers were portrayed silky smooth.

Below are my specs, latest log file of the aforementioned recording and the two benchmark results - one clean without any capture and one using this current setup of x264 CPU encoding.

Any ideas and suggestions would be greatly appreciated, as I have quite a strong machine that should be capable of recording nicely 60 fps footage @ 1080p - but unfortunately, ever since I've had this PC - I'm still not able to find the sweet spot and get some proper videos.

I'm only interested in recording high quality, local videos @ 60 fps on 1080p.

/////

CPU - i7 4790K @ Stock Speeds
GPU - R9 290 Tri-X OC @ Stock Speeds
RAM - 8 GB DDR3 Corsair Vengeance
PSU - 750 W Corsair CS750M Gold Certified
MOBO - Gigabyte Z87-HD3
SSD - Adata SP900 Pro 256 GB

Operating system, games, benchmark and recording footage all on the same SSD.
Despite not being the ideal scenario, I'm certain the drive should not choke with it's peak read/write speeds of up to
500 MB/S.

/////

15:30:27: CLR host plugin strings not found, dynamically loading 4 strings
15:30:27: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
15:30:27: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
15:30:27: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
15:30:27: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
15:30:27: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
15:30:27: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
15:30:27: CLRHost:: Could not find/load browser settings at location C:\Users\VA511\AppData\Roaming\OBS\pluginData\browser.json
15:30:27: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\VA511\AppData\Roaming\OBS\pluginData\browser.json'.
15:30:27: File name: 'C:\Users\VA511\AppData\Roaming\OBS\pluginData\browser.json'
15:30:27: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
15:30:27: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
15:30:27: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
15:30:27: at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
15:30:27: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
15:30:31: Failed loading CUDA dll
15:36:14: Open Broadcaster Software v0.657b - 64bit ( ^ω^)
15:36:14: -------------------------------
15:36:14: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
15:36:14: CPU Speed: 3991MHz
15:36:14: Physical Memory: 8070MB Total, 6566MB Free
15:36:14: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
15:36:14: monitor 1: pos={0, 0}, size={1920, 1080}
15:36:14: Windows Version: 10.0 Build 10586 (revision 0)
15:36:14: Aero is Enabled
15:36:14: -------------------------------
15:36:14: OBS Modules:
15:36:14: Base Address Module
15:36:14: 0000000020330000 OBS.exe
15:36:14: 00000000506C0000 OBSApi.dll
15:36:14: 0000000069900000 CLRHostPlugin.dll
15:36:14: 000000005C210000 DShowPlugin.dll
15:36:14: 000000005F440000 GraphicsCapture.dll
15:36:14: 000000005C290000 NoiseGate.dll
15:36:14: 000000004DCB0000 PSVPlugin.dll
15:36:14: 000000004DB00000 scenesw.dll
15:36:14: ------------------------------------------
15:36:14: Adapter 1
15:36:14: Video Adapter: AMD Radeon R9 200 Series
15:36:14: Video Adapter Dedicated Video Memory: 4272422912
15:36:14: Video Adapter Shared System Memory: 4231059456
15:36:14: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:36:14: ------------------------------------------
15:36:14: Adapter 2
15:36:14: Video Adapter: Intel(R) HD Graphics 4600
15:36:14: Video Adapter Dedicated Video Memory: 117964800
15:36:14: Video Adapter Shared System Memory: 4231059456
15:36:14: =====Stream Start: 2016-03-28, 15:36:14===============================================
15:36:14: Multithreaded optimizations: On
15:36:14: Base resolution: 1920x1080
15:36:14: Output resolution: 1920x1080
15:36:14: ------------------------------------------
15:36:14: Loading up D3D10 on AMD Radeon R9 200 Series (Adapter 1)...
15:36:15: ------------------------------------------
15:36:15: Audio Format: 48000 Hz
15:36:15: ------------------------------------------
15:36:15: Audio Channels: 2 Ch
15:36:15: Playback device Default
15:36:15: ------------------------------------------
15:36:15: Using desktop audio input: Speakers (Realtek High Definition Audio)
15:36:15: Global Audio time adjust: 0
15:36:15: ------------------------------------------
15:36:15: Using auxilary audio input: Microphone (Realtek High Definition Audio)
15:36:15: Mic time offset: 0
15:36:15: ------------------------------------------
15:36:15: Audio Encoding: AAC
15:36:15: bitrate: 320
15:36:15: Using graphics capture
15:36:15: Using Monitor Capture
15:36:15: Scene buffering time set to 700
15:36:15: Using custom x264 settings: "profile=baseline preset=ultrafast qp=16"
15:36:15: x264: VBV is incompatible with constant QP, ignored.
15:36:15: ------------------------------------------
15:36:15: Video Encoding: x264
15:36:15: fps: 60
15:36:15: width: 1920, height: 1080
15:36:15: preset: ultrafast
15:36:15: profile: baseline
15:36:15: keyint: 250
15:36:15: CBR: no
15:36:15: CFR: no
15:36:15: max bitrate: 200000
15:36:15: buffer size: 200000
15:36:15: quality: 10
15:36:15: ------------------------------------------
15:36:15: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
15:36:42: Trying to hook process: Valley.exe
15:36:42: SharedTexCapture hooked
15:40:23: Capture window 0x00050430 invalid or changing, terminating capture
15:40:30: FlushBufferedVideo: Flushing 38 packets over 616 ms
15:40:30: Total frames encoded: 15293, total frames duplicated: 5503 (35.98%)
15:40:30: Total frames rendered: 11222, number of late frames: 3472 (30.94%) (it's okay for some frames to be late)
15:40:30:
15:40:30: Profiler time results:
15:40:30:
15:40:30: ==============================================================
15:40:30: video thread frame - [100%] [avg time: 16.853 ms] [children: 35.9%] [unaccounted: 64.1%]
15:40:30: | scene->Preprocess - [1.26%] [avg time: 0.213 ms]
15:40:30: | GPU download and conversion - [34.7%] [avg time: 5.843 ms] [children: 2.47%] [unaccounted: 32.2%]
15:40:30: | | flush - [0.35%] [avg time: 0.059 ms]
15:40:30: | | CopyResource - [2.11%] [avg time: 0.355 ms]
15:40:30: | | conversion to 4:2:0 - [0.0178%] [avg time: 0.003 ms]
15:40:30: Convert444Threads - [100%] [avg time: 1.871 ms] [children: 99.7%] [unaccounted: 0.267%]
15:40:30: | Convert444toNV12 - [99.7%] [avg time: 1.866 ms]
15:40:30: encoder thread frame - [100%] [avg time: 1.143 ms] [children: 16.9%] [unaccounted: 83.1%]
15:40:30: | sending stuff out - [16.9%] [avg time: 0.193 ms]
15:40:30: ==============================================================
15:40:30:
15:40:30:
15:40:30: Profiler CPU results:
15:40:30:
15:40:30: ==============================================================
15:40:30: video thread frame - [cpu time: avg 0.433 ms, total 4859.38 ms] [avg calls per frame: 1]
15:40:30: | scene->Preprocess - [cpu time: avg 0.083 ms, total 937.5 ms] [avg calls per frame: 1]
15:40:30: | GPU download and conversion - [cpu time: avg 0.104 ms, total 1171.88 ms] [avg calls per frame: 1]
15:40:30: | | flush - [cpu time: avg 0.034 ms, total 390.625 ms] [avg calls per frame: 1]
15:40:30: | | CopyResource - [cpu time: avg 0.023 ms, total 265.625 ms] [avg calls per frame: 1]
15:40:30: | | conversion to 4:2:0 - [cpu time: avg 0.011 ms, total 125 ms] [avg calls per frame: 1]
15:40:30: Convert444Threads - [cpu time: avg 1.794 ms, total 40109.4 ms] [avg calls per frame: 2]
15:40:30: | Convert444toNV12 - [cpu time: avg 1.791 ms, total 40031.3 ms] [avg calls per frame: 2]
15:40:30: encoder thread frame - [cpu time: avg 0.888 ms, total 13546.9 ms] [avg calls per frame: 1]
15:40:30: | sending stuff out - [cpu time: avg 0.174 ms, total 2656.25 ms] [avg calls per frame: 1]
15:40:30: ==============================================================
15:40:30:
15:40:30: =====Stream End: 2016-03-28, 15:40:30=================================================
 

Harold

Active Member
15:40:30: video thread frame - [100%] [avg time: 16.853 ms] [children: 35.9%] [unaccounted: 64.1%]
Whatever the problem is, it's being caused by a problem in your video card.
 

Vazzyo

New Member
Whatever the problem is, it's being caused by a problem in your video card.
Nothing but trouble since I went with team red.
Hopefully my local retailer will exchange the card for a 970 so I can finally utilize the magnificence that is Shadowplay.

But until then, I'm stuck on this issue and trying to make it work.
Just recorded some CS:GO footage and previewing the end export - it seemed smooth with no issues.
I presume the benchmark might have stressed the encoding process too much?

Unigine Valley is not exactly the biggest hog as far as benchmarking goes - took out 1.7 GB of my VRAM and I doubt it maxes out my CPU, which was doing the encoding process.

Weird - and can't really find a logical pattern to go with.


P.S. - I always take a look at OBS before shutting the recording off, and I've yet to see a notification for even a single dropped frame.

It's rather strange to have unfinished and slacked frames when it should be all well and true.
 

Vazzyo

New Member
Can anyone recommend any settings to try out, if not for 1080p60fps, at least for 30fps - local recordings?
 

Vazzyo

New Member
I've read that a long time ago - I need someone who can give me a bit more tailored settings for OBS, someone with a similar rig to mine that had a bumpy ride.
 

Vazzyo

New Member
Obvious reason for why I'm not using them is because, as I've clearly said - have tried them with no success.
For the sake of argument, I ran these settings along with Unigine Valley again - I scored even lower performance wise than my own OBS X264 setup before, and the end exported video was still a choppy mess.

Here is the log file.

22:34:51: =====Stream Start: 2016-03-28, 22:34:51===============================================
22:34:51: Multithreaded optimizations: On
22:34:51: Base resolution: 1920x1080
22:34:51: Output resolution: 1920x1080
22:34:51: ------------------------------------------
22:34:51: Loading up D3D10 on AMD Radeon R9 200 Series (Adapter 1)...
22:34:51: ------------------------------------------
22:34:51: Audio Format: 48000 Hz
22:34:51: ------------------------------------------
22:34:51: Audio Channels: 2 Ch
22:34:51: Playback device Default
22:34:51: ------------------------------------------
22:34:51: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:34:51: Global Audio time adjust: 0
22:34:51: ------------------------------------------
22:34:51: Using auxilary audio input: Microphone (Realtek High Definition Audio)
22:34:51: Mic time offset: 0
22:34:51: ------------------------------------------
22:34:51: Audio Encoding: AAC
22:34:51: bitrate: 128
22:34:51: Using graphics capture
22:34:51: Using Monitor Capture
22:34:51: Scene buffering time set to 700
22:34:51: Using custom x264 settings: "crf=15"
22:34:51: x264: VBV maxrate specified, but no bufsize, ignored
22:34:51: x264: MB rate (489600) > level limit (245760)
22:34:51: ------------------------------------------
22:34:51: Video Encoding: x264
22:34:51: fps: 60
22:34:51: width: 1920, height: 1080
22:34:51: preset: ultrafast
22:34:51: profile: main
22:34:51: keyint: 250
22:34:51: CBR: no
22:34:51: CFR: no
22:34:51: max bitrate: 1000
22:34:51: buffer size: 0
22:34:51: quality: 17
22:34:51: ------------------------------------------
22:34:51: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
22:36:43: Trying to hook process: browser_x86.exe
22:40:24: FlushBufferedVideo: Flushing 38 packets over 616 ms
22:40:24: Total frames encoded: 19937, total frames duplicated: 5332 (26.74%)
22:40:24: Total frames rendered: 17329, number of late frames: 2253 (13.00%) (it's okay for some frames to be late)
22:40:24:
22:40:24: Profiler time results:
22:40:24:
22:40:24: ==============================================================
22:40:24: video thread frame - [100%] [avg time: 10.079 ms] [children: 51.8%] [unaccounted: 48.2%]
22:40:24: | scene->Preprocess - [1.88%] [avg time: 0.189 ms]
22:40:24: | GPU download and conversion - [49.9%] [avg time: 5.029 ms] [children: 4.69%] [unaccounted: 45.2%]
22:40:24: | | flush - [0.933%] [avg time: 0.094 ms]
22:40:24: | | CopyResource - [3.73%] [avg time: 0.376 ms]
22:40:24: | | conversion to 4:2:0 - [0.0298%] [avg time: 0.003 ms]
22:40:24: Convert444Threads - [100%] [avg time: 2.051 ms] [children: 99.7%] [unaccounted: 0.341%]
22:40:24: | Convert444toNV12 - [99.7%] [avg time: 2.044 ms]
22:40:24: encoder thread frame - [100%] [avg time: 2.077 ms] [children: 12.8%] [unaccounted: 87.2%]
22:40:24: | sending stuff out - [12.8%] [avg time: 0.266 ms]
22:40:24: ==============================================================
22:40:24:
22:40:24:
22:40:24: Profiler CPU results:
22:40:24:
22:40:24: ==============================================================
22:40:24: video thread frame - [cpu time: avg 0.416 ms, total 7218.75 ms] [avg calls per frame: 1]
22:40:24: | scene->Preprocess - [cpu time: avg 0.042 ms, total 734.375 ms] [avg calls per frame: 1]
22:40:24: | GPU download and conversion - [cpu time: avg 0.103 ms, total 1796.88 ms] [avg calls per frame: 1]
22:40:24: | | flush - [cpu time: avg 0.044 ms, total 765.625 ms] [avg calls per frame: 1]
22:40:24: | | CopyResource - [cpu time: avg 0.022 ms, total 390.625 ms] [avg calls per frame: 1]
22:40:24: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 125 ms] [avg calls per frame: 1]
22:40:24: Convert444Threads - [cpu time: avg 2.046 ms, total 70734.4 ms] [avg calls per frame: 2]
22:40:24: | Convert444toNV12 - [cpu time: avg 2.042 ms, total 70593.8 ms] [avg calls per frame: 2]
22:40:24: encoder thread frame - [cpu time: avg 1.719 ms, total 34218.8 ms] [avg calls per frame: 1]
22:40:24: | sending stuff out - [cpu time: avg 0.285 ms, total 5687.5 ms] [avg calls per frame: 1]
22:40:24: ==============================================================
22:40:24:
22:40:24: =====Stream End: 2016-03-28, 22:40:24=================================================
 

Harold

Active Member
Looks like the problem continues to be the video card.
Check with gpu-z to see what PCI-E mode the card is running in please.
 

Vazzyo

New Member
The card runs PCI-E 3.0 X16 @ 1.1 in idle - and 3.0 when under workload.
Seems there are no issues there.
Any other suggestions?
 
Top