Question / Help Trying to get smooth 60fps / 480p

lody

New Member
I have been messing around with QSV for playing fast paced games (namely CS:S surf) where having a smooth video output is almost required for it to look nice.

http://www.twitch.tv/lodyb/b/410175583 - I made sure nothing with gpu acceleration was running, i.e flash
notice I have like 600 fps in game, the game was butter smooth whilst recording this video.

I had no frame drops although I'll post my OBS log to show what settings I am using and my specs.

Code:
10:22:20: Using fixed low latency mode, factor 20
10:22:20: =====Stream Start: 2013-05-30, 10:22:20===============================================
10:22:20:   Multithreaded optimizations: Off
10:22:20:   Base resolution: 852x480
10:22:20:   Output resolution: 852x480
10:22:20: ------------------------------------------
10:22:20: Loading up D3D10...
10:22:20: Playback device {0.0.0.00000000}.{7885d61d-6c8a-41b4-bbaa-b2127d998ac5}
10:22:20: ------------------------------------------
10:22:20: Using desktop audio input: SPDIF Interface (2- FiiO USB DAC-E10)
10:22:20: ------------------------------------------
10:22:20: Using auxilary audio input: Microphone (Blue Snowball)
10:22:20: ------------------------------------------
10:22:20: Audio Encoding: AAC
10:22:20:     bitrate: 128
10:22:20: Using graphics capture
10:22:20: Found QSV hardware support
10:22:20: ------------------------------------------
10:22:20: QSV version 1.4 using MFX_IMPL_HARDWARE_ANY (actual: MFX_IMPL_HARDWARE3)
10:22:20: Using 12 encode tasks
10:22:20: ------------------------------------------
10:22:20: Video Encoding: QSV
10:22:20:     fps: 60
10:22:20:     width: 852, height: 480
10:22:20:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
10:22:20:     CBR: yes
10:22:20:     CFR: no
10:22:20:     max bitrate: 4000
10:22:20: ------------------------------------------
10:22:21: Using RTMP service: Twitch / Justin.tv
10:22:21:   Server selection: rtmp://live-lhr.justin.tv/app
10:22:23: SharedTexCapture hooked
10:22:24: SO_SNDBUF was at 65536
10:22:24: SO_SNDBUF is now 65536
10:23:27: Total frames rendered: 3940, number of frames that lagged: 9 (0.23%) (it's okay for some frames to lag)
10:23:27: RTMPPublisher::SocketLoop: Aborting due to loop exit
10:23:27: Number of times waited to send: 0, Waited for a total of 0 bytes
10:23:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:23:27: =====Stream End: 2013-05-30, 10:23:27=================================================
10:24:39: Using fixed low latency mode, factor 20
10:24:39: =====Stream Start: 2013-05-30, 10:24:39===============================================
10:24:39:   Multithreaded optimizations: Off
10:24:39:   Base resolution: 852x480
10:24:39:   Output resolution: 852x480
10:24:39: ------------------------------------------
10:24:39: Loading up D3D10...
10:24:39: Playback device {0.0.0.00000000}.{7885d61d-6c8a-41b4-bbaa-b2127d998ac5}
10:24:39: ------------------------------------------
10:24:39: Using desktop audio input: SPDIF Interface (2- FiiO USB DAC-E10)
10:24:39: ------------------------------------------
10:24:39: Using auxilary audio input: Microphone (Blue Snowball)
10:24:39: ------------------------------------------
10:24:39: Audio Encoding: AAC
10:24:39:     bitrate: 128
10:24:39: Using graphics capture
10:24:39: Found QSV hardware support
10:24:39: ------------------------------------------
10:24:39: QSV version 1.4 using MFX_IMPL_HARDWARE_ANY (actual: MFX_IMPL_HARDWARE3)
10:24:39: Using 12 encode tasks
10:24:39: ------------------------------------------
10:24:39: Video Encoding: QSV
10:24:39:     fps: 60
10:24:39:     width: 852, height: 480
10:24:39:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
10:24:39:     CBR: yes
10:24:39:     CFR: no
10:24:39:     max bitrate: 4000
10:24:39: ------------------------------------------
10:24:40: Using RTMP service: Twitch / Justin.tv
10:24:40:   Server selection: rtmp://live-lhr.justin.tv/app
10:24:42: SharedTexCapture hooked
10:24:43: SO_SNDBUF was at 65536
10:24:43: SO_SNDBUF is now 65536
10:25:40: Total frames rendered: 3599, number of frames that lagged: 10 (0.28%) (it's okay for some frames to lag)
10:25:41: RTMPPublisher::SocketLoop: Aborting due to loop exit
10:25:41: Number of times waited to send: 0, Waited for a total of 0 bytes
10:25:41: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:25:41: =====Stream End: 2013-05-30, 10:25:41=================================================
10:25:45: Using fixed low latency mode, factor 20
10:25:45: =====Stream Start: 2013-05-30, 10:25:45===============================================
10:25:45:   Multithreaded optimizations: Off
10:25:45:   Base resolution: 852x480
10:25:45:   Output resolution: 852x480
10:25:45: ------------------------------------------
10:25:45: Loading up D3D10...
10:25:45: Playback device {0.0.0.00000000}.{7885d61d-6c8a-41b4-bbaa-b2127d998ac5}
10:25:45: ------------------------------------------
10:25:45: Using desktop audio input: SPDIF Interface (2- FiiO USB DAC-E10)
10:25:45: ------------------------------------------
10:25:45: Using auxilary audio input: Microphone (Blue Snowball)
10:25:45: ------------------------------------------
10:25:45: Audio Encoding: AAC
10:25:45:     bitrate: 128
10:25:45: Using graphics capture
10:25:45: Found QSV hardware support
10:25:45: ------------------------------------------
10:25:45: QSV version 1.4 using MFX_IMPL_HARDWARE_ANY (actual: MFX_IMPL_HARDWARE3)
10:25:45: Using 12 encode tasks
10:25:45: ------------------------------------------
10:25:45: Video Encoding: QSV
10:25:45:     fps: 60
10:25:45:     width: 852, height: 480
10:25:45:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
10:25:45:     CBR: yes
10:25:45:     CFR: no
10:25:45:     max bitrate: 4000
10:25:45: ------------------------------------------
10:25:46: Using RTMP service: Twitch / Justin.tv
10:25:46:   Server selection: rtmp://live-lhr.justin.tv/app
10:25:47: SharedTexCapture hooked
10:25:48: SO_SNDBUF was at 65536
10:25:48: SO_SNDBUF is now 65536
10:28:45: Total frames rendered: 10729, number of frames that lagged: 13 (0.12%) (it's okay for some frames to lag)
10:28:45: RTMPPublisher::SocketLoop: Aborting due to loop exit
10:28:45: Number of times waited to send: 0, Waited for a total of 0 bytes
10:28:45: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
10:28:45: =====Stream End: 2013-05-30, 10:28:45=================================================
10:35:04: 
10:35:04: Profiler results:
10:35:04: 
10:35:04: ==============================================================
10:35:04: frame - [100%] [avg time: 1.093 ms (cpu time: avg 0.745 ms, total 98718.8 ms)] [avg calls per frame: 1] [children: 75.7%] [unaccounted: 24.3%]
10:35:04: | scene->Preprocess - [49.1%] [avg time: 0.537 ms (cpu time: avg 0.406 ms, total 53796.9 ms)] [avg calls per frame: 1]
10:35:04: | video encoding and uploading - [26.5%] [avg time: 0.29 ms (cpu time: avg 0.185 ms, total 24609.4 ms)] [avg calls per frame: 1] [children: 20.3%] [unaccounted: 6.22%]
10:35:04: | | CopyResource - [0.732%] [avg time: 0.008 ms (cpu time: avg 0.007 ms, total 953.125 ms)] [avg calls per frame: 0]
10:35:04: | | conversion to 4:2:0 - [13.6%] [avg time: 0.149 ms (cpu time: avg 0.128 ms, total 17046.9 ms)] [avg calls per frame: 0]
10:35:04: | | call to encoder - [4.94%] [avg time: 0.054 ms (cpu time: avg 0.034 ms, total 4562.5 ms)] [avg calls per frame: 0] [children: 4.39%] [unaccounted: 0.549%]
10:35:04: | | | ProcessEncodedFrame - [1.37%] [avg time: 0.015 ms (cpu time: avg 0.011 ms, total 1546.88 ms)] [avg calls per frame: 0]
10:35:04: | | | EncodeFrameAsync - [3.02%] [avg time: 0.033 ms (cpu time: avg 0.018 ms, total 2437.5 ms)] [avg calls per frame: 0]
10:35:04: | | sending stuff out - [1.01%] [avg time: 0.011 ms (cpu time: avg 0.008 ms, total 1093.75 ms)] [avg calls per frame: 0]
10:35:04: | Convert444Threads - [693%] [avg time: 7.576 ms (cpu time: avg 0.1 ms, total 13281.3 ms)] [avg calls per frame: 0]
10:35:04: ==============================================================
10:35:04:
(I have no idea what half of this means)
I don't care about overall quality of the video, just that its smooth.
Any tips would be appreciated, thanks.
Code:
01:03:22: Open Broadcaster Software v0.52.04b toast build - 64bit ( ^ω^)
01:03:22: -------------------------------
01:03:22: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
01:03:22: CPU Speed: 3293MHz
01:03:22: Physical Memory:  8109MB Total, 4574MB Free
01:03:22: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
01:03:22: monitor 1: pos={0, 0}, size={1920, 1080}
01:03:22: monitor 2: pos={-1152, -669}, size={1152, 2048}
01:03:22: monitor 3: pos={1920, 0}, size={1280, 720}
01:03:22: Windows Version: 6.2 Build 9200 
01:03:22: Aero is Enabled
01:03:22: -------------------------------
01:03:22: OBS Modules:
01:03:22: Base Address     Module
01:03:22: 00000000FA7E0000 OBS.exe
01:03:22: 00000000F29C0000 OBSApi.dll
01:03:22: 00000000F2D80000 DShowPlugin.dll
01:03:22: 00000000F2990000 GraphicsCapture.dll
01:03:22: 00000000F4010000 NoiseGate.dll
01:03:22: ------------------------------------------
01:03:22: Adapter 1
01:03:22:   Video Adapter: NVIDIA GeForce GTX 460
01:03:22:   Video Adapter Dedicated Video Memory: 1025966080
01:03:22:   Video Adapter Shared System Memory: 3220779008
01:03:22: ------------------------------------------
01:03:22: Adapter 2
01:03:22:   Video Adapter: Intel(R) HD Graphics 3000
01:03:22:   Video Adapter Dedicated Video Memory: 33554432
01:03:22:   Video Adapter Shared System Memory: 1711276032
01:03:22: ------------------------------------------
01:03:22: Adapter 3
01:03:22:   Video Adapter: NVIDIA GeForce GT 520 
01:03:22:   Video Adapter Dedicated Video Memory: 1026097152
01:03:22:   Video Adapter Shared System Memory: 3220779008
-
Here's the section with my PC specs, it was at the very top of the log.
 
Looked at the video and it's really pixelated.

Seems like it can't render properly.

What's your upload speed? When you tend to stream in 60fps, you need double the upload. I would try 30 and see how that looks tbh.
 

Xianahru

Member
No, you don't need double upload.
Pixelation is expected when using QSV, especially on that resolution.
To be honest, I don't see whats wrong with that video, its all smooth to me. What exactly is your issue?
 

lody

New Member
do x264 encoder settings + presets affect quick sync encoding
will increasing the resolution help with the blurriness/lossyness in the output
am i doing something dumb in my settings

i play my game at 720p, then scale it in obs to 480p. is there a smarter way to do this? should I just output 720 or do something else?

also
2741062220.png

i have tried streaming at 5000 kbps for hours without any drops/issues
should I increase/decrease my kbps based on my speeds?
 

Xianahru

Member
x264 encoer settings and preset dont effect QuickSync.
You will have to see for yourself if increasing the output resolution will effect pixelation, that really depends on the game and available bandwith. 4000 bitrate is pretty high already, you could give 720p@60FPS a try with 4000bitrate and see if you like that quality over the 480p.

In general there is less quality loss when you don't need to downscale a resolution e.g. streaming at 720p while playing at 720p at the same time.
 
Top