Question / Help i7 4770 Quick Sync - High encoding CPU usage

GamerMaurizio

New Member
Hi, OBS is awesome when recording with x264 (too high cpu usage in some games like WoW or Final Fantasy XIV though), but when I try to use Quick Sync to record some games, a red warning message appears on the bottom of the obs window, telling me that cpu encoding usage is too high, but even if I try recording at 3500 kbs CBR the message appears in high-motion scenes. The result is an extremely laggy video. The log i put down there is a test done while recording a benchmark in Just Cause 2, @1080p60fps 50mbs

My pc specs:
CPU - i7 4770
GPU - GTX 780 DirectCU II
RAM - 16 GB
OBS installed on a SSD and recording on a HDD



Code:
14:16:42: =====Stream Start: 2015-02-15, 14:16:42===============================================
14:16:42:   Multithreaded optimizations: On
14:16:42:   Base resolution: 1920x1080
14:16:42:   Output resolution: 1920x1080
14:16:42: ------------------------------------------
14:16:42: Loading up D3D10 on NVIDIA GeForce GTX 780 (Adapter 1)...
14:16:42: ------------------------------------------
14:16:42: Audio Format: 48000 Hz
14:16:42: ------------------------------------------
14:16:42: Audio Channels: 2 Ch
14:16:42: Playback device {0.0.0.00000000}.{df3f934c-d25c-4e42-bf20-4f770d6bf499}
14:16:42: ------------------------------------------
14:16:42: Using desktop audio input: Altoparlanti (Realtek High Definition Audio)
14:16:42: Global Audio time adjust: 0
14:16:42: Using 5.1 surround speaker setup
14:16:42: ------------------------------------------
14:16:42: Using auxilary audio input: Microfono (Samson Meteor Mic)
14:16:42: Mic time offset: 0
14:16:42: ------------------------------------------
14:16:42: Audio Encoding: AAC
14:16:42:     bitrate: 128
14:16:42: Using Monitor Capture
14:16:42: Scene buffering time set to 700
14:16:42: Found QSV hardware support
14:16:42: ------------------------------------------
14:16:42: QSV version 1.8 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D11 (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D11)
14:16:42: Using 14 bitstreams and 14 frame buffers
14:16:42: ------------------------------------------
14:16:42: Video Encoding: QSV
14:16:42:     fps: 60
14:16:42:     width: 1920, height: 1080
14:16:42:     target-usage: MFX_TARGETUSAGE_1_BEST_QUALITY
14:16:42:     profile: MFX_PROFILE_AVC_HIGH
14:16:42:     CBR: yes
14:16:42:     CFR: yes
14:16:42:     max bitrate: 50000
14:16:42:     buffer size: 50000
14:16:42:     rate control: CBR
14:16:42: ------------------------------------------
14:17:42: FlushBufferedVideo: Flushing 34 packets over 550 ms
14:17:43: Total frames encoded: 3598, total frames duplicated: 2365 (65.73%)
14:17:43: Number of frames skipped due to encoder lag: 2174 (60.42%)
14:17:43: Total frames rendered: 1440, number of late frames: 17 (1.18%) (it's okay for some frames to be late)
14:17:43:
14:17:43: Profiler time results:
14:17:43:
14:17:43: ==============================================================
14:17:43: video thread frame - [100%] [avg time: 0.948 ms] [children: 62.6%] [unaccounted: 37.4%]
14:17:43: | scene->Preprocess - [21.6%] [avg time: 0.205 ms]
14:17:43: | GPU download and conversion - [40.9%] [avg time: 0.388 ms] [children: 21.2%] [unaccounted: 19.7%]
14:17:43: | | flush - [8.65%] [avg time: 0.082 ms]
14:17:43: | | CopyResource - [12.1%] [avg time: 0.115 ms]
14:17:43: | | conversion to 4:2:0 - [0.422%] [avg time: 0.004 ms]
14:17:43: Convert444Threads - [100%] [avg time: 1.298 ms] [children: 99.8%] [unaccounted: 0.231%]
14:17:43: | Convert444toNV12 - [99.8%] [avg time: 1.295 ms]
14:17:43: encoder thread frame - [100%] [avg time: 12.343 ms] [children: 99.7%] [unaccounted: 0.348%]
14:17:43: | QueueEncodeTask - [61.1%] [avg time: 7.541 ms]
14:17:43: | ProcessEncodedFrame - [37.7%] [avg time: 4.656 ms]
14:17:43: | sending stuff out - [0.834%] [avg time: 0.103 ms]
14:17:43: ==============================================================
14:17:43:
14:17:43:
14:17:43: Profiler CPU results:
14:17:43:
14:17:43: ==============================================================
14:17:43: video thread frame - [cpu time: avg 0.162 ms, total 234.375 ms] [avg calls per frame: 1]
14:17:43: | scene->Preprocess - [cpu time: avg 0.01 ms, total 15.625 ms] [avg calls per frame: 1]
14:17:43: | GPU download and conversion - [cpu time: avg 0.054 ms, total 78.125 ms] [avg calls per frame: 1]
14:17:43: | | flush - [cpu time: avg 0.021 ms, total 31.25 ms] [avg calls per frame: 1]
14:17:43: | | CopyResource - [cpu time: avg 0.011 ms, total 15.625 ms] [avg calls per frame: 1]
14:17:43: | | conversion to 4:2:0 - [cpu time: avg 0.022 ms, total 31.25 ms] [avg calls per frame: 1]
14:17:43: Convert444Threads - [cpu time: avg 1.045 ms, total 2906.25 ms] [avg calls per frame: 2]
14:17:43: | Convert444toNV12 - [cpu time: avg 1.034 ms, total 2875 ms] [avg calls per frame: 2]
14:17:43: encoder thread frame - [cpu time: avg 0.333 ms, total 1187.5 ms] [avg calls per frame: 1]
14:17:43: | QueueEncodeTask - [cpu time: avg 0.008 ms, total 31.25 ms] [avg calls per frame: 1]
14:17:43: | ProcessEncodedFrame - [cpu time: avg 0.219 ms, total 781.25 ms] [avg calls per frame: 1]
14:17:43: | sending stuff out - [cpu time: avg 0.078 ms, total 281.25 ms] [avg calls per frame: 1]
14:17:43: ==============================================================
14:17:43:
14:17:43: =====Stream End: 2015-02-15, 14:17:43=================================================
 

Sapiens

Forum Moderator
Quick Sync isn't going to keep up with 1080p60 on the "best quality" preset. Lower it (e.g. to 4/balanced) until it works.
 

GamerMaurizio

New Member
Does this apply also to 720p60fps? I also thought I couldn't handle it but then I saw some videos (and threads there too) where people was recording crysis 3 @ 1080p60fps10mbps fluently with the same cpu. There's also a tutorial by Mr google who has a less powerful cpu (it was an i5 i think) where he can record and stream @ 1080p leaving the best quality preset. Thanks anyways for the answer :)
 
Top