OBS branch with AMD VCE support.

chummy

Member
@chummy This thread is for the classic OBS and to be more precise for the VCE build you can grab in the first post.
If you use OBS-MP you are using the Media Foundation implementation and not this OBS VCE build.
Yes i know all that, but since i wasnt able to achieve this settings in this Build i just wanted to share my results and maybe some others will appreciate this.
 
I want to ask - does this build set OBS's bitrate to CBR?
I mean this checkbox in Encoding tab. I unchecked CBR and when I started recording it has automatically checked. Is it something related to VCE or is it something messed up in my OBS?
 

Ripsteri

New Member
Hello guys! Im 19 years old boy from Finland and im looking for advices!
I have been struggling with my AMD VCE OBS settings.
It has been hard to find best possible quality for max. 2000 kb/s bitrate.
Thats like the maxium bitrate I can get by upload.
http://www.twitch.tv/ripperonline/v/49407158 In this clip is the best quality I have found for streaming.
Settings on this clip are:
Bitrate: 2k
CBR: Checked
CBR Padding: Checked
Resolution downscaled to 1024x576
FPS 25
And AMD VCE Encoder is not using custom parameters.
If you have any idea how to get better quality for my stream without losing FPS please tell me! :)
 

dping

Active Member
Hello guys! Im 19 years old boy from Finland and im looking for advices!
I have been struggling with my AMD VCE OBS settings.
It has been hard to find best possible quality for max. 2000 kb/s bitrate.
Thats like the maxium bitrate I can get by upload.
http://www.twitch.tv/ripperonline/v/49407158 In this clip is the best quality I have found for streaming.
Settings on this clip are:
Bitrate: 2k
CBR: Checked
CBR Padding: Checked
Resolution downscaled to 1024x576
FPS 25
And AMD VCE Encoder is not using custom parameters.
If you have any idea how to get better quality for my stream without losing FPS please tell me! :)
for 2000 bitrate 576 is about right. 25fps would be better set to 30 so video doesn't look jittery.
 

deckardcoin

New Member
Hey guys. I just bought a R9 380 yesterday and immediately found out about OBS, specifically this branch. I've been trying to stream using VCE but so far it's been impossible.

First, I tried raptr. It flatout did not work. Pressing the shortcut to stream to twitch does literally nothing (it stays "Twitch Offline") so then I tried OBS. It almost works but there's a huge problem: the system freezes in less than a minute (but not the audio), i can still move the mouse for a while but eventually freezes too. Are these common issues here? Is this impossible to get working?

Ran into this issue except anywhere from a minute to 2 hours between driver crashes. The solution was disabling CBR padding, hope this helps someone else.
 

dping

Active Member
Ran into this issue except anywhere from a minute to 2 hours between driver crashes. The solution was disabling CBR padding, hope this helps someone else.
have you both uninstalled raptr as well as in steam, disable hardware decoding (not encoding). hardware deciding in steam has been known to cause issues.
 

Darian Tavana

New Member
Hello,

I am trying to record ArmA 2 Operation Arrowhead with this OBS but I keep getting an error:

Battleeye is blocking GameCaptureHook.dll

Any fix?
 

Mr.sexyness

