OBS 0.52.08 aquaman build - quicksync & capture improvements

Status
Not open for further replies.

Xphome

Member
Re: OBS 0.52.05 toast build - quicksync

I tried doing a quick recording 720p60fps with and without OpenCL and I didn't notice any difference, a confirmation in the log that it really is being used would be nice (not just that it's an x264 custom parameter).
 

ExitSign

Member
Re: OBS 0.52.05 toast build - quicksync

Xphome said:
I tried doing a quick recording 720p60fps with and without OpenCL and I didn't notice any difference, a confirmation in the log that it really is being used would be nice (not just that it's an x264 custom parameter).

well, it is what it is: a custom parameter on the x264 lib. The provided compiled version has support for this new parameter (http://git.videolan.org/?p=x264.git;a=c ... ec8ae5e042)
 

Xphome

Member
Re: OBS 0.52.05 toast build - quicksync

ExitSign said:
Xphome said:
I tried doing a quick recording 720p60fps with and without OpenCL and I didn't notice any difference, a confirmation in the log that it really is being used would be nice (not just that it's an x264 custom parameter).

well, it is what it is: a custom parameter on the x264 lib. The provided compiled version has support for this new parameter (http://git.videolan.org/?p=x264.git;a=c ... ec8ae5e042)
Oh, thanks for the link. It explains why I didn't notice anything at all. I do local recording with ultrafast preset since performance > disk space.
 

Bensam123

Member
Re: OBS 0.52.05 toast build - quicksync

Hmmm...

Use --opencl-device N to specify a number of capable GPUs to skip during device detection.

That is something quite useful if you have a mutli-gpu configuration or you want to offload it to a different device other then your primary adapter.
 

Voxletum

Member
Re: OBS 0.52.05 toast build - quicksync

Just to clarify, using OpenCL will result with a lower quality stream than if you used the CPU alone. It's also less efficient in terms of power.
 
Re: OBS 0.52.05 toast build - quicksync

Try Quick Sync for streaming on Twitch, but have black screen on stream, only audio is working.

Local file is fine, with video and audio. Only problem with local file, if it long time record, when i try play video and go to, for example, middle of video, I have to wait some time and cpu usage in this time is huge.

Use i5-3450 hd2500.

This is log if it help, http://pastebin.com/5kxhbuMB
 

leone007

New Member
Re: OBS 0.52.05 toast build - quicksync

I'd love to use openCL, but my latest AMD driver on my 7970 crashes after 8-9 minutes.

22:44:25: Open Broadcaster Software v0.52.05b powdered toast build - 64bit ( ^ω^)
22:44:25: -------------------------------
22:44:25: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
22:44:25: CPU Speed: 3500MHz
22:44:25: Physical Memory: 8077MB Total, 5631MB Free
22:44:25: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
22:44:25: monitor 1: pos={0, 0}, size={1920, 1080}
22:44:25: Windows Version: 6.1 Build 7601 S
22:44:25: Aero is Disabled
22:44:25: -------------------------------
22:44:25: OBS Modules:
22:44:25: Base Address Module
22:44:25: 000000003FC70000 OBS.exe
22:44:25: 00000000E0070000 OBSApi.dll
22:44:25: 00000000F53C0000 DShowPlugin.dll
22:44:25: 00000000F7010000 GraphicsCapture.dll
22:44:25: 00000000F6FF0000 NoiseGate.dll
22:44:25: ------------------------------------------
22:44:25: Adapter 1
22:44:25: Video Adapter: AMD Radeon HD 7900 Series
22:44:25: Video Adapter Dedicated Video Memory: 3202543616
22:44:25: Video Adapter Shared System Memory: 3966699520
22:44:25: ------------------------------------------
22:44:25: Adapter 2
22:44:25: Video Adapter: Intel(R) HD Graphics 4000
22:44:25: Video Adapter Dedicated Video Memory: 67108864
22:44:25: Video Adapter Shared System Memory: 1711276032
22:44:25: Using fixed low latency mode, factor 20
22:44:25: =====Stream Start: 2013-06-04, 22:44:25===============================================
22:44:25: Multithreaded optimizations: On
22:44:25: Base resolution: 1920x1080
22:44:25: Output resolution: 1536x864
22:44:25: ------------------------------------------
22:44:25: Loading up D3D10...
22:44:25: Playback device Default
22:44:25: ------------------------------------------
22:44:25: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:44:25: ------------------------------------------
22:44:25: Audio Encoding: AAC
22:44:25: bitrate: 128
22:44:25: Using bitmap image
22:44:25: Using text output
22:44:25: Using text output
22:44:25: Using custom x264 settings: "opencl=true"
22:44:25: ------------------------------------------
22:44:25: Video Encoding: x264
22:44:25: fps: 60
22:44:25: width: 1536, height: 864
22:44:25: preset: veryfast
22:44:25: CBR: no
22:44:25: CFR: no
22:44:25: max bitrate: 4500
22:44:25: buffer size: 4500
22:44:25: quality: 6
22:44:25: ------------------------------------------
22:44:27: Using RTMP service: Twitch / Justin.tv
22:44:27: Server selection: rtmp://live-lhr.justin.tv/app
22:44:28: SO_SNDBUF was at 8192
22:44:28: SO_SNDBUF is now 65536
22:45:42: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22:45:42: New Scene
22:45:42: Using graphics capture
22:45:42: SharedTexCapture hooked
22:52:59: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.

The GPU is on stock settings.
 

Lain

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

Yea, I'm getting some crashes myself on my 7950. Might still be a bit before the x264 devs fully stabilize it. I wish I was able to help them debug it, but sadly windows leaves few options for debugging a GCC-compiled library
 

XeiZ

Member
Re: OBS 0.52.05 toast build - quicksync

Exactly what i had when i used it yesterday with the same driver. It´s not something jim can fix though as far as i know. He simply put in the latest x264 build that had this option.
 
Re: OBS 0.52.05 toast build - quicksync

Don't know what happened, was that a twitch bugs(i have some problems with open twitch page) or my install driver for intel graphics from safe mode, but now i can stream on twitch with Quick Sync enabled.
 

TuFFrabit

New Member
Re: OBS 0.52.05 toast build - quicksync

I ran with opencl for my entire stream last night. Didn't really see any performance improvements.

Using an AMD A10-5800k APU.
 

DAOWAce

Member
Re: OBS 0.52.05 toast build - quicksync

Is this right?

12:58:47: =====Stream Start: 2013-06-05, 12:58:47===============================================
12:58:47: Multithreaded optimizations: On
12:58:47: Base resolution: 1280x720
12:58:47: Output resolution: 1280x720
12:58:47: ------------------------------------------
12:58:47: Loading up D3D10...
12:58:47: Playback device Default
12:58:47: ------------------------------------------
12:58:47: Using desktop audio input: Speakers (Creative SB X-Fi)
12:58:47: ------------------------------------------
12:58:47: Using auxilary audio input: "What U Hear" (Creative SB X-Fi)
12:58:47: ------------------------------------------
12:58:47: Audio Encoding: MP3
12:58:47: bitrate: 192
12:58:47: Using graphics capture
12:58:47: Using custom x264 settings: "opencl=true"
12:58:47: ------------------------------------------
12:58:47: Video Encoding: x264
12:58:47: fps: 60
12:58:47: width: 1280, height: 720
12:58:47: preset: fast
12:58:47: CBR: no
12:58:47: CFR: no
12:58:47: max bitrate: 4000
12:58:47: buffer size: 7000
12:58:47: quality: 10
12:58:47: ------------------------------------------
12:58:47: using memory capture
12:58:47:
12:58:47: Profiler result for the last frame:
12:58:47: ==============================================================
12:58:47: frame - [time: 17.409 ms (cpu time: 15.6 ms)]
12:58:47: | scene->Preprocess - [time: 0.002 ms (cpu time: 0 ms)]
12:58:47: | video encoding and uploading - [time: 0.005 ms (cpu time: 0 ms)]
12:58:47: ==============================================================
12:58:47:
12:58:47:
12:58:47: Profiler result for the last frame:
12:58:47: ==============================================================
12:58:47: frame - [time: 20.23 ms (cpu time: 15.6 ms)]
12:58:47: | scene->Preprocess - [time: 0.002 ms (cpu time: 0 ms)]
12:58:47: | video encoding and uploading - [time: 0.004 ms (cpu time: 0 ms)]
12:58:47: ==============================================================
12:58:47:
12:58:49: Using RTMP service: Twitch / Justin.tv
12:58:49: Server selection: rtmp://live-jfk.justin.tv/app
12:58:49: SO_SNDBUF was at 8192
12:58:49: SO_SNDBUF is now 65536
13:03:25: Capture window 0x00060408 invalid or changing, terminating capture
13:03:36: using memory capture
14:07:31: Total frames rendered: 247443, number of frames that lagged: 26 (0.01%) (it's okay for some frames to lag)
14:07:31: RTMPPublisher::SocketLoop: Aborting due to bStopping
14:07:31: Number of times waited to send: 0, Waited for a total of 0 bytes
14:07:31: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:07:31: =====Stream End: 2013-06-05, 14:07:31=================================================
14:09:08:
14:09:08: Profiler results:
14:09:08:
14:09:08: ==============================================================
14:09:08: frame - [100%] [avg time: 1.336 ms (cpu time: avg 1.342 ms, total 332329 ms)] [avg calls per frame: 1] [children: 62.6%] [unaccounted: 37.4%]
14:09:08: | scene->Preprocess - [0.0749%] [avg time: 0.001 ms (cpu time: avg 0.001 ms, total 374.402 ms)] [avg calls per frame: 1]
14:09:08: | video encoding and uploading - [62.5%] [avg time: 0.835 ms (cpu time: avg 0.855 ms, total 211725 ms)] [avg calls per frame: 1] [children: 61.6%] [unaccounted: 0.898%]
14:09:08: | | CopyResource - [0.823%] [avg time: 0.011 ms (cpu time: avg 0.01 ms, total 2620.82 ms)] [avg calls per frame: 0]
14:09:08: | | conversion to 4:2:0 - [0.599%] [avg time: 0.008 ms (cpu time: avg 0.007 ms, total 1887.61 ms)] [avg calls per frame: 0]
14:09:08: | | call to encoder - [59.6%] [avg time: 0.796 ms (cpu time: avg 0.82 ms, total 203067 ms)] [avg calls per frame: 0]
14:09:08: | | sending stuff out - [0.599%] [avg time: 0.008 ms (cpu time: avg 0.008 ms, total 1996.81 ms)] [avg calls per frame: 0]
14:09:08: | Convert444Threads - [2.49e+003%] [avg time: 33.32 ms (cpu time: avg 0.881 ms, total 218261 ms)] [avg calls per frame: 1]
14:09:08: ==============================================================
14:09:08:

Ran a 4 hour stream yesterday too without issue.

Have only tested with simple 2D games that had no real performance hit, so I've not really tested by any means. Though, the lower quality reported might be the reason why the stream quality looks a bit off.. (That or it's because I'm using OBS instead of XSplit, which for some reason drops quality despite using the same settings)

Then again, someone's saying it's not working for NVIDIA cards, so who really knows?

When I can, I'll see about testing with an actual 3D game (sans Dark Souls, since performance is worse in OBS), so it may take some time. Hopefully it is working and is providing a benefit, but from the results people are showing, it doesn't seem so yet..


Edit: Did a test with Warframe at 1080p45: http://www.twitch.tv/daowace/b/413070518

9 quality, 4,500 bitrate with 7000 buffer, veryfast.

Quality is, well.. pretty shit.. I had 60FPS no problem ingame, but with the quality that bad, I wouldn't expect anything less.
 

Geoning

Member
Re: OBS 0.52.05 toast build - quicksync

Intel HD 4000 + GTX 660M

Code:
20:54:48: Open Broadcaster Software v0.52.05b powdered toast build - 64bit ( ^ω^)
20:54:48: -------------------------------
20:54:48: CPU Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
20:54:48: CPU Speed: 2494MHz
20:54:48: Physical Memory:  8081MB Total, 5439MB Free
20:54:48: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
20:54:48: monitor 1: pos={0, 0}, size={1600, 900}
20:54:48: Windows Version: 6.2 Build 9200 
20:54:48: Aero is Enabled
20:54:48: -------------------------------
20:54:48: OBS Modules:
20:54:48: Base Address     Module
20:54:48: 00000000E87C0000 OBS.exe
20:54:48: 00000000FCA20000 OBSApi.dll
20:54:48: 000000000EC40000 DShowPlugin.dll
20:54:48: 000000000E2A0000 GraphicsCapture.dll
20:54:48: 000000000FBC0000 NoiseGate.dll
20:54:48: 000000000E280000 scenesw.dll
20:54:48: ------------------------------------------
20:54:48: Adapter 1
20:54:48:   Video Adapter: Intel(R) HD Graphics 4000
20:54:48:   Video Adapter Dedicated Video Memory: 33554432
20:54:48:   Video Adapter Shared System Memory: 1845493760
20:54:48: ------------------------------------------
20:54:48: Adapter 2
20:54:48:   Video Adapter: NVIDIA GeForce GTX 660M 
20:54:48:   Video Adapter Dedicated Video Memory: 2087518208
20:54:48:   Video Adapter Shared System Memory: 2147479552
20:54:48: =====Stream Start: 2013-06-05, 20:54:48===============================================
20:54:48:   Multithreaded optimizations: On
20:54:48:   Base resolution: 1600x900
20:54:48:   Output resolution: 1280x720
20:54:48: ------------------------------------------
20:54:48: Loading up D3D10...
20:54:48: Playback device {0.0.0.00000000}.{72222909-7a4d-4d04-84d2-71738b2456bd}
20:54:48: ------------------------------------------
20:54:48: Using desktop audio input: Głośniki (Realtek High Definition Audio)
20:54:48: ------------------------------------------
20:54:48: Audio Encoding: MP3
20:54:48:     bitrate: 48
20:54:48: Using Monitor Capture
20:54:48: Using custom x264 settings: "opencl=true"
20:54:49: ------------------------------------------
20:54:49: Video Encoding: x264
20:54:49:     fps: 30
20:54:49:     width: 1280, height: 720
20:54:49:     preset: veryfast
20:54:49:     CBR: yes
20:54:49:     CFR: no
20:54:49:     max bitrate: 335
20:54:49: ------------------------------------------
20:54:50: x264: OpenCL: Invalid value.
20:54:50: x264: OpenCL: fatal error, aborting encode
20:54:50: x264: OpenCL: Invalid value.
20:54:50: x264: OpenCL: fatal error, aborting encode
20:54:50: x264: OpenCL: Invalid value.
20:54:50: x264: OpenCL: fatal error, aborting encode
Warning -- x264 encode failed
Warning -- x264 encode failed
20:54:50: x264: OpenCL: Invalid value.
20:54:50: x264: OpenCL: fatal error, aborting encode
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
Warning -- x264 encode failed
20:54:54: Total frames rendered: 157, number of frames that lagged: 1 (0.64%) (it's okay for some frames to lag)
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: x264: OpenCL: Invalid value.
20:54:54: x264: OpenCL: fatal error, aborting encode
20:54:54: =====Stream End: 2013-06-05, 20:54:54=================================================
20:55:11: 
20:55:11: Profiler results:
20:55:11: 
20:55:11: ==============================================================
20:55:11: frame - [100%] [avg time: 4.085 ms (cpu time: avg 1.492 ms, total 234.375 ms)] [avg calls per frame: 1] [children: 81.8%] [unaccounted: 18.2%]
20:55:11: | scene->Preprocess - [3.97%] [avg time: 0.162 ms (cpu time: avg 0.199 ms, total 31.25 ms)] [avg calls per frame: 1]
20:55:11: | video encoding and uploading - [77.8%] [avg time: 3.178 ms (cpu time: avg 0.398 ms, total 62.5 ms)] [avg calls per frame: 1] [children: 75.2%] [unaccounted: 2.64%]
20:55:11: | | CopyResource - [0.979%] [avg time: 0.04 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
20:55:11: | | conversion to 4:2:0 - [0.245%] [avg time: 0.01 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
20:55:11: | | call to encoder - [73.9%] [avg time: 3.02 ms (cpu time: avg 0.398 ms, total 62.5 ms)] [avg calls per frame: 0]
20:55:11: | | sending stuff out - [0%] [avg time: 0 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
20:55:11: | Convert444Threads - [792%] [avg time: 32.36 ms (cpu time: avg 1.791 ms, total 281.25 ms)] [avg calls per frame: 0]
20:55:11: ==============================================================
20:55:11:

How we can choose device for OpenCL?

#Edit: I solved this problem.
In source OBS we can see
int b_opencl; /* use OpenCL when available */
int i_opencl_device; /* specify count of GPU devices to skip, for CLI users */
[/spolier]

b_ - bool
i_ - int

so i added new parram "opencl=true opencl_device=1" and OpenCL works great!
Default opencl_device is 0 so OBS trying use i5 (maybe) for OpenCL so I had errors... ^^

I forced run OBS with NVIDIA's card (not in obs, but in driver).
OBS was bugged (only text) http://prntscr.com/18frqr but in GPU-Z I can see that GTX 660M starts work. :)

Conclusion. OpenCL works great but for NVIDIA's we know how to run. :)

#Edit: NVIDIA's card works (22%) but why CPU is loaded with this same % ??
 

DEagleson

New Member
Re: OBS 0.52.05 toast build - quicksync

Since i usually play games on my notebook i dont have access to the raw GHz power desktop users got so QuickSync as well as OpenCL should do wonders for my streaming.

Ended up trying this OpenCL stuff and it seems to work on the Nvidia Geforce GTX 680m, no evil errors in the logs and i did get a video output to Twitch.

http://www.twitch.tv/deagleson/b/413063252

Quality seems watchable enough for me and the game kept itself at 60fps stable, so no CPU bottlenecking. :)

21:56:48: Open Broadcaster Software v0.52.05b powdered toast build - 32bit (´・ω・`)
21:56:48: -------------------------------
21:56:48: CPU Name: Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
21:56:48: CPU Speed: 2195MHz
21:56:48: Physical Memory: 4095MB Total, 4095MB Free
21:56:48: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
21:56:48: monitor 1: pos={0, 0}, size={1920, 1080}
21:56:48: monitor 2: pos={1920, 0}, size={1920, 1080}
21:56:48: Windows Version: 6.2 Build 9200
21:56:48: Aero is Enabled
21:56:48: -------------------------------
21:56:48: OBS Modules:
21:56:48: Base Address Module
21:56:48: 00FB0000 OBS.exe
21:56:48: 602E0000 OBSApi.dll
21:56:48: 60050000 DShowPlugin.dll
21:56:48: 60030000 GraphicsCapture.dll
21:56:48: 60010000 NoiseGate.dll
21:56:48: ------------------------------------------
21:56:48: Adapter 1
21:56:48: Video Adapter: NVIDIA GeForce GTX 680M
21:56:48: Video Adapter Dedicated Video Memory: 3221225472
21:56:48: Video Adapter Shared System Memory: 1073676288
21:56:48: =====Stream Start: 2013-06-05, 21:56:48===============================================
21:56:48: Multithreaded optimizations: On
21:56:48: Base resolution: 1280x720
21:56:48: Output resolution: 1280x720
21:56:48: ------------------------------------------
21:56:48: Loading up D3D10...
21:56:48: Playback device Default
21:56:48: ------------------------------------------
21:56:48: Using desktop audio input: Speaker (USB Sound Blaster HD)
21:56:48: ------------------------------------------
21:56:48: Using auxilary audio input: Microphone (USB Sound Blaster HD)
21:56:48: ------------------------------------------
21:56:48: Audio Encoding: AAC
21:56:48: bitrate: 128
21:56:48: Using graphics capture
21:56:48: Using custom x264 settings: "opencl=true"
21:56:48: ------------------------------------------
21:56:48: Video Encoding: x264
21:56:48: fps: 30
21:56:48: width: 1280, height: 720
21:56:48: preset: fast
21:56:48: CBR: yes
21:56:48: CFR: yes
21:56:48: max bitrate: 2000
21:56:48: ------------------------------------------
21:56:48: SharedTexCapture hooked
21:57:09: Total frames rendered: 619, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
21:57:09: Total duplicated frames: 0 (0.00%)
21:57:09: =====Stream End: 2013-06-05, 21:57:09=================================================
21:57:43: =====Stream Start: 2013-06-05, 21:57:43===============================================
21:57:43: Multithreaded optimizations: On
21:57:43: Base resolution: 1280x720
21:57:43: Output resolution: 1280x720
21:57:43: ------------------------------------------
21:57:43: Loading up D3D10...
21:57:43: Playback device Default
21:57:43: ------------------------------------------
21:57:43: Using desktop audio input: Speaker (USB Sound Blaster HD)
21:57:43: ------------------------------------------
21:57:43: Using auxilary audio input: Microphone (USB Sound Blaster HD)
21:57:43: ------------------------------------------
21:57:43: Audio Encoding: AAC
21:57:43: bitrate: 128
21:57:43: Using graphics capture
21:57:43: Using custom x264 settings: "opencl=true"
21:57:44: ------------------------------------------
21:57:44: Video Encoding: x264
21:57:44: fps: 30
21:57:44: width: 1280, height: 720
21:57:44: preset: fast
21:57:44: CBR: yes
21:57:44: CFR: yes
21:57:44: max bitrate: 2000
21:57:44: ------------------------------------------
21:57:44: SharedTexCapture hooked
21:57:48: Total frames rendered: 125, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
21:57:48: Total duplicated frames: 0 (0.00%)
21:57:48: =====Stream End: 2013-06-05, 21:57:48=================================================
21:58:02: =====Stream Start: 2013-06-05, 21:58:02===============================================
21:58:02: Multithreaded optimizations: On
21:58:02: Base resolution: 1280x720
21:58:02: Output resolution: 1280x720
21:58:02: ------------------------------------------
21:58:02: Loading up D3D10...
21:58:02: Playback device Default
21:58:02: ------------------------------------------
21:58:02: Using desktop audio input: Speaker (USB Sound Blaster HD)
21:58:02: ------------------------------------------
21:58:02: Using auxilary audio input: Microphone (USB Sound Blaster HD)
21:58:02: ------------------------------------------
21:58:02: Audio Encoding: AAC
21:58:02: bitrate: 128
21:58:02: Using graphics capture
21:58:02: Using custom x264 settings: "opencl=true"
21:58:02: ------------------------------------------
21:58:02: Video Encoding: x264
21:58:02: fps: 30
21:58:02: width: 1280, height: 720
21:58:02: preset: fast
21:58:02: CBR: yes
21:58:02: CFR: yes
21:58:02: max bitrate: 2000
21:58:02: ------------------------------------------
21:58:02: SharedTexCapture hooked
21:58:19: Total frames rendered: 511, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
21:58:19: Total duplicated frames: 0 (0.00%)
21:58:19: =====Stream End: 2013-06-05, 21:58:19=================================================
21:59:30: =====Stream Start: 2013-06-05, 21:59:30===============================================
21:59:30: Multithreaded optimizations: On
21:59:30: Base resolution: 1280x720
21:59:30: Output resolution: 1280x720
21:59:30: ------------------------------------------
21:59:30: Loading up D3D10...
21:59:30: Playback device Default
21:59:30: ------------------------------------------
21:59:30: Using desktop audio input: Speaker (USB Sound Blaster HD)
21:59:30: ------------------------------------------
21:59:30: Using auxilary audio input: Microphone (USB Sound Blaster HD)
21:59:30: ------------------------------------------
21:59:30: Audio Encoding: AAC
21:59:30: bitrate: 128
21:59:30: Using graphics capture
21:59:30: Using custom x264 settings: "opencl=true"
21:59:30: ------------------------------------------
21:59:30: Video Encoding: x264
21:59:30: fps: 30
21:59:30: width: 1280, height: 720
21:59:30: preset: fast
21:59:30: CBR: yes
21:59:30: CFR: yes
21:59:30: max bitrate: 2000
21:59:30: ------------------------------------------
21:59:30: SharedTexCapture hooked
21:59:32: Using RTMP service: Twitch / Justin.tv
21:59:32: Server selection: rtmp://live-ams.justin.tv/app
21:59:34: SO_SNDBUF was at 65536
21:59:34: SO_SNDBUF is now 65536
23:35:46: Total frames rendered: 173293, number of frames that lagged: 14 (0.01%) (it's okay for some frames to lag)
23:35:46: Total duplicated frames: 19 (0.01%)
23:35:49: RTMPPublisher::SocketLoop: Aborting due to bStopping
23:35:49: Number of times waited to send: 0, Waited for a total of 0 bytes
23:35:49: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
23:35:49: =====Stream End: 2013-06-05, 23:35:49=================================================
23:37:50:
23:37:50: Profiler results:
23:37:50:
23:37:50: ==============================================================
23:37:50: frame - [100%] [avg time: 2.196 ms (cpu time: avg 2.04 ms, total 356156 ms)] [avg calls per frame: 1] [children: 68.6%] [unaccounted: 31.4%]
23:37:50: | scene->Preprocess - [0.0455%] [avg time: 0.001 ms (cpu time: avg 0.002 ms, total 359.375 ms)] [avg calls per frame: 1]
23:37:50: | video encoding and uploading - [68.5%] [avg time: 1.505 ms (cpu time: avg 1.413 ms, total 246797 ms)] [avg calls per frame: 1] [children: 67.1%] [unaccounted: 1.46%]
23:37:50: | | CopyResource - [0.683%] [avg time: 0.015 ms (cpu time: avg 0.014 ms, total 2531.25 ms)] [avg calls per frame: 0]
23:37:50: | | conversion to 4:2:0 - [0.364%] [avg time: 0.008 ms (cpu time: avg 0.006 ms, total 1109.38 ms)] [avg calls per frame: 0]
23:37:50: | | call to encoder - [63.5%] [avg time: 1.395 ms (cpu time: avg 1.318 ms, total 230141 ms)] [avg calls per frame: 0]
23:37:50: | | sending stuff out - [2.5%] [avg time: 0.055 ms (cpu time: avg 0.051 ms, total 9046.88 ms)] [avg calls per frame: 0]
23:37:50: | Convert444Threads - [3.03e+003%] [avg time: 66.641 ms (cpu time: avg 1.242 ms, total 216938 ms)] [avg calls per frame: 1]
23:37:50: ==============================================================
23:37:50:
 

philosoaper

New Member
Re: OBS 0.52.05 toast build - quicksync

heh funny.. setting the device to 1 makes it not work but 0 does?.. heh.. or at least it doesn't say there was no compatible encoder found..



16:51:06: Using custom x264 settings: "opencl=true opencl_device=1"
16:51:06: x264: OpenCL: Unable to find a compatible device
16:51:06: ------------------------------------------
16:51:06: Video Encoding: x264
16:51:06: fps: 60
16:51:06: width: 1280, height: 800
16:51:06: preset: faster
16:51:06: CBR: no
16:51:06: CFR: no
16:51:06: max bitrate: 2000
16:51:06: buffer size: 2000
16:51:06: quality: 10
16:51:06: ------------------------------------------
16:51:06: SharedTexCapture hooked
16:51:06:
16:51:06: Profiler result for the last frame:
16:51:06: ==============================================================
16:51:06: frame - [time: 28.293 ms (cpu time: 31.2 ms)]
16:51:06: | scene->Preprocess - [time: 0.001 ms (cpu time: 0 ms)]
16:51:06: | video encoding and uploading - [time: 0.003 ms (cpu time: 0 ms)]
16:51:06: ==============================================================



16:59:16: Using custom x264 settings: "opencl=true opencl_device=0"
16:59:17: ------------------------------------------
16:59:17: Video Encoding: x264
16:59:17: fps: 60
16:59:17: width: 1280, height: 800
16:59:17: preset: faster
16:59:17: CBR: no
16:59:17: CFR: no
16:59:17: max bitrate: 2000
16:59:17: buffer size: 2000
16:59:17: quality: 10
16:59:17: ------------------------------------------
16:59:17: SharedTexCapture hooked
16:59:17:
16:59:17: Profiler result for the last frame:
16:59:17: ==============================================================
16:59:17: frame - [time: 39.458 ms (cpu time: 46.8 ms)]
16:59:17: | scene->Preprocess - [time: 0.001 ms (cpu time: 0 ms)]
16:59:17: | video encoding and uploading - [time: 0 ms (cpu time: 0 ms)]
16:59:17: ==============================================================
 

StrikerX3

New Member
Re: OBS 0.52.05 toast build - quicksync

Tried the new OpenCL option with my GTX 680. Didn't notice any difference in performance at all in NS2. CPU usage remained the same after enabling it, while GPU usage did seem to increase by about 20%. I was expecting CPU usage to go down noticeably, but it seems like OBS is still using the CPU to encode.
 

paibox

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

I think it's pretty safe to assume by now that OpenCL is unfortunately broken in the current build of x264.

In previous builds, it used to lower CPU usage by 10-15%, and quality was not affected negatively in any way. (x264 only offloads rc-lookahead to the GPU.) It seems to be doing the lookahead on the GPU, but then not using the data for anything, which results in graphical glitches here and there. Can't do much except wait for x264 to fix it, OBS is not technically doing any of the encoding.
 

Perb

New Member
Re: OBS 0.52.05 toast build - quicksync

What resolution were you two using?

I'm my limited testing of OpenCL it worked great for 720p or lower, but when I tried 1080p it went back to using the CPU to encode.
 

StrikerX3

New Member
Re: OBS 0.52.05 toast build - quicksync

I tested with both 720p and 1080p. No improvements in either.

Maybe the frame rate has something to do with it? I did 720p45 and 1080p60.
 
Status
Not open for further replies.
Top