OBS branch with AMD VCE support.

chrys

New Member
Okay now the bitrate is more constant BUT I get crashes after a time. I even tried the newest Catalyst Driver but was still the same :(
 

dping

Active Member
3. Is there any documentation about what each of these parameters do? I think - for the future - this would prevent many users to ask the same questions again and again :)

I install each new build on a folder on my desktop and label the folder with the name of the 7z filename this way I can keep try of new builds. inside that folder is a folder called samples with 3 files each names quality, balanced, and speed (sound familiar? if you open one of these files, there is a brief description of setting of each. obviously the setting dont match exactly what you set them to, i.e. the bitrate in each file because OBS will overwrite those setting with the settings in AMD VCE settings window.



but my ingame FPS still drops when I start recording. My FPS drops very very much if I use Monitor Capture, but if I use Game Capture the FPS doesn't drop too much. If this would be working properly as in the second GPU doing all the encoding, shouldn't I then be able to use Monitor Capture without seeing a single FPS drop in my game?

https://gist.github.com/anonymous/452284435b7dd91e120d

I would re-enable aero for windows. that is one setting that I have enabled that you dont. I know what obs says, if you do game/window capture then you want aero enabled anyway.

Lastly, the build you are using, should be the one dated 09-30 v0.636b (test build 1). I linked it to you in a previous post. its called "AMF Test build, does ng the audio stay in sync over longer recordiduration?" quoted from a message from Jackun. this buld is the last hes posted yet he didn't update the front page with it yet.

Lastly, play with the Device Index a little. set it to 0, test, if lag, stop, set it to 1, test, if lag, set it to 2. test. other than that. I'm kind of out of ideas.
 

chrys

New Member
Know what might be the problems with my crashes?

The release v31/8 was working fine (with the bitrate issues), now the v30/9 is crashing after a time (after 30 to 60 minutes of streaming).
And after OBS crashed I couldn't start it again. I would have to reboot.

I don't have any plugins.

I didn't do any other settings since the v31/8
 

dping

Active Member
Know what might be the problems with my crashes?

The release v31/8 was working fine (with the bitrate issues), now the v30/9 is crashing after a time (after 30 to 60 minutes of streaming).
And after OBS crashed I couldn't start it again. I would have to reboot.

I don't have any plugins.

I didn't do any other settings since the v31/8

I have no clue where you are getting those version numbers; care to explain? oh lol, the dates, gotcha. There shouldn't be any reason for crashes. I know @OliverMD was having crashes and had to slightly underclock his card to make it stable.

Lastly, can you please post log when you have issues? just in case, it does help just in case something else is going on
 

Darker

Member
I would re-enable aero for windows. that is one setting that I have enabled that you dont. I know what obs says, if you do game/window capture then you want aero enabled anyway.

Lastly, the build you are using, should be the one dated 09-30 v0.636b (test build 1). I linked it to you in a previous post. its called "AMF Test build, does ng the audio stay in sync over longer recordiduration?" quoted from a message from Jackun. this buld is the last hes posted yet he didn't update the front page with it yet.

Lastly, play with the Device Index a little. set it to 0, test, if lag, stop, set it to 1, test, if lag, set it to 2. test. other than that. I'm kind of out of ideas.

Yea, I did all that and tried to use device index ranging from 0-6. Still FPS drops. Are you sure this should be working with absolutely no FPS drops whatsoever?
 

dping

Active Member
Yea, I did all that and tried to use device index ranging from 0-6. Still FPS drops. Are you sure this should be working with absolutely no FPS drops whatsoever?


From an in-game perspective playing L4D2 at 1080p windowed no border, no Anti Aliasing, bilinear vsync disabled, shader high, effect high, model/texture high this is the results

on dead center overage over 100 frames 215fps not streaming for baseline
720@48fps (IDR 96 GOP48) no noticable frame drops 215fps over 1000 frames
720@54fps (IDR 108 GOP 54) no noticable frame drops 215fps over 1000 frames
720@60fps (IDR 120 GOP 60) 30-60 frame drops 180fps over 1000 frames

When streaming, the quality preset is what I selected.

I do not know what your baseline is, and all I know is that I play this game to achieve over 144fps at any given time due to 144hz monitor.


Also, for all of you who use i pic period other than 0, here is a great description of what it is:
"If this value is 0, the picture type is determined by the VPU according to the
various parameters such as encoded frame number and GOP size.
If this value is 1, the frame is encoded as an I-picture regardless of the frame
number or GOP size, and I-picture period calculation is reset to the initial state.
For MPEG-4 and H.263, I-picture is sufficient for decoder refresh. For H.264
mode, the picture is encoded as an Instantaneous Decoding Refresh (IDR) picture.
This value is ignored if skipPicture = 1."
 
Last edited:

Darker

Member
From an in-game perspective playing L4D2 at 1080p windowed no border, no Anti Aliasing, bilinear vsync disabled, shader high, effect high, model/texture high this is the results

on dead center overage over 100 frames 215fps not streaming for baseline
720@48fps (IDR 96 GOP48) no noticable frame drops 215fps over 1000 frames
720@54fps (IDR 108 GOP 54) no noticable frame drops 215fps over 1000 frames
720@60fps (IDR 120 GOP 60) 30-60 frame drops 180fps over 1000 frames

When streaming, the quality preset is what I selected.

I do not know what your baseline is, and all I know is that I play this game to achieve over 144fps at any given time due to 144hz monitor.

Hmm, my baseline average FPS would be about 100, dropping to 60-70 when recording which is unacceptable since I also have a 144 Hz monitor. It do seems like you don't have 0 performance loss considering your FPS drops when recording at 720p60.
 

dping

Active Member
Hmm, my baseline average FPS would be about 100, dropping to 60-70 when recording which is unacceptable since I also have a 144 Hz monitor. It do seems like you don't have 0 performance loss considering your FPS drops when recording at 720p60.

Mind posting logs? After this, I'm chalking up to other issues.

1. dont watch stream while you are streaming. I dont even have preview mode open...This might be due to GPU acceleration being used in most browsers.
2. Close all browsers; if you have one open, just close it and see if the fps drops are still there.

There is no reason for you to have two GPUs (one presumably dedicated to streaming) and have more issues than me.
 

Koen Kolkman

New Member
Guys, a question.
Just for livestreaming a hdmi video capture card 1080p would a mini itx pc with amd a5350 be enough?
I wonder if the iGPU of it could handle it.

thx,
Koen
 

dping

Active Member
Guys, a question.
Just for livestreaming a hdmi video capture card 1080p would a mini itx pc with amd a5350 be enough?
I wonder if the iGPU of it could handle it.

thx,
Koen

From what I understand from the link below, your APU does support VCE since it is based on the GCN architecture. this being the case, that is the best answer I can give you. If you already have the capture card then try it. only only difference from What I use VCE for and what you do, is I use game capture. One would recommend if your capture card stays 720p @60fps or 1080@30, but then again, I've not captured an external source before. I believe @Darker has a setup similar to what you are doing...

http://www.amd.com/en-gb/products/processors/desktop/athlon#2
 

Zombieofthepast

New Member
So I read through a bunch of this thread since I didn't understand the ups and downs of checking the "Use OpenCL for NV12 conversion" option. If I'm local recording 1080p@60fps high motion game, would it be better to use this or not? i5-2400 and HD7970 if it helps.

Also, what would a good bitrate be for high quality local recording with this? I've been using 40000kbs, is this too high?
 

dping

Active Member
So I read through a bunch of this thread since I didn't understand the ups and downs of checking the "Use OpenCL for NV12 conversion" option. If I'm local recording 1080p@60fps high motion game, would it be better to use this or not? i5-2400 and HD7970 if it helps.

Also, what would a good bitrate be for high quality local recording with this? I've been using 40000kbs, is this too high?

I dont believe either OpenCL or MFT will do 1080@60fps yet. I could be wrong; give it a shot and do a quality compare. I recommend something like CS:S demo or whatever, as long as the scenes are the same in both you'll be fine to compare.

EDIT: dont expect VBR to stick with that bitrate as a max. for some reason it still tends to vary away during high motion, but since you are local recording, you should be fine.

EDIT: 1080@60 might work at speed setting with OpenCL.
 
Last edited:

Zombieofthepast

New Member
I dont believe either OpenCL or MFT will do 1080@60fps yet. I could be wrong; give it a shot and do a quality compare. I recommend something like CS:S demo or whatever, as long as the scenes are the same in both you'll be fine to compare.

EDIT: dont expect VBR to stick with that bitrate as a max. for some reason it still tends to vary away during high motion, but since you are local recording, you should be fine.

EDIT: 1080@60 might work at speed setting with OpenCL.

I've been using OpenCL and I get the "High Encoding CPU Usage" warning sometimes but it seems to be able to handle it with little to no freezing.

I've noticed the bitrate going a bit crazy at times (spiking up to ~100,000kbps or higher) and it seems to coincide with the High CPU Usage warning (I'm assuming they're both caused by the high motion). Is there any way to make the bitrate more constant without killing quality or is that just the nature of the beast at the moment?

Edit: What did you mean by "yet"? Is OpenCL going to be improved so it can handle very high volume better (1080p60fps)?
 

KaziQ

New Member
Do you guys have any idea how raptr does their recording with VCE? Because they can do 60 FPS with 50 Mbit/s
 

dping

Active Member
I've been using OpenCL and I get the "High Encoding CPU Usage" warning sometimes but it seems to be able to handle it with little to no freezing.

I've noticed the bitrate going a bit crazy at times (spiking up to ~100,000kbps or higher) and it seems to coincide with the High CPU Usage warning (I'm assuming they're both caused by the high motion). Is there any way to make the bitrate more constant without killing quality or is that just the nature of the beast at the moment?

Edit: What did you mean by "yet"? Is OpenCL going to be improved so it can handle very high volume better (1080p60fps)?


There are always optimizations when it comes to software and the use of it, slow code will always run worse vs fast code. if a dev can write something in 2 lines vs 8 with the same result, the 2 lines will often run faster, but then again that is just an example. OpenCL's library is being updated all the time and when that happens, what used to have to be written is now referenced. Forgive me @jackun if I'm incorrect about any of the above but this is what I've come to understand about scripting, and writing software, exc.

As for the high bitrate, or use a lower quality balance under the encoding tab. this will always lower the bitrate output of your encode. From what I understand, anything above 50,000kbps is excessive with the quality.

Another option is to try using AMF will allow for better VBR and CBR but I dont know if AMF can handle it yet. use the speed setting and try it out. make sure you align the GOP and IDR as stated in a previous post.
 

5dollar

New Member
Hey guys. I am getting some heavy pixelation during movement.

http://www.twitch.tv/fullderpgaming/c/5355675 <<<< footage.

Its so clear during the buy and standing still, then the WHOLE PICTURE goes to crap - amd 8320, 16gb ddr3, r9 280x.

Here are my settings. This is with the advanced AMD VCE with the QUALITY preset. In game settings in csgo are all jacked up. I have run them all on low, same thing.

See screens below. Please Help.

I usually run with the USE CBR checked, and I alternate from 2500/2500 and 3500/3500 - it makes no difference. Still pixelation. Changing the filter to the default preset and to what you see pictured, also makes no difference. My local recordings reflect the same thing (I dual stream / record all my streams)

Y2iLaKD.jpg


Y6q0MQZ.jpg


x1vOPWa.jpg


KlECyul.jpg
 

dping

Active Member
Hey guys. I am getting some heavy pixelation during movement.
I cant see your video but I will say from experience the pixellation like your are describing happens with older builds that the bitrate would jump above the max upload during fast moving scenes. this is fixed in newer builds and should only see pixellation with trees and really high movement.


720@60 actually needs 3300-4000 bitrate to look good, since twitch recommends 3500 use that. VCE at 720@60 has had a few issues for me, I would used the ballanced preset at the top after updating to the newest build (see below).

update to the newest version of jackun's fork from the front page. Newer versions have max reference frames locked at 1 and bframes locked at 0, MFT quality removed and AMF quality added plus many more directx based settings. after you update, you "might" have to remove and readd your game capture. Speaking of which, OBS recommends game capture to use AERO enabled (not that this should make a difference for you but might gain peak fps in game).

Also, I set my process class priority in Advanced tab to "above normal" and twitch recommends scene buffering at 400 not 700. Lastly just for kicks try your GOP at the same as your FPS (i.e.60). this is what I use.

As for CS:GO settings, they can be set to lower, competitive quality settings since its less for the engine for encode. Every little bit helps i.e. turn down anti-aliasing to none or 2x is the main thing. your viewers wont really see any difference above 2x.


In the future, please include a log file if at all possible as this helps me see all settings. the screenshots do help as well so ty for those
 

5dollar

New Member
Thanks alot for all the info. I didn't see that I was using an older version. Also - for some reason the CL Browser doesn't play nice with the x64 version of this fork, so I have to use the 32 bit. You can view the VOD I posted, you just need to click button on the right that says the content is inappropriate. (I use that because we use pretty vulgar language during CS:GO Comp)
 

dping

Active Member
Thanks alot for all the info. I didn't see that I was using an older version. Also - for some reason the CL Browser doesn't play nice with the x64 version of this fork, so I have to use the 32 bit. You can view the VOD I posted, you just need to click button on the right that says the content is inappropriate. (I use that because we use pretty vulgar language during CS:GO Comp)

yeah I dont know why that is, I haven't gotten it working either. I cant view VOD cuz work. I only have YT access
 
Top