Status
Not open for further replies.

Xaymar

Active Member
Well, thanks to you, AMD VCE is absolutely a viable alternative to x264 for streaming. However, as the bitrate requirements are higher with AMD VCE to produce the same video quality as x264, 720p 60 FPS streaming isn't really viable with AMD VCE for non-partnered Twitch streamers. You can do it, but it looks pretty bad at 3000 bitrate. It looks acceptable, in my opinion, at 3500 bitrate, but buffering will definitely be an issue (at least, as of September 2016).

Recommendation for non-partnered Twitch streamers looking to use AMD VCE: If 60 FPS is a must, as it is for me, and you like the performance improvements that come with using GPU encoding, as I do, I would recommend downscaling from 1920x1080 to 960x540 and using a maximum of 3000 bitrate. Alternatively, stick with 720p 30 FPS.

720p 60 FPS 3000 bitrate using the AMD VCE encoder looks roughly equivalent, to my eyes, to 720p 60 FPS x264 superfast with somewhere around 2500-3000 bitrate (ie. not good). GPU encoding is great for people who like to stream competitive first person shooters and want the best performance possible (at the expense of stream video quality, unless you're partnered and are able to increase the bitrate beyond 3500).

I actually recommend using Constant QP if you need High Quality at 720p60f/1080p60f. I've discovered some pretty neat configurations that offered better quality than x264 at similar bitrates. I stream at solid 3320kbit/s with 1080p60f - it looks absolutely amazing for changes that aren't too dark.
 
I actually recommend using Constant QP if you need High Quality at 720p60f/1080p60f. I've discovered some pretty neat configurations that offered better quality than x264 at similar bitrates. I stream at solid 3320kbit/s with 1080p60f - it looks absolutely amazing for changes that aren't too dark.
Interesting. I haven't played around with CQP yet. I'm still following the advice you see everywhere about using CBR. I'll have to experiment further it seems!
 

Xaymar

Active Member
I'm using the built in remux feature from OBS Multiplatform. Also, I am not going to go through the hell of ffmpeg when Avidemux has a simple user interface that is easy to use/understand. I only really use it to split clips by the way.

Also, I save my files as FLV because MP4 become corrupt if the video ends abruptly like from a crash or bluescreen.

Use mkv, It doesn't have this issue. Also I was not aware that OBS offered remuxing. It is still required that the h264 stream is decoded into annexb before being cut apart.

I record three videos with similar settings via OBS+VCE, OBS Strudio+MF and OBS Strudio+AMF
And compare media info, i notice second video(AMD AMF) does not contain string "Format settings, GOP: M=1, N=30"
Maybe this is the reason of glitches on Twitch

1.3.0pre7 should in theory help out a bit, if not then I can do nothing. OBS uses ffmpeg-mux, while the amf sdk was designed to return data for libav.

any word from amd about the HEVC support?

So far none, but the component for it is already there - we need solid obs support for proper encoding output now.
 
Last edited:

Anvie

New Member
I actually recommend using Constant QP if you need High Quality at 720p60f/1080p60f. I've discovered some pretty neat configurations that offered better quality than x264 at similar bitrates. I stream at solid 3320kbit/s with 1080p60f - it looks absolutely amazing for changes that aren't too dark.

When I tried out those settings just now my obs kind of freezes, I end up having to kill the process through task manager. What should I change from the Constant QP settings to prevent that? I have a 7950 I don't know if that matters.
 

Xaymar

Active Member
When I tried out those settings just now my obs kind of freezes, I end up having to kill the process through task manager. What should I change from the Constant QP settings to prevent that? I have a 7950 I don't know if that matters.

I don't why or where it froze - it doesn't do that for me. Can you upload a log file where you tried to record so I can take a look?
 

ball2hi

Member
@Xaymar @Jim
I don't really know what's going on now. I didn't even remux it, the file on the left (Saturday) is a complete gray thumbnail. Then when I used Avidemux to cut a clip it still kept the gray thumbnail.
Missing-Thumbnail-OBS-Remux(VER-2).jpg


EDIT: I did another quick recording. Initially it creates a working thumbnail at the beginning of the recording. Then once I stop recording it changes the thumbnail to that gray screen.

EDIT(2): Did some more testing. Idk what you changed between this and 3(?) versions ago but this is the first time I've had issues with thumbnails since using this plugin.
 
Last edited:

Xaymar

Active Member
@Xaymar @Jim
I don't really know what's going on now. I didn't even remux it, the file on the left (Saturday) is a complete gray thumbnail. Then when I used Avidemux to cut a clip it still kept the gray thumbnail.
View attachment 18912

EDIT: I did another quick recording. Initially it creates a working thumbnail at the beginning of the recording. Then once I stop recording it changes the thumbnail to that gray screen.

EDIT(2): Did some more testing. Idk what you changed between this and 3(?) versions ago but this is the first time I've had issues with thumbnails since using this plugin.

explorer_2016-09-03_13-37-29.png

No such issue here. If you absolutely need the thumbnails, report an issue on the issue tracker using these instructions: https://github.com/Xaymar/OBS-AMD-Advanced-Media-Framework/wiki/Reporting-Issues
 

ball2hi

Member
@Xaymar
I think I may have solved the issue. I was apparently using Pre-6 still and just updated to Pre-7, which I thought I already did. Did a few tests and everything seems fine and I'm able to use Avidemux to cut the short tests into clips that retain proper thumbnails.

The only issue right now is that OBS Multiplatform's built in remux (convert to mp4) still isn't playing nice and gives the videos no thumbnail once remuxed. However I think this is something that @Jim has to fix.

By the way just for curiosity's sake. What does the "Quality Preset" options do? I know that they make the encoder work more/less depending what you set but does it affect quality or does it just affect file-size?
 
Last edited:

Xaymar

Active Member
@Xaymar
I think I may have solved the issue. I was apparently using Pre-6 still and just updated to Pre-7, which I thought I already did. Did a few tests and everything seems fine and I'm able to use Avidemux to cut the short tests into clips that retain proper thumbnails.

The only issue right now is that OBS Multiplatform's built in remux (convert to mp4) still isn't playing nice and gives the videos no thumbnail once remuxed. However I think this is something that @Jim has to fix.

By the way just for curiosity's sake. What does the "Quality Preset" options do? I know that they make the encoder work more/less depending what you set but does it affect quality or does it just affect file-size?

As far as I know, the Quality Preset sets up a few options that are visible to the encoder and some internal parameters. I don't know the exact details, as the AMF SDK is not exactly Open Source, it's just licensed under MIT.
 

Xaymar

Active Member
I just upgraded from pre5 to pre7 today and while recording works excellent, i get this on stream ( Twitch preset on simple mode ) :

https://www.twitch.tv/bgshiny/v/87384175

I tried downgrading - works fine, clean install on pre7 - same result.

I have asus RX 480 8G.

@leporel here has a similar issue - I don't know what the cause is. I think it's due to how OBS muxes the packet stream. Oh and please use the Issue Tracker to report issues while following these instructions on how to report an issue properly.
 
I just upgraded from pre5 to pre7 today and while recording works excellent, i get this on stream ( Twitch preset on simple mode ) :

https://www.twitch.tv/bgshiny/v/87384175

I tried downgrading - works fine, clean install on pre7 - same result.

I have asus RX 480 8G.
I was having the same issue with pre6. That's what I was eluding to in one of my previous posts. When I updated my display drivers and updated to pre7, the issue was fixed. I probably should have specified what exactly I was dealing with earlier with pre6.

EDIT: @Xaymar I think I've replicated the issue. As soon as I disable the Deblocking Filter, I get the same weird green pixelation and distortion. When I enable it again, the issue is resolved. I'm still using pre7.
 
Last edited:

Xaymar

Active Member
I just successfully tested some Constant QP settings for 1280x720 60fps that look pretty good. Still testing, but it looks much more promising that Constant/Variable Bitrate at the same limit. https://www.twitch.tv/xaymar/v/87426113

I was having the same issue with pre6. That's what I was eluding to in one of my previous posts. When I updated my display drivers and updated to pre7, the issue was fixed. I probably should have specified what exactly I was dealing with earlier with pre6.

EDIT: @Xaymar I think I've replicated the issue. As soon as I disable the Deblocking Filter, I get the same weird green pixelation and distortion. When I enable it again, the issue is resolved. I'm still using pre7.

Sweet! I've been trying to reproduce this for ages but have never succeeded (because nobody that experienced it could tell me what caused it for them).
 

Gonanda

New Member
@Xaymar, two last releases is terrible, very terrible. When tried save video, I see ETERNAL "saving video..." and videofile is broken in most case!
Version 1.3.0pre5 - is outstanding stable and running smooth!
 
I just successfully tested some Constant QP settings for 1280x720 60fps that look pretty good. Still testing, but it looks much more promising that Constant/Variable Bitrate at the same limit. https://www.twitch.tv/xaymar/v/87426113

This does look promising!

Here's a video of what I've arrived at with CBR. I'm by no means completely satisfied with the results, but I think I've come up with something that will have very, very little impact on player performance while streaming:

https://www.twitch.tv/everyth1ngtv/v/87463904

Settings:

Key Frame Interval: 2
Quality Preset: Quality
Profile: Main
Profile Level: 5.1
Rate Control Method: CBR
Bitrate: 3200 (I'm really pushing it with the bitrate here)
QP Minimum: 18
QP Maximum: 51
Filler Data: Enabled
Frame Skipping: Enabled
Deblocking Filter: Enabled
Base Resolution: 1920x1080
Output Resolution: 960x540
Downscale Filter: Lanczos
FPS: 60

I'm open to suggestions! And I'll be looking into what Xaymar is doing, for sure.
 
Last edited:

leporel

New Member
your's video have same my video issue when enabled AdobeFlash in "chrome://plugins/" and Hardware Acceleration ON, but without color artifacts (with Flash-Off and HardwareAcceleration ON - everything works fine)
video have 10-25 fps and non-stop increasing number of "Skipped Frames"

UPD: I dont know what happend (updated chrome or amd drivers, i do this last days, or twitch updates), i look my old sample video on twitch and color artifacts not apper, but video have issue as described above

UPD2: Old sample video on twitch streamed via media foundation have same issue
UPD3: Actually now all the videos on twitch have varying degrees of lag when enabled Flash
 
Last edited:
Status
Not open for further replies.
Top