OBS branch with AMD VCE support.

tbob18

New Member
No need to use preview inmy opinion, just check your video output after record

vsync is useless for actual gaming (aside from removing screen tearing), unless you like having input lag in most games. I would disable it since the capture method has nothing to do with your in game fps; it will pick the samples it needs from the game/window.

Anyway, how does 1080@60fps look from your video? can you provide samples on youtube? also, just curious, what card are you using?

Is there a way to disable the preview? I did mean during playback of the recording about vsync, I haven't found a player that will just play the 80fps video without vsync (players that I've tried will just skip the extra frames) under Win8 at least.

I always use vsync (and force triple buffering if possible through RadeonPro) I haven't noticed any significant input lag with my MX518 as long as the game is working properly. I'm using a 7950.

1080@60 does look smoother now than the video I originally posted, but it does still stutter from time to time. I'll post another video when I get a chance.
 

dping

Active Member
Is there a way to disable the preview?
Right click on the preview window and uncheck preview

force triple buffering
you are making your video card work harder than you need to with not much benefit by enabling it, yes the card will force max fps that it can do but you have more headroom with double and triple buffering disabled. this probably doesn't have to do anything with why your video is lagging but there is really no reason to use it

l just play the 80fps video without vsync

Why 80fps though. VCE states that it can do: http://www.slideshare.net/DevCentra...40bf-8aeb-acacde667029&v=qf1&b=&from_search=1 (slide 16)
1080p95fps at speed preset
1080p80fps at balanced
1080p40fps at quality

but this doesn't mean that OBS-VCE will do it yet. I would use speed preset for now just to give you the extra headroom
Anyway, try VLC from VideoLan, that is the best video player that I've found so far.

When you get a video, please post logs with your next video again with your updated settings

EDIT2: see https://obsproject.com/forum/threads/obs-fork-branch-with-amd-vce-support.13996/page-40#post-101880 for common fps to use compatible with the standard 60hz screens of 96% of the population
 
Last edited:

tbob18

New Member
Right click on the preview window and uncheck preview

you are making your video card work harder than you need to with not much benefit by enabling it, yes the card will force max fps that it can do but you have more headroom with double and triple buffering disabled. this probably doesn't have to do anything with why your video is lagging but there is really no reason to use it



Why 80fps though. VCE states that it can do: http://www.slideshare.net/DevCentra...40bf-8aeb-acacde667029&v=qf1&b=&from_search=1 (slide 16)
1080p95fps at speed preset
1080p80fps at balanced
1080p40fps at quality

but this doesn't mean that OBS-VCE will do it yet. I would use speed preset for now just to give you the extra headroom
Anyway, try VLC from VideoLan, that is the best video player that I've found so far.

When you get a video, please post logs with your next video again with your updated settings

EDIT2: see https://obsproject.com/forum/threads/obs-fork-branch-with-amd-vce-support.13996/page-40#post-101880 for common fps to use compatible with the standard 60hz screens of 96% of the population

I do get input lag without triple buffering in many games, and worse FPS to boot. I will continue using vsync because tearing looks terrible.

Because at 60fps it stutters and at 80fps it does not, at least in the preview. Nothing but a test.

As far as performance on video players go, VLC is not too good, especially with higher framerate video. XBMC fairs much better and MPCHC with good codecs is even better.
 

AndersE

New Member
My game and video starts to micro stutter after a while using the VCE. Not occuring in x264 recording. I'm recording to file at about 40 000 bitrate and 60 fps. Are there any tweaks in the settings that can help combat this lag? I'm not getting any fps drops apart from this.
 

jackun

Developer
Something screwy with AMF's ref. counting. Link in OP.

@AndersE Nothing to tweak really. Does it stutter in less GPU heavy games?
 
Last edited:

AndersE

New Member
I shall be honest to say I haven't experimented a lot with different settings. But I would want to record 1020p (full) at 60 fps with decent quality. The only game I have tried is Arma 2, which barely uses the GPU at all. If you have any ideas on anything in the setup I can try differently I'd be happy to do so, and I'll probably sit with it at some point over the next week to try again.
 

tbob18

New Member
I shall be honest to say I haven't experimented a lot with different settings. But I would want to record 1020p (full) at 60 fps with decent quality. The only game I have tried is Arma 2, which barely uses the GPU at all. If you have any ideas on anything in the setup I can try differently I'd be happy to do so, and I'll probably sit with it at some point over the next week to try again.

I get stuttering on the recording at any resolution/bitrate at 60fps with any combination of settings with even the least intensive tasks (for example a gif animation). I haven't found a full solution yet.
 
Last edited:

AndersE

New Member
I get stuttering on the recording at any resolution/bitrate at 60fps with any combination of settings with even the least intensive tasks (for example a gif animation). I haven't found a full solution yet.
Is it working fine at like 48 fps? Or 30 fps?
 

tbob18

New Member
Is it working fine at like 48 fps? Or 30 fps?
At 30fps I haven't noticed any stuttering out of the ordinary (other than it being 30fps so it just isn't smooth to begin with). 48fps stutters worse than 60fps, however if my monitor was 48hz maybe it would be smooth.

See my video here:
http://youtu.be/cuqQhZjDt3o
to get an idea of what the stuttering looks like (I have improved it some since recording that) Use Chrome to view 60fps.

Edit: Trying the OpenEncodeVFW Encoder with a capture program and I get zero stutter at 60fps. So maybe it is just something with OBS and my hardware.
 
Last edited:

Sepay

New Member
Thank you for making this branch, but I find that the bitrate is very unstable, wich causes my stream to buffer frequently. Here are some screens: http://imgur.com/okpGyYG http://imgur.com/05mpDwz (basicaly buffer drops to the ground and starts to buffer again). I have fixed idle issue, it did this in idle also when screen was doing nothing, issue was fixed by bitrate it self, after tweaking setings, at idle im now able to recieve stream without buffer, but bitrate is lower and stable at that point, as soon as encoder has heavy load it starts to jump around again and buffer problem is back. Streaming on my laptops CPU doesnt cause any buffering problems.
I would like to know if this is a twitch.tv server issue, and or this, probably, is a problem only for myself as stream sender and then again recieving it back.

Specs:
Net - 100 up / 100 down
GPU - msi R9 270
Eastern europe, not partnered (no server issues)

Thanks in advance.
 

dping

Active Member
I've tried everything man. Im shure problem is not in tweaking settings. Its just not stable now. Thats my toughts.

Need log file please.

Change fps to 48, GOP 24, IDR 96, with AMF. CBR w/ padding, same bitrate as buffer size, disable screen preview.
if you are capturing at 720, you can use quality preset. if 1080, use "speed" preset


Other things to try (change one setting then move it back, try another step):

try to uncheck DX10 interop. this might help or it might make things worse

play with selecting host/dx9 or DX11


Anyway, for testing purposes, dont do the below steps til your stream is stable.
Something new, I've been using livestreamer and VLC to watch my stream on my PC with no lag. This allows me to actually watch what I'm streaming and monitor how it looks in the end.
Here's a tutorial: http://vaughnwhiskey.tumblr.com/post/70143889580/watching-twitch-tv-streams-via-vlc-player


Watch it on a separate monitor and use "source". i.e. livestreamer.exe twitch.tv/d2_ricci source"
 
For all who experience stutters on a video - if you have Simple Scene Switcher plugin - delete it. This plugin is causing all those stutters. Still not 1080p60 but at least 720p60 and 1080p30 without stuttering :D
 

Sepay

New Member
Need log file please.

Change fps to 48, GOP 24, IDR 96, with AMF. CBR w/ padding, same bitrate as buffer size, disable screen preview.
if you are capturing at 720, you can use quality preset. if 1080, use "speed" preset


Other things to try (change one setting then move it back, try another step):

try to uncheck DX10 interop. this might help or it might make things worse

play with selecting host/dx9 or DX11


Anyway, for testing purposes, dont do the below steps til your stream is stable.
Something new, I've been using livestreamer and VLC to watch my stream on my PC with no lag. This allows me to actually watch what I'm streaming and monitor how it looks in the end.
Here's a tutorial: http://vaughnwhiskey.tumblr.com/post/70143889580/watching-twitch-tv-streams-via-vlc-player


Watch it on a separate monitor and use "source". i.e. livestreamer.exe twitch.tv/d2_ricci source"
logfile shows nothing, i think its maybe because of the fact tha server sending me back my stream iz lazy. Logfile says nothing.... I think this is only for me. In live chat guys said they have no buffering issues.
P.S. - what about quality, i find that quality of the stream isnt that good.

After while of streaming in log window this starts to spam (Failed to submit data to encoder: 26 AMF_INPUT_FULL) And in game apears some kind of pixels, but they dont show in stream...
 
Last edited:

dping

Active Member
logfile shows nothing,

Not posting the log means that you cant get much help from us; meaning you might not see anything but we might. there is nothing in that log that can exploit your account; it is safe to send. right click help, and upload log to github, post link here

anyone know why my stream looks so bad with amd vce?
OVE has issues atm with going way over the bitrate. in your live stream, it goes from 5,000 up to 17,000 bitrate. only use openCL to NV12 convert and both unchecked options (standard OVE) for local recording since local can take this kind of bitrate.

use AMF. going over 3500k bitrate (or above 5000 bitrate TBH) is often something that twitch will deem as a DoS attack and will often result it poor quality and/or buffering. use AMF. See below

And why i can't use "Use AMD AMF instead of OVE" while i'm trying to stream i'm getting
"encoder initialization failed!"

restart obs after you change encoder method from "OpenCL to NV12" or "OVE" (both unchecked) to "use AMF". post log if you are still having issues.

EDIT: Lastly from my tests, for streaming, 1080@60 often looks worse than 720@60 or even 720@48 due to the lack of bits per frame and the amount that VCE will actually transcode. VCE cant keep up at that low of bitrate, even at 17,000 at your peak.

EDIT2: http://www.twitch.tv/corinarh/b/589872034 I see you tested with IDR of 1, set IDR to 120, and GOP to 15 (haven't tried this) or 30 (recommended)

EDIT3:http://www.twitch.tv/corinarh/b/589869694 probably your best settings so far.
 
Last edited:

Corinarh

New Member
Not posting the log means that you cant get much help from us; meaning you might not see anything but we might. there is nothing in that log that can exploit your account; it is safe to send. right click help, and upload log to github, post link here


OVE has issues atm with going way over the bitrate. in your live stream, it goes from 5,000 up to 17,000 bitrate. only use openCL to NV12 convert and both unchecked options (standard OVE) for local recording since local can take this kind of bitrate.

use AMF. going over 3500k bitrate (or above 5000 bitrate TBH) is often something that twitch will deem as a DoS attack and will often result it poor quality and/or buffering. use AMF. See below



restart obs after you change encoder method from "OpenCL to NV12" or "OVE" (both unchecked) to "use AMF". post log if you are still having issues.

EDIT: Lastly from my tests, for streaming, 1080@60 often looks worse than 720@60 or even 720@48 due to the lack of bits per frame and the amount that VCE will actually transcode. VCE cant keep up at that low of bitrate, even at 17,000 at your peak.

EDIT2: http://www.twitch.tv/corinarh/b/589872034 I see you tested with IDR of 1, set IDR to 120, and GOP to 15 (haven't tried this) or 30 (recommended)

EDIT3:http://www.twitch.tv/corinarh/b/589869694 probably your best settings so far.

i tried to analize logs but they show nothing: 0 issues found (0 major, 0 minor).

and i can't use AMF because my obs shows that http://i.imgur.com/2TfpatA.png Did i miss what should i download to make AMF work?

EDIT: Lastly from my tests, for streaming, 1080@60 often looks worse than 720@60 or even 720@48 due to the lack of bits per frame and the amount that VCE will actually transcode. VCE cant keep up at that low of bitrate, even at 17,000 at your peak.

so it isn't possible to stream to twitch with amd vce using 3500bitrate? that's bad
 

dping

Active Member
i tried to analize logs but they show nothing: 0 issues found (0 major, 0 minor).
having 0 issues has nothing to do with why we need to see logs; something OBS might not report since this is a custom build of OBS

so it isn't possible to stream to twitch with amd vce using 3500bitrate? that's bad

did I ever say this? I stream at 3500 right now, I said that your stream was peaking 17,000 bitrate (i.e. 17Mb/s) and averaging 5,000 bitrate which twitch does not like. OBS and VCE will stream whatever bitrate your PC can handle

http://www.twitch.tv/d2_ricci/b/587516476 this is me streaming at 720@48fps. its not perfect but its a work in progress.

Last edit, I promise: your game that you are streaming has A LOT of shrubbery (plants, grass, trees), video deciders have a lot to decode when small particles are being encoded so dont expect a perfect picture from that game.
 
Top