New Member
I am Experiencing Crashes When I locally record with OBS vce v0.656b 64bit w/ Latest Video Driver.
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
https://obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\windows\system32\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: 80000003
Fault address: 00007FFE0B700252 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.656b
Windows version: 6.2 (Build 9200)
CPU: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A5114CF038 00007FFE0B700252 00007FFDED730C60 0000000000007531 000000A5114CEF98 000000A5114CF0D9 kernelbase.dll!0x7ffe0b700252
000000A5114CF040 00007FFDED7014B3 000000A5116672C0 00007FF7AAD2B770 000000A5116672C0 0000000000000002 obsapi.dll!OSTerminateThread+0x33
000000A5114CF070 00007FF7AAC6ED21 0000000000800000 000000A5116672C0 0000000000000000 00007FF7AAC69CB4 obs.exe!OBS::Stop+0x1e1
000000A5114CF140 00007FF7AAC6CCCE 00007FF7AAC723A0 0000000000000000 0000000000800000 0000000000800000 obs.exe!OBS::StopRecording+0x3e
000000A5114CF170 00007FF7AAC3384E 0000000000000001 000000A5114CF2C0 0000000000000000 00007FFE0E0A8EB0 obs.exe!OBS::CallHotkey+0x8e
000000A5114CF1C0 00007FF7AACA28F6 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::OBSProc+0x23c6
000000A5114CF410 00007FFE0D4100DC 00007FFDE76C1288 00007FF7AACA0530 0000000000020294 00007FF7AACA0530 user32.dll!0x7ffe0d4100dc
000000A5114CF500 00007FFE0D40F991 00007FFDE76C1288 0000000000000402 0000000000020294 00007FFDE76C1258 user32.dll!0x7ffe0d40f991
000000A5114CF550 00007FFDE768D696 0000000000000000 00007FFE0D41EC16 0000000000000000 0000000000000001 tv_x64.dll!0x7ffde768d696
000000A5114CF5F0 00007FFE0D4100DC 000000A511E8E060 00007FFDE768D2F0 0000000000020294 00007FF7AA2BE800 user32.dll!0x7ffe0d4100dc
000000A5114CF6E0 00007FFE0D40FC07 000000A51166C6B0 0000000000000000 0000000000000001 0000000000000000 user32.dll!0x7ffe0d40fc07
000000A5114CF760 00007FFE0D41212F 00000000000B04B1 000000A5114CF8C0 000000A51166C6B0 000000A51166C6B0 user32.dll!0x7ffe0d41212f
000000A5114CF7C0 00007FF7AAC5DC7A 0000000000000000 00007FF7AAC30000 0000000000000000 0000000000000000 obs.exe!WinMain+0xb6a
000000A5114CFD80 00007FF7AACE3170 0000000000000000 00007FF7AACE3014 00007FF7AA2BC000 0000000000000000 obs.exe!__tmainCRTStartup+0x148
000000A5114CFDC0 00007FFE0B8E2D92 00007FFE0B8E2D70 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffe0b8e2d92
000000A5114CFDF0 00007FFE0E159F64 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e159f64

Video thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A5380EF658 00007FFE0E1E535A 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e1e535a
000000A5380EF660 00007FFE0E185E0A 0000000000000000 000000A5380EF728 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e185e0a
000000A5380EF690 00007FFE0E185D0A 000000A53911BCE0 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e185d0a
000000A5380EF6F0 00007FFE0E185BAF 000000000FD51DA8 000000000B61799C 000000A53911BCE0 000000000000008F ntdll.dll!0x7ffe0e185baf
000000A5380EF7C0 00007FFE0E185069 000000A51160CFC0 000000A537945088 0000000000000004 0000000000000000 ntdll.dll!0x7ffe0e185069
000000A5380EF800 00007FFE0E184F80 000000A5380EF870 000000A5390F51A8 01D1751CD86F064C 0000000000000001 ntdll.dll!0x7ffe0e184f80
000000A5380EF830 00007FFDF6DAA070 000000A537945030 000000A5380EFC78 000000A5380EFC78 000000A5380EF990 obsvceamf.dll!VCEEncoder::RequestBuffers+0xc0
000000A5380EF890 00007FF7AAC75A1D 00007FF7AAC727A0 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureLoop+0x178d
000000A5380EFD80 00007FF7AAC727A9 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureThread+0x9
000000A5380EFDB0 00007FFE0B8E2D92 00007FFE0B8E2D70 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffe0b8e2d92
000000A5380EFDE0 00007FFE0E159F64 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e159f64

Encode thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000A537FEF478 00007FFE0E1E535A 0000000000000000 0000000000000001 000000A53EFE0450 0000000000010A6F ntdll.dll!0x7ffe0e1e535a
000000A537FEF480 00007FFE0E185E0A 0000000000000000 000000A537FEF548 000000A538F70E20 000000000004AEAF ntdll.dll!0x7ffe0e185e0a
000000A537FEF4B0 00007FFE0E185D0A 000000A53911BCE0 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e185d0a
000000A537FEF510 00007FFE0E185BAF 000000A53EB80B40 000000A538FD3270 000000A53911BCE0 00007FFE0E17AAE8 ntdll.dll!0x7ffe0e185baf
000000A537FEF5E0 00007FFE0E185069 0000000000000002 000000A537FEF6D9 0000000000000000 000000A511667201 ntdll.dll!0x7ffe0e185069
000000A537FEF620 00007FFE0E184F80 000000003D318D6F 000000A537944690 0000000000000000 00007FFE0E17A9B9 ntdll.dll!0x7ffe0e184f80
000000A537FEF650 00007FFDF6DA8C28 000000A511667630 000000A52F691410 01D1751CD86F0487 0000000000000000 obsvceamf.dll!VCEEncoder::Encode+0x3a8
000000A537FEF730 00007FF7AAC736BB 0000000000000000 000000000003437C 000000A5116672C0 000000000000001E obs.exe!OBS::ProcessFrame+0xdb
000000A537FEF820 00007FF7AAC73F4A 0000000000000001 0000000000000001 00000000000001E6 0000000000000000 obs.exe!OBS::EncodeLoop+0x4aa
000000A537FEF960 00007FF7AAC72799 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::EncodeThread+0x9
000000A537FEF990 00007FFE0B8E2D92 00007FFE0B8E2D70 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffe0b8e2d92
000000A537FEF9C0 00007FFE0E159F64 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffe0e159f64

A minidump was saved to C:\Users\Mr. Sexyness\AppData\Roaming\OBS\crashDumps\OBSCrashDump2016-03-03_3.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module
------------------
System Information
------------------
Time of this report: 3/3/2016, 02:20:17
Machine name: DESKTOP-FOPQHST
Operating System: Windows 10 Pro 64-bit (10.0, Build 10240) (10240.th1.160104-1507)
Language: English (Regional Setting: English)
System Manufacturer: ASUSTeK COMPUTER INC.
System Model: M32CD
BIOS: 0501
Processor: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (4 CPUs), ~2.7GHz
Memory: 8192MB RAM
Available OS Memory: 8118MB RAM
Page File: 4665MB used, 4732MB available
Windows Dir: C:\Windows
DirectX Version: 12
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
DxDiag Version: 10.00.10240.16384 64bit Unicode
 

besweeet

New Member
No-go for me and my 2600K (4GHz) and overclocked 7950. Set to 1920x1080, 60FPS, 50000Kbps bitrate. Rocket League records at less than 30FPS, and this is regardless of it I lower the bitrate (even much lower, to 5000Kbps) or frame rate.

So far, Mirillis Action is the only thing that comes close to giving me buttery smooth 60FPS playback at high bitrates.
 

dping

Active Member
No-go for me and my 2600K (4GHz) and overclocked 7950. Set to 1920x1080, 60FPS, 50000Kbps bitrate. Rocket League records at less than 30FPS, and this is regardless of it I lower the bitrate (even much lower, to 5000Kbps) or frame rate.

So far, Mirillis Action is the only thing that comes close to giving me buttery smooth 60FPS playback at high bitrates.
need to use speed preset with 1080@60.

@Mr.sexyness dont run teamviewer while you encode.
 

Mr357

New Member
Does anyone have any general recommendations for achieving perfectly smooth local recordings with (obviously) VCE? I've just about gotten it perfect, but it seems like every time I adjust something it gets worse. For some reason, CBR doesn't want to work. I'm only trying to record 1080p @ 30, and my CPU and GPU are both staying below 30% usage.

85c79f39dd.png


3fa42caf27.png

My resulting bitrate comes out to just over 9000. The highest I've seen it spike to while recording is about 30,000. Any tips would be greatly appreciated.
 

besweeet

New Member
Messed with the settings again. For the most part, 720p60FPS streams are mostly silky smooth. There are maybe 1-2 seconds every so often where it'll be sluggish. Could be several things, but I'm fine with it. GPU isn't isn't that high -- between 10-20% usage. Sometimes usage isn't high enough to where my GPU will just use its pre-boosted clock speed (500MHz core clock).

And that's when recording something that's not even remotely CPU or GPU intensive. When trying to record or stream Rocket League, the frame rate is still very inconsistent.

Here are my settings.

n6uueaO.png


DBe4uAv.png


1ypv7EV.png


1ypv7EV.png
 
Last edited:

Jack0r

The Helping Squad
VCE is available on OBS-Studio already, although it currently uses Media Foundation which does not support proper CBR for streaming as far as I know. And you have less configuration options at the moment.
But it is definitely planned to add a native implementation of VCE/NVENC and QuickSync in the future.
 

Jeffrey Veenhuis

New Member
For streaming this all seems to be working fine for me but I just can't find the optimal settings to locally record at 1080@30 FPS without impacting my own FPS, I used to have a setting but I've lost those after reinstalling my PC.

Last log: https://gist.github.com/3937297e2d2a017502d6
Log before that: https://gist.github.com/07b744815a026ae5a52e
And the one before that: https://gist.github.com/fec8788cc80bd531bd50

The analyzer tells me it's some overlay but I don't think that's the case, last couple of crashes also crashed my GPU driver, I already made sure all overlays are off (except Steam Overlay).

Settings:
nOuj4.png


nOuk3.png


nOukU.png


nOulL.png


I know I used to have customized settings, also tried DX9 and different QP, I/P/B/B-Delta settings but I feel like I lack the knowledge what changes what and I don't know what my rig is capable of.
I know it has outdated hardware but I used to be able to do it, and I want it again.

Hopefully anyone has good suggestions on what settings I should use.

I7 920 (not overclocked)
HD7970
10GB RAM.
2 SSD's and multiple HDD's
 

cruzlink2

New Member
Can you select a specific card to do the encoding? I have 2 R7265 on my streaming rig. Was wondering if I can select the one not being used for encoding the stream?
 
Top