AMD Encoder Optimization Guide - OBS Studio 28
HTML-код
- Опубликовано: 10 авг 2022
- ⭐ Watch this video ad-free on Nebula: nebula.app/videos/eposvox-amd...
📹 Support my work AND get exclusive content with Nebula, bundled with Curiosity Stream for under $15/year at go.nebula.tv/eposvox 📼
Here's my guide for optimizing the AMD AMF encoder in OBS Studio 28 for b-frames and (slightly) higher quality!
AMD AMF Encoder documentation - github.com/obsproject/obs-stu...
AMD finally updated their encoder! • AMD FINALLY updated th...
OBS 28 playlist - • OBS v28 Guides
Download OBS 28 - obsproject.com/forum/threads/...
Learn more about OBS Studio v28 - OBS Studio 28: The BIGGEST update we've ever seen 🥳 • OBS Studio 28: The BIG...
-------------------------
📧 Biz Email: eposvox@standard.tv
📬 Shipping: 303 E Court Ave # 459 Jeffersonville, IN 47131
💻 Discord Server: eposvox.gg/discord
✈ Early & EXCLUSIVE content: go.nebula.tv/eposvox
🎶 Music by Backing Track: backingtrack.gg/
📈 Patreon: / eposvox
💵 Direct Tips: paypal.me/eposvox
📼 Alt Channel/Clips: / @eposvoxclips
🎮 Gaming channel: / @lostsaves
🎥 VODs Channel: / eposvoxgaming
🐦 Twitter: / eposvox
📷 Instagram: / eposvox
🎭 Facebook: / eposvox
📼 Twitch: / eposvox
📺 Tiktok: / eposvox
💻 Subreddit: / eposvox
-----
Any links to products or services may be affiliate links that give me a small kickback at no cost to you, with no influence on the content. #eposvox #streamprofessor #obs
MaxNumRefFrames=4 BReferenceEnable=1 MaxConsecutiveBPictures=1 BPicturesPattern=1 HighMotionQualityBoostEnable=1
THANK YOU, still going to watch all the way through, but this is very helpful. :)
Is this worth it? How does it compare to X264 Fast with esposvox secret sauce settings?
hey should i use this i have amd gpu rx580
@@Kings_Move I have an RX570, didnt notice any performance changes with the settings above, however my stream does look slightly better.
@@bp5211 Ok i need it for gameplay soo im asking.
You should do a full OBS settings for AMD users
yes
AMD user here, there's enough in this video alone to get you streaming in great quality on Twitch/Kick/RUclips.
@@scottstamm7022 yeah. but what about games with actual FOLIAGE ???
@@marsbog_tv I have two GPU's and steam setups. If I'm streaming as user A, my gaming PC is fine. If streaming as user B, my server is used.
My desktop uses a 7900XTX, my server uses a Quadro P600. Both show the same issue with regards to foliage. It causes mayhem regardless if you're using NVENC or AMD H264/265 encoding. The ingestation capability of the end source does make a big difference too. Twitch is 6000KBPS and Kick is 8000KBPS, and RUclips is higher. Not sure of Facebook streaming. You have to optimize your OBS settings to work with their servers on what config gives the best end results.
@@scottstamm7022 hevc265 even at 51.000kbps and stream is a confetti mess the moment i move.
Every little help is a big help thank you for making my stream look better.
EposVox, one guy who actually reads and tests the documentation, so you don't have to. I do respect that.
I've come back to these videos numerous time for myself and others. Definity worth the watch!
This stuff is coming at just the right time for me and I'm really glad to see it
THANK YOU! I've been trying to figure this out ever since the announcement.
Small correction 😅 bReferenceFrames is not required for b-frames to activate. Its function is to tell the encoder that you would like for it to be able to use b-frames as reference frames (not enabled by default, so references would only be I or P frames).
MaxNumRef frames is 4 by default (double checked), so that could be omitted, assuming sufficient profile and level (which should also default to something that allows for up to 4 on 1080p60). The AMF documentation is unreliable to say the least, but that's at least what it *should* be. The AMD encoder doesn't seem to actually use more reference frames than 1, unless b-frames is active (which is a separate thing tho, heh).
EDIT: typo, and confirmed MaxNumRef
thanks for this....
Beta 2 is out as of yesterday where you can select how many Bframes.
Glad you had a video up for this stuff, not many out there will touch on the AMD side of streaming things & stuff.
I've a 6900xt and when I select AMD HW option, there are artifacts in high motions. I also tried with options MaxNumRefFrames=4 BReferenceEnable=1 MaxConsecutiveBPictures=1 BPicturesPattern=1 HighMotionQualityBoostEnable=1 but nothing changed. cpu x264 is way better than AMD HW.
Super helpful tutorial. Thank you.
Dude.... thank you, can't find anything out there to help with setting up OBS for AMD. I'm subbed and heading over to your channel to get more tips and check out your content. Keep going strong. Thanks Bro.
Nice video! Any hope we get something siilar for QuickSync?
And i hope the HEVC support for QuickSync gets worked into OBS.
Just a question for the noobs like me: since the OBS 28.1 update now has a "Max B-frames" option, which of the recommended for 6000 series lines do I still put in the AMF options at the bottom? Only the MaxNumRefFrames=4 and HighMotionQualityBoostEnable=1? Thanks in advance!
h265 is very good enough in quality in default options and with bitrate over 10000 kbps, it doesn't need b frames. h264 from amd currently with drivers 2023 and obs 29.1 with b frames 1 ; It works well on twitch at 7500-8000 kbps similar in quality to cpu x254 faster or nvidia pascal in maximum quality, I have checked it with a 45-inch smartv screen, I do not see noticeable differences, for a casual streamer this is more than enough, Now if you want to have the top of the market for streaming I would recommend a second computer with a 16-core cpu dedicated only for streaming
Thanks for the video! I'm actually trying to up my test recording quality to 120FPS at 1080p w/ a AVerMedia Live Gamer 4k card. Currently on a Quadro P600, but looking at a Radeon Pro W5500 as a upgrade. Would this work?
I'm currently stuck on 27.xxxx. Just switched color space to sRGB from b.709. Also make sure Color Range is "Full". There's no field for command line switches for GPU Encoding. I don't know if it's because I'm not on 28 or because I'm using it in Manjaro/Linux via FFMPEG VA-API. Output is noticeably better anyway. R9 is fantastic for software encoding via x264. But if you want it doing other things while you game stream, then you'd want hardware encoding anyway.
Thank you for the info!
Would you recommend using new AMF encoder over x264 for AMD Streamers ?
thanks for the amazing video I was getting confused by all those text commands now I understand all of this a bit better... one quick question tho... what is this HQCBR that I can't find anything about on youtube??
Does this also apply for the live streaming or just the recording path?
Hi. Fingers crossed that you see this!
I am currently in the process of setting up a Dual PC set up for streaming. I just ran into a problem where NDI has not updated for the new OBS 28 update but luckily there is a work around and got that figured out. I thought I was ready, till I realized I haven't even touched my OBS Settings so I came here. My gaming PC has a Ryzen 5800x and a 6650XT. My second pc has a Intel i7 6700k and a Radeon RX580 (my old parts)
I understand that GeForce cards for content creators and such had a little more benefit to these type of things. But that's why I am here asking for your help.
What settings should I set for my gaming PC OBS settings vs my stream PC due to having a weaker GPU but semi decent (8GB model + OC)
With the new OBS 28 will I need to use those scripts? Any help would be appreciated!
nice video, thanks for you Explanation =D
thanks for your precious help.
hi, is this still the way to go in 2023? struggle with my stream quali on RUclips@6950XT and cant figure out,how to further improve it
Hi EposVox! Thanks for the video! It helped me a little bit to improve my recordings - I use an x264 preset to avoid overloading my GPU, but with these little tricks, the quality on my 5600xt seems a little better! By the way I'm experiencing micro stuttering recording high-motion games, mainly Forza and F1 22 - do you have any video/tip about this?
Do you still using AMD HW encoder? Looks better than x264 Veryfast?
@@DonieCrick I have a 5600xt and can't use the new settings in OBS28, so I'm using the following custom settings in x264: colorspace=bt709 color_range=tv qp=16 preset=ultrafast x264-params=fullrange=off:input-csp=nv12:output-csp=nv12:threads=6:tune=fastdecode
CPU usage is minimal and quality is excellent without any micro stutters. I have a 3600x , playing A Plague's Tale Requiem today and Cyberpunk 2077, both bottlenecked by my GPU. Check the quality of my recent videos. RUclips sucks at compression (vp9) but the upload is still good and the videos has no stutter!
QP16 is overkill but I don't care, as long the capture quality is great!
Eu vi seus vídeos e o fluxo parece excelente qualidade, você poderia compartilhar sua configuração comigo? , só fica bom no youtube, e o twich? , Felicidades
I found using AMD h264 to always has some encoder lag... But the h265 does not. What's going on?
I've tried many settings to even drop all to lowest setting possible. There was still lag with the encoder.
Yeah been messing with the AMD AMF driver under Linux, but my internet connection is VERY limited upload so only so much I can do unless AV1 becomes standard on hw encoding.
What about us users having the 7000 series GPUs? Would it be the same settings as the 6000 since no streaming platform is currently using AV1 encoding.
With the "max b-frames" setting now enabled in newer versions of OBS, would you say all of this is still necessary?
i need an answer to this @EposVox
Hopefully it comes a Test of the New AMF AMD Encoder in OBS 29 and for AV1 Support of RX7000 and the new improovements for RX6000 with the new Encoder Update.
Awesome video! I got the notification for this as I was messing with my stream settings. This isn't quite on topic, but what would be the best way to stream and record at the same time? I know NVIDIA users can use NVENC to get both going at little to no performance cost, but running two x264's makes my stream's audio lag a little bit. Do you have a video on this sort of thing?
Use gpu encoding for recording, always. Zero advantage to using cpu, only disadvantage
@@EposVox Thank you! You're a total godsend
Thanks for covering AMD stuff
Thanks again!
Hey, I'm streaming x264 fast with your secret sauce setting. Should I make the switch over to AMF encode instead? How comparable is the quality? Please help?
No , Thank You ! For putting so much hard work 👍
Appreciate the video. My 3080 is down til i get a new water pump...so using an amd card with obs. trying to maximize best i can.
Hey I'm testing v28 and I don't see any option to choose what GPU is used for encoding. There is an option for this? Thanks.
Are the AMD Encoders different on a different tier? An example would be RX 6600 XT and the RX 6950 XT do they perform the same?
Its mean when i have GPU 580 encoding is still bad?
I was looking for suitable OBS settings for RX 6600, good guide.
do ur commands also work for h265 streaming? and if u can make an updated version
On OBS 28.1.x there's a dedicated field for Max B-Frames that is setted 0 by default. What value should I set on it? I'm using a RX 6600 with the following options:
MaxNumRefFrames=4 BReferenceEnable=1 BPicturesPattern=1 MaxConsecutiveBPictures=1 HighMotionQualityBoostEnable=1
quoting from obs website- B-Frames and its features currently require RDNA2 (RX 6000 and higher). Seems to currently cause some issues, try 1 or 2.
@@bobalazsgaming I understood the same. 1 B-Frame have performed best in his tests.
@@bobalazsgaming if I have a RX 6700 XT how many B frames set on the field?
@@killah_mx 1
So does this implementation of the updated AMF encoder make AMD graphics cards more viable for streaming at lower bitrates?
Its cool to see an update but AMD needs to be more aggressive when it comes to competing in software features with Nvidia and now Intel with AV1.
I forgot if I saw the info with Eposvox or somewhere else, but at low bitrates (3500 kbps was the test) AMD actually scores higher now than NVENC.
@@chickenpoodlesoup that's good to hear coz I'm going through the process of trying to get rid of my very hot and low gpu and want to get a Rx 6600 or Rx 6700, depending on how much I will be able to afford
So, does this mean that low latency encoding is finally possible with a Radeon?
I have the lattest obs version and still don t have the same settings as him, someone know why?
gotta say, you deserve a lot of plaudits - thanks for all the work you do to save streamers hours of experimentation, etc. Cheers
I used these settings for my RX 6700XT and now, when I stream, it cuts off after a few minutes. The longest I've been able to stream is 15 minutes. Still shows I am streaming on OBS but nothing on Twitch/Kick... Anybody know what could be wrong?
Is there anything that can be done to RX580 encoder for recording x265 only?
I was watching the video, and right now we were at version 30.1.
Is it better to use CBR or HQCBR frequency control? and in addition to that, the same OBS allows you to place the B-frames manually, is it necessary to place the AMF command?
Still when streaming to twitch at 8000 bitrate, the image on movement looks like a total mess...(6800xt).
I really hope AMD comes up with a better encoder for 7000 series of GPUs
Don’t expect it for H264
Yeah, better to hope Twitch finally adds HEVC instead. Or AV1.
use the expensive card for AMD gaming, and expend 50 bucks for a 1050 for work watters and done, you dont have to wait 5 years more for that old h264 encoder thats never happening, plus you get to record on h265 way better.
I mean, you can encode H265 for recording on an AMD card right now just fine without spending any money at all lol
That’s not a selling point of buying a whole second graphics card
@@EposVox yeah I wouldn't expect anything monumental until AMD leverages their acquisition of Xilinx to redesign the encoder from the ground up on at least rdna4 at the soonest.
how to install h.264 for amd please help me I tried everything, I'm not a conputer nerd, english is my second language, I don't know what to do
Thanks, now I just need to fix stutter/judder on my system and yes, that does it at 120hz and 60hz
i read on amazon comments that rx6400 has removed av1 encoder feature.
I got like tearing using this system while twitch streaming in obs 29.1 version
- R7 3700X 6750XT 32GB 3600mhz B550
Any solutions? I ve tried DDU and reinstall. AMD Freesync on-off.Windowed mode doesnot change anything, Fullscreen aswel.When i stop streaming games runs smoothly.
Streaming out settings 6000bitrate, FHD 60fps. Streaming with gpu.
When i was streaming with my old 970 1 month ago, didnt have any of this problem.
I have been looking at Ati 6950 xt or 6900 xt as the performance for price is insane but i live stream with a 2070 right now with nvenc new.. do you think the out put for streaming using 6000kbps will be a big difference between say a 3080ti??? Im torn in-between what would you pick EposVox between Ati 6950 xt or 6900 xt or 3080ti streaming single pc is the extra money(almost double for me) really worth it for the difference in quality of the output??
Im in the same situation
thanks for the info brother , im gonna test them out with my RX 6700 XT
Some one help, when i put the configurations video was super laggy, i have a rx 6600 Msi
I can not get OBS 28 to work with my dual RX580 streaming PC. I tried everything including changing some of these settings. If I start a stream I would lose frames due to encoder, and it would start at 2 minutes or up to 15 minutes after the stream. It would jump up to 90% loss. I tried everything and started thinking I had a bad GPU. I finally went back to OBS 27.2.4 and now the encoder works again.
What encoder did you use
hey man please answer if you see my comment does 6000 series of amd support av1 hardware wise ? or just software i see good offers on amd but i'm planning to stream so that's holding me back i can wait for the 7000 tho if it will be better in streaming
It supports AV1 *decode*. Intel’s GPUs are the only ones out right now that can *encode* AV1
It's two years later and my best option for quality(on youtube) has been the 4k 'hack' that's floating around to force vp9. Otherwise h264 with 2 bframes at like 15k. H265 kinda disappointed me. So I'm trying JUST the bframe arguments since OBS doesn't have a gui option in 265 like they do 264.
Guess I'll find out later on if that's a good combo lol.
After the update i cannot use the amd encoder anymore :( just the software encoder... help
B frames isnt added to UI yet has it? I can't find it. We still do manually?
Is this still valid I am running a 570 mobo with a 5800x3D with a 6800xt building for my son who twitch streams while playing MW .. what’s recommend setting . Total noob great video very helpful
Yo what would you recommend to use to stream on Twitch an record at the same time with 5800x and 6800xt, if I use h264 on both it would drop frames Like crazy, if I use h265 on recording seems to be fine but dunno how to set it up properly, if I use cqp rate control while streaming it would lag madly again so i must use cbr on both
Set your processing level in setting to high.
@@kovernatic swapped for a 3080 and it works Like wonder
Is, "AMD HW H.265 (HEVC)" better to use?
which one do you recommend, RTX 2060 12B (Turing NVENC) or AMD RX 6600 8GB (AMF Encoder) for streaming at low bitrates ? (6Mbps Twitch or 8Mbps RUclips @ 1080p60) ? is the difference negligible ?
Nvidia
Any chance for RX 7900 guide? No matter what, still getting pixelated motion :/
Hello, is this working for 7900XTX ? Cause my OBS is crashing each time.
Can we update to 28 yet? I still can't update mine
I'm going to try with these settings now. I'm going to use HighMotionQualityBoostEnable=1 and not EnablePreAnalysis=1.
What does DeBlockingFilter=true do?
deblocking is a technique in the encoder where it tries to make the pixelation less blocky and smoother, but it comes at the cost of the end result looking rather blurry
obs 28.0.3 on ubuntu studio. AMD rx 6600 and accelerated drivers. No option in obs for amd HW encoder (but detects the gpu and use it in h264 vaapi) ... How to implement your settings?
There's already an accepted merge request on the GitHub repo for this problem.
Probably coming the next update. Tested it on Manjaro via an AUR package and the AMF encoder works like a charm.
I wonder if I could use this improvements on Discord streaming.
even with these settings at 720p with 7770 bitrate ( somehow sometimes sound get choppy when i go full 8k bitrate) i am getting blurry image on movement twitch
hallo what is best b frame for 6700 xt red devil ?
Hey everyone! I have OBS 28.0.1 ; and a Gigabyte Radeon RX6900XT. I was looking to improve video quality of my stream and recordings. I followed the steps in EposVox's video and when I change the b-frames from 0 to 1, I get encoding overload, and the stream begins to go choppy. Does anyone have recommendations on how to improve video quality and avoid encoding overload? TYIA
same problem as well
any recommendations for rx 7900 gpu? I want the highest quality possible
how much performance does streaming with GPU cost? or is it mostly "free" like with NVENC?
It's mostly free
Hey EposVox i have an Radeon RX 6900XT Red Devil and look for good qualtiy settings for obs studio and look on many websites but dont find anyone i hope anyone can help me
Since OBS 29 allows you to use bframes through the codec settings UI, should I erase the "BReferenceEnable=1'' from the parameters? disable bframes through UI? or it is irrelevant if you use it at the same time?
Just use the UI option, as stated in the video
Wouldn't using it at the same time = 2 B-frames? 1 in the UI and 1 on the command line?
I've been having massive in-game drop frames when streaming. CPU 5900x GPU 7900xt. Any thoughts?
threads=24 should fix this issue on the extra options put that in there if ur streaming cpu that fixed my issues
Does it work with radeon 660m and 680m??
I am using an AMD 5700 xt on a Mac and want to know will these commands work there as well? Also on mac, streamlabs specifically, you can't choose AMD so the options field shows x.264. Would we just use this field anyway? Sorry, if there's a better place or way to ask that lmk. Thanks for your videos!
No throw the whole setup away 5700 xt vs 6700. Xt is a big difference then your on Mac L
@@cpsupport6441 thanks. I have XT. I’m asking if the commands you mention will work with Streamlabs and Mac. I have the 5700xt in an thunderbolt enclosure. Everything works. Just want to know if the commands would still work on Mac. Thanks again.
THANK YOU
Why do we need to use codes to use this stuff ? why not just another option ?
Hey @EposVox, do these settings work for RX6800M GPUs on laptops? Excuse me if it's a basic question
Yes
@@Cooe. Thank you
Question is how much fps does it cut when you game
The interval should be understood so you can get what a i frame, b frame and p frame are. The b and p are the frames between the I frames. I frames are full frames so you have to factor that into the bandwidth twitch allows. B frames in between the I frames look ahead and behind to create the changes happening. When you set 2 I frames, 1 b frame. That's a full frame every 2 seconds and the b frames look ahead and behind a second to create the changes along with the p frames. The b and p frames are smaller than I frames and make up the majority of the stream. P frames are predicted off previous frames only. I've tried 1 I frame and no b frames thinking that would work better but it actually hogs more bandwidth up which creates a blurry stream on twitch. There's other settings not mentioned here that work for the 7900 xt(x) too that make streaming at 1080p almost on par with Nvidias. 2 second I frames with no b frames looks even worse. You can play around on a twitch test account. The settings in this video are booty but it's not just the cvars, you have to think about bandwidth and fitting that ibp hotdog down a pipe.
Same setting to HEVC?
this encoder working like play pubg go to smoother for live streaming????
I have a 6650xt and I have the option to select B-frames without adding this code, is this still relevant?
yes b frame 1 or 2 is ok (test your quality stream)
At 864p with a bitrate of 8000 Kbps I think it looks quite good. Last time I tried the AMD encoder it looked much worse than x264 medium. Now to my eyes I can't tell the difference.
Then now looks like x264 Medium?
is better in 720p 8000 kbps , best quality in games fast movement , 864p is good in static games
Im using the RX 6500 xt but there's no encoder of it. is it ok the options can be put in x264 commands?
6500XT has a video encoder. But no, these options won’t work for X264.
Anyone plz help.. I don't have H264 option in my streaming encoder setting.. Only x264 is there... What should I do??
DDU and re-install your GPU drivers
Hey I’d really appreciate some help I’m only getting x264 and one other encoder option. I forget the name but I’m not getting H.264 or any other encoder.
Time to head to the forums or the obs discord. The support places.
There is new beta relased today. You dont have manualy implement bframes
do bframes work for h.265?
where do i find the "AMF/FFmpeg Options" in the OBS settings? can't find them
I showed it on screen
@@EposVox yeah i downloaded a newer version, maybe that's why I couldn't find it