OBS 0.52.08 aquaman build - quicksync & capture improvements

Status
Not open for further replies.

bamf

New Member
Re: OBS 0.52.05 toast build - quicksync

quick question: is it possible to use quicksync with settings of vbr 0kbit and buffer 1-3mbit to simulate a constant ratefactor (crf) rate control?
 

bamf

New Member
Re: OBS 0.52.05 toast build - quicksync

Floatingthru said:
Finally got around to doing some QSV testing with my new 4770k featuring the HD 4600. Not sure if the quality increased over the previous igpu's though. The video is definitely watchable albeit using a decent chunk of bitrate, but being able to play any game without having to worry about cpu usage is nice. In this test my cpu was only 30% the whole time (4.3ghz). Ignore the name of the build, its a custom one with a different x264 dll.

http://pastebin.com/jbdU3Myb

http://www.twitch.tv/floatingthru/c/2399537

I found the video on twitch.tv and ran MediaInfo on it to analyze what hidden settings Intel Quick Sync may be using. Here is the data I pulled:
Code:
Video
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : High@L3.2
Format settings, CABAC         : Yes
Format settings, ReFrames      : 3 frames
Codec ID                       : 7
Duration                       : 15mn 1s
Bit rate mode                  : Variable
Bit rate                       : 3 266 Kbps
Maximum bit rate               : 3 500 Kbps
Width                          : 1 280 pixels
Height                         : 720 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 60.000 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.059
Stream size                    : 360 MiB (96%)

For anyone else that wants to take a look at this video, below is a link for the 15 minute video section I used.

Download: (374 MB)
http://store34.media34.justin.tv/archiv ... 771828.flv
 

dehixem

Member
Re: OBS 0.52.05 toast build - quicksync

Jim said:
  • Added latest x264 revision that has OpenCL hardware acceleration support, can be enabled by adding "opencl=true" as a custom x264 parameter (without quotes. Warning: may be unstable)

Tried using that option today and it did not work. The stream would NOT hook up to Twitch unless I deleted that new parameter. Is that normal ?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS 0.52.05 toast build - quicksync

dehixem said:
Tried using that option today and it did not work. The stream would NOT hook up to Twitch unless I deleted that new parameter. Is that normal ?

opencl seems a bit buggy at the moment -- it's probably because I'm using the dev build of x264 rather than the latest "stable" version, I can't remember if the latest stable has opencl or not, it was mostly for experimentation
 

Animeruko

New Member
Re: OBS 0.52.05 toast build - quicksync

Jim said:
opencl seems a bit buggy at the moment -- it's probably because I'm using the dev build of x264 rather than the latest "stable" version, I can't remember if the latest stable has opencl or not, it was mostly for experimentation

x264 with opencl doesn't offer that much performance gains, its only RClookahead and changing it doesn't do much. Its a neat experiment though... since the really cpu intensive parts of the encoding cant be computed on a GPU there are very few gains to be had with the minor codes that it can do, not to mention that you can actually lose performance since data has to be sent to the GPU to be computed then sent back.
 

Invi

New Member
Re: OBS 0.52.05 toast build - quicksync

I'd like to see more tweaks to quicksync if possible, not sold on the bitrate increase needed to attain the same quality level at higher resolutions
 

Krazy

Town drunk
Re: OBS 0.52.05 toast build - quicksync

Invi said:
I'd like to see more tweaks to quicksync if possible, not sold on the bitrate increase needed to attain the same quality level at higher resolutions

Quicksync really isn't intended as a high quality streaming option. It's primary purpose is low impact streaming, and there's only so much that can be done quality wise with a hardware encoder. It can't be tweaked like software encoding, unfortunately.
 

ShortnStubby

New Member
Re: OBS 0.52.05 toast build - quicksync

Hello, I seam to be encountering a newly created issue that I don't recall noticing with the older builds, I will randomly get a Black Box in the middle of the screen when streaming, if I re-add the game it fixes it, unchecking and rechecking or changing Scenes does nothing. Is there anything I can try to help solve this issue?
 

Geoning

Member
Re: OBS 0.52.05 toast build - quicksync

Is it possible to add real CBR for QSV (or Strict CBR)?
But Jim, can you improve hilalpro's formula on Strict CBR (like in XSplit)?
"(bitrate/fps) x (rc-lookahead - 1) = bufsize"
It doesn't work with QuickSync
QSV is... VBR despite I checked CBR.
 

paibox

heros in an halfshel
Re: OBS 0.52.05 toast build - quicksync

QSV does set a lower limit of some sort based on the resolution, if you attempt to set it lower than that limit, it will simply adjust it in order to get tolerable quality, there's nothing that can be done about this.
 

n00pe

New Member
Re: OBS 0.52.05 toast build - quicksync

I was bored so I did run a small test just in case someone might be interested.

Using default settings:
CC5KTH.png
Using Intel Quick Sync:
6YPivS.png

Settings:
Video:
Custom: 1280x720
Resolution Downscale: None (1280x720)
FPS: 30

Advanced:
CPU: 3570k @ 3.40GHz

EDIT: Video I have used: https://goo.gl/178q5
 

nrw2000

New Member
Re: OBS 0.52.05 toast build - quicksync

Sometimes i receive following error with opencl=true:

14:29:03: Open Broadcaster Software v0.52.05b powdered toast build - 64bit ( ^ω^)
14:29:03: -------------------------------
14:29:03: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
14:29:03: CPU Speed: 3300MHz
14:29:03: Physical Memory: 16351MB Total, 12349MB Free
14:29:03: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
14:29:03: monitor 1: pos={0, 0}, size={1920, 1080}
14:29:03: monitor 2: pos={-1024, 78}, size={1024, 768}
14:29:03: Windows Version: 6.1 Build 7601 S
14:29:03: Aero is Disabled
14:29:03: -------------------------------
14:29:03: OBS Modules:
14:29:03: Base Address Module
14:29:03: 000000003F120000 OBS.exe
14:29:03: 00000000E7630000 OBSApi.dll
14:29:03: 00000000E7600000 DShowPlugin.dll
14:29:03: 00000000E75D0000 GraphicsCapture.dll
14:29:03: 00000000E75B0000 NoiseGate.dll
14:29:03: ------------------------------------------
14:29:03: Adapter 1
14:29:03: Video Adapter: NVIDIA GeForce GTX 570
14:29:03: Video Adapter Dedicated Video Memory: 1293352960
14:29:03: Video Adapter Shared System Memory: 2952343552
20:29:52: =====Stream Start: 2013-06-16, 20:29:52===============================================
20:29:52: Multithreaded optimizations: On
20:29:52: Base resolution: 1920x1080
20:29:52: Output resolution: 1280x720
20:29:52: ------------------------------------------
20:29:52: Loading up D3D10...
20:29:52: Playback device {0.0.0.00000000}.{57cf455d-1699-45c4-a653-35f138f6e200}
20:29:52: ------------------------------------------
20:29:52: Using desktop audio input: Line 2 (Virtual Audio Cable)
20:29:52: ------------------------------------------
20:29:52: Using auxilary audio input: Микрофон (Logitech G35 Headset)
20:29:52: ------------------------------------------
20:29:52: Audio Encoding: AAC
20:29:52: bitrate: 128
20:29:52: Using text output
20:29:52: Using bitmap image
20:29:52: Using graphics capture
20:29:52: Using custom x264 settings: "opencl=true"
20:29:52: ------------------------------------------
20:29:52: Video Encoding: x264
20:29:52: fps: 25
20:29:52: width: 1280, height: 720
20:29:52: preset: veryfast
20:29:52: CBR: yes
20:29:52: CFR: no
20:29:52: max bitrate: 2500
20:29:52: ------------------------------------------
20:29:52: SharedTexCapture hooked
20:29:52: Bad timestamp detected, syncing audio to video time
20:29:53: x264: clEnqueueNDRangeKernel error '-4'
20:29:53: x264: OpenCL: CL_MEM_OBJECT_ALLOCATION_FAILURE error executing CL_COMMAND_NDRANGE_KERNEL on GeForce GTX 570 (Device 0).
 

Kharay

Member
Re: OBS 0.52.05 toast build - quicksync

Jim said:
dehixem said:
Tried using that option today and it did not work. The stream would NOT hook up to Twitch unless I deleted that new parameter. Is that normal ?

opencl seems a bit buggy at the moment -- it's probably because I'm using the dev build of x264 rather than the latest "stable" version, I can't remember if the latest stable has opencl or not, it was mostly for experimentation
Well, please keep it in. Just did a marathon streaming session of 11 and a half hours and not a single hiccup with OpenCL enabled. A test build of OBS using a dev build of x264, running on a Beta driver for my GPU and still not a problem to be seen.

@dehixem -- I can't imagine why it would cause that issue in particular. I can imagine it simply not running or generating static or no visuals at all but not connecting at all seems a bit unrelated to OpenCL and x264. Are you absolutely positive it did not connect or was it just generating a dark/empty stream?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS 0.52.05 toast build - quicksync

Oh don't worry it'll stay in -- it's purely optional anyway. Regardless I'm sure the x264 devs will fix subsequent bugs and they are most talented individuals. Also I'm quite glad to hear you did an 11 hour stream with no problems with opencl, surprising.
 

Internet151

New Member
Re: OBS 0.52.05 toast build - quicksync

I just tried out opencl=true with my radeon hd 6870. Did not notice any load being put on my GPU and OBS consumed the same amount of CPU as usual. Checked the log files and didn't see any opencl failures either.
 

dehixem

Member
Re: OBS 0.52.05 toast build - quicksync

Kharay said:
@dehixem -- I can't imagine why it would cause that issue in particular. I can imagine it simply not running or generating static or no visuals at all but not connecting at all seems a bit unrelated to OpenCL and x264. Are you absolutely positive it did not connect or was it just generating a dark/empty stream?

Well I did ask the viewers and they told me there was no stream. I checked in the twitch archives and there was no sign of a black stream either. I would say I'm practically positive it didn't generate an empty stream.

Either way I'll try again to see if the issue reappears :)
 

Absarn

Member
Re: OBS 0.52.05 toast build - quicksync

dehixem said:
Kharay said:
@dehixem -- I can't imagine why it would cause that issue in particular. I can imagine it simply not running or generating static or no visuals at all but not connecting at all seems a bit unrelated to OpenCL and x264. Are you absolutely positive it did not connect or was it just generating a dark/empty stream?

Well I did ask the viewers and they told me there was no stream. I checked in the twitch archives and there was no sign of a black stream either. I would say I'm practically positive it didn't generate an empty stream.

Either way I'll try again to see if the issue reappears :)


Turn CFR off, this happend to me while i had CFR on.
 

HypnoToadTrance

New Member
Re: OBS 0.52.05 toast build - quicksync

Jim said:
Oh don't worry it'll stay in -- it's purely optional anyway. Regardless I'm sure the x264 devs will fix subsequent bugs and they are most talented individuals. Also I'm quite glad to hear you did an 11 hour stream with no problems with opencl, surprising.

I can personally vouch for Kharay. I broadcast for a few hours a day almost every day. Haven't seen the slightest error yet.

OpenCL seems to perform better as well as produce better image quality when compared to default OBS settings. I have observed no deleterious effects of running the OpenCL encoder.

Adapter: NVidia GeForce GTX 650 Ti
Driver Version: 320.18
 
Status
Not open for further replies.
Top