Тёмный

x264 Software vs H264 Hardware Encoding Tutorial - Stream School 

ShinigamiNG
Подписаться 4,1 тыс.
Просмотров 25 тыс.
50% 1

This time on Stream School, we're going to be comparing x264 Software Encoding and h264 Hardware Encoding! We'll also be looking at reasons to use one or the other, or in my case, both at the same time!
Follow me on Twitch! - / shinigamingchannel
Merch Here! - merch.streamelements.com/shin...
Join the Community Discord! - / discord
Follow me on Twitter! - / shinigaming_
My Gear:
Corsair K70 RGB Mechanical Keyboard - amzn.to/36waRth
Logitech G502 Proteus Spectrum RGB Gaming Mouse - amzn.to/2TENlFf
Audio Technica AT2020 XLR Microphone - amzn.to/2XrGFeS
Logitech C920 HD Webcam - amzn.to/2zn4Ras
Acer 27" 144hz AMD Freesync Gaming Monitor - amzn.to/2X0sUou
AMD Ryzen 7 2700X Processor - amzn.to/2Xy98zE
MSI Gaming Pro Carbon X370 Motherboard - amzn.to/2XA0noI
Phanteks Eclipse P350X RGB Case - amzn.to/2zxKqY7
Samsung Oddysey+ Windows Mixed Reality Headset - amzn.to/3cZy1Lb
Elgato Game Capture HD60 S - amzn.to/2yxDrhp

Игры

Опубликовано:

 

29 июн 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@doctorsquirl4964
@doctorsquirl4964 3 года назад
I havent tested this out yet but this seems like great advice! I am semi new to streaming and i realized that my stream would skip frames when i tried to record at the same time as streaming. Moving the recording to the GPU might just be the fix i was looking for, so thank you!
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You're welcome! I had been running into the same issue, my CPU just wasn't quite strong enough to do everything. By moving it to the encoder on my GPU, I was able to bump up the bitrate quite a bit as well for that increased quality. Just keep in mind, the higher your bitrate, the larger your file size!
@KillaKev1006
@KillaKev1006 2 года назад
you helped me to figure out the difference between softare and hardware aspects. thank you very much!
@user-uw1wq9rj8g
@user-uw1wq9rj8g 3 года назад
Great explanation, very straightforward and helpful. Good video
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thank you so much! Glad I was able to help you out 😊
@thelakerlandshow
@thelakerlandshow 2 года назад
Hi please help. I get lags when I add video to my media source and when I use window capture? Any setting tips ? Thank you - Seven Mitchell
@safetyhomeloans950
@safetyhomeloans950 2 года назад
thumbs UP!!!! soooo much insight into software vs hardware..and loved how you mentioned the different pC / GPU card scenarios . questions. what's your take with the new Macs and their chips?
@motheuser
@motheuser 2 года назад
This is explained really well. I've tested both with gameplay on my channel.
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
Thank you! I appreciate that! I know it can get confusing, so I tried to break it down as best I could.
@themakinerretrogamingisbac7005
@themakinerretrogamingisbac7005 3 года назад
Great and helpful video!!
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thanks so much! Glad it helped someone :)
@sdub5859
@sdub5859 2 года назад
Hi, I have a Samsung 40inch tv and it has this.. h.264 Margin and Mpeg margin?.. I have no clue of what the value should be.. they both go up from 1- 10,000.. what should these be set to any idea?
@TheAspiringMusician_RSA
@TheAspiringMusician_RSA 2 года назад
thank you so much shini, just had a small issue with the background music, slightly distracting and needs more focus but amazing stuff, thank you so much
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
You're welcome! And yeah, working in my audio balance is something I still need practice with! Sometimes it sounds fine when editing, then is way too loud once I upload it!
@TheAspiringMusician_RSA
@TheAspiringMusician_RSA 2 года назад
@@ShinigamiNGChannel no problem, thank you once again, all the best in getting it right😀😁🙏🏾
@leerobinson8709
@leerobinson8709 2 года назад
I have a z620 workstation with 2 x e5-2690 8c16t processors in and an rx590. I will of course test it out but I wonder if I could set the affinity of my gaming to one processor, OBS software encoding to the other for streaming and hardware encoder for recording simultaneously. 🤔
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
I'm not sure if it's possible, I imagine it would be but I've never tried anything like that! Please update me if you get it working because that's a really cool idea.
@vladislavkaras491
@vladislavkaras491 5 месяцев назад
Thanks for the video!
@ShinigamiNGChannel
@ShinigamiNGChannel 5 месяцев назад
You're welcome!
@ecs2sy501
@ecs2sy501 2 года назад
Thank you for this update. I have an M1 Mac. This is helpful.
@andireyes93
@andireyes93 Год назад
Hello! Trying to stream on twitch and I noticed how clear my stream is but the uploaded videos after the stream looks pixelated. Not sure how to fix the settings? I have a rx 5700 xt and ryzen 5 3600. Can I also ask for a suggestion for a good streaming settings as well? Thanks!
@ShinigamiNGChannel
@ShinigamiNGChannel Год назад
Hello! One thing I noticed with my 5700 xt was that no matter what settings I used, it would look pixelated on Twitch, so I switched back to using CPU encoding instead with x.264. I would recommend a bitrate of about 4500-6000 depending on your internet connection, and then try setting your OBS presets to Very Fast or if possible Faster. The lower you go on the presets, the harder it is for your PC to keep up but the better your stream can look. Hope this helps!
@WorldisYoursRpv1
@WorldisYoursRpv1 3 года назад
thanks brother you really helped me
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You're welcome! Glad I was able to help!
@InScane
@InScane 3 года назад
Great advice for future upcoming and current streamers!
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thanks! I tried to keep it fairly simple, but also give some useful info that not everyone is aware of, especially if they are t very tech savvy!
@InScane
@InScane 3 года назад
@@ShinigamiNGChannel If your saying your not tech savvy, you sure know a ton about encoding cause it was true.. Dealt with a ton of issues myself in the past. So if you didn't help some, you might of helped most. If anything these videos don't really tend to help people as like you said at the end, each component in a Computer is different. Like for an example your computer is almost similar to my streaming PC, but my gaming PC has much different parts. so simply yes, encoding and different resolution settings will variety between each system. So you explained it all perfectly and how anyone else would of ;)
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Ah sorry, I meant I tried to explain it for people who aren't tech savvy. I've worked in IT for years and am fairly knowledgeable with computers in general. I'm glad I was able to explain it in an easy to understand way though!
@InScane
@InScane 3 года назад
@@ShinigamiNGChannel Ah... All good! Atleast theres some people that explain for people who won't really understand.. **I understood as I understand tech and ive been working with it for the past few years** But like I said, it is nice that people like you go over certain details to help people even if u can't like at the end going over if you have a more powerful PC, try this cause other people would forget and only go off of the tech/equipment they have access too.
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thanks! And yeah, I have had both Intel and AMD for processor, and both AMD and Nvidia for graphics in recent years for streaming, so I at least have an idea how they both perform :)
@bellanamii
@bellanamii 3 года назад
So I have a problem with the stream looking fine but my webcam gets blurry when I have movement... why is this? Im using the AMD encoder...
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Hey sorry, somehow I didn't get notified of this comment! Some webcams don't have a very high framerate by default, and can definitely look blurry during movement. You may need to go to the properties of the camera in OBS and see if you can change the framerate, though some cameras don't allow this and are locked at a low framerate. Another option is to try to improve your lighting on your face, lighting can make a really big difference in webcam quality. Sometimes the webcam will get blurry just because it doesn't have enough light to pick up! I hope that helps some, sorry it was such a late reply!
@colinnizam2198
@colinnizam2198 3 года назад
Hi shihi, i love your explanation. I have a couple of question. Im using AMD Radeon Pro 5500 XT with 8GB of GDDR6 memory on my imac 27” 2020. I want to stream for 1080 with hardware enxoding. But when I stream on YT, my max resolution is lowered to 720. What can I do to fix this? Fyi, my upload speed is high, so I set my bitrate to 10000 bitrate.
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Hey Colin, you definitely have the power needed for a 1080p stream, so there must be something toggled somewhere to scale your resolution for the stream. I'm not at my computer right now to double-check, but I think there are 2 places it could be. One is in the Video settings in OBS, there should be a box to scale resolution, make sure that is still set to 1920*1080p. Next under the stream settings where I think it's labeled "Output" there is another box for scaling resolution. Make sure this one is NOT checked so that it uses your Video settings. Hopefully that helps some!
@nohlim3918
@nohlim3918 2 года назад
I absolutely loved this video and it explained so much. I'm replying to this specific post because it's kind of close to the specs of my pc I built. I have a (5600xt be radeon graphics card) with a ryzen 5 3600x cpu so it's hard to get advice sometimes for my specific build. I stream and record ( I will be changing up possibly, now that I saw this video ) I usually have artifacting while streaming in games with high motion on stream so I run on 720p 60 instead of 1080p as I used to before with h264 at 5450 bitrate now, but i know my graphics card can handle it. I guess my main question is should I switch to x264 to get better quality at lower bitrate/use more of my cpu and record on graphics. I've tried so many things and my last option really is to try that since I am not affiliated or partnered on twitch. Also my dpi for my mouse is 1500 so it uses a bit of cpu during movement. If possible I would like to go back to 1080p quality just off my own preference, not that it matters but internet speed is not an issue at all. (A reference to a video example can be found here (you can ignore if you would like to just helping is greatly appreciated), www.twitch.tv/videos/1279467602 I start gaming around 2 hours and 6 mins)
@Ralfh_zRose
@Ralfh_zRose Год назад
i just have a ryzen 5 5600g and i wanna stream with that at 1920x1080 60fps what's the best config that i could use? should i use x264 ou H.264?
@ShinigamiNGChannel
@ShinigamiNGChannel Год назад
Do you have a dedicated video card as well? If not you may be limited to just x264.
@Bizzyjay3x
@Bizzyjay3x 2 года назад
could someone help me, when i go to change my encoder on obs my graphics card isnt showing on this list, just x264.
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
Hey! What graphics card do you have? And do you have your drivers up to date for it?
@Bizzyjay3x
@Bizzyjay3x 2 года назад
@@ShinigamiNGChannel I have a amd 6500 xt
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
Unfortunately it looks like the 6500 XT doesn't actually have a hardware encoder. So there isn't an H264 option for that card. You'll be limited to x264 of your CPU instead. Sorry!
@SandersonKnight
@SandersonKnight 3 года назад
Sup, i have a FX-6300 a good internet and a RX 250x 2GB, 16GB of RAM, i don't know what type of encoder i should use I was using x264 on veryfast with 5500 of bitrate and getting some fps drops playing CS:GO, i should try run on the GPU encoder?
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Hmm, with your setup, the 250x may be your limiting factor. Both it and your FX-6300 are a little dated, but I think your CPU at least has several cores and a decent clock speed. You may need to lower your bitrate even more, maybe around 4500? You could also try a faster preset, though I can't remember off the top of my head what the fastest settings are. Lastly, if you are trying to stream in 1080p and/or 60 fps, I would recommend dropping to 720p and 30 fps. I know it doesn't look as good, but should help improve your performance! I hope that helps!
@SandersonKnight
@SandersonKnight 3 года назад
@@ShinigamiNGChannel I was streaming already on 720p, but I'm gonna try select a faster option on the settings and test if it can improve
@SandersonKnight
@SandersonKnight 3 года назад
But anyways, thanks for the help and the amazing vid m8
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You're welcome! Unfortunately with the age of your gear, you will probably need to make some quality compromises, but hopefully not too many!
@cvazq1297
@cvazq1297 2 года назад
i have a ryzen 9 5900x 3060 16gb of ram should i use x264 to stream valorant and fortnite ??
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
Honestly with your hardware you probably wouldn't have any problems with x264 at all. IF and that's a big If, you run into any frame drops, then I would suggest using the NVENC encoder on your 3060, since it likely won't affect your frame rate in either of those games at all.
@cvazq1297
@cvazq1297 2 года назад
@@ShinigamiNGChannel it performed way better wuth x264 i had no delay but does it overheat my cpu?
@metaeditors
@metaeditors 2 года назад
Would it be possible to upgrade a hardware encode from H.253 to H.254 encoding ?
@ShinigamiNGChannel
@ShinigamiNGChannel 2 года назад
Sadly the encoder is part of your graphics card, and would require you to get a new graphics card to get a new encoder. The other alternative is using a processor software encoder such as x.264 instead.
@WLDefisher
@WLDefisher 3 года назад
This was great, very straightforward. Thank you! You earned the like! I have a question though, I couldn't find anything directly answering this question. So, I am streaming from my 2017 macbook pro to RU-vid. I am not a gamer, I am just streaming from my webcam (720p). I don't run any other programs in the background, just OBS and Chrome for the stream. My computer does not have a dedicated graphics card, just the integrated graphics (intel iris plus graphics 640 1536mb). Which would you recommend using to get the clearest livestream (without melting my computer..lol). Apple VT H264 Hardware encoder Apple VT H264 Software encoder x264 encoder? I have plenty of bandwidth to play with. My computer has an intel 2.3ghz dual-core i5 and 8gb ddr3 ram. My current settings in OBS are: bitrate: 5000kbps resolution: 1280x720 downscale filter: bicubic Any help would be greatly appreciated :)
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Hmm, I'm not super familiar with Apple's encoders, but it is at least an Intel chipset. I would imagine that the software encoder will be plenty for what you are doing, and since you aren't gaming or using a lot of other resources, you'll probably be able to get pretty good quality out of it as well! OBS I think defaults to the Faster preset, and basically the slower you go, the higher quality you in theory SHOULD get. You may be able to drop the preset down to Fast and get an even clearer image. Going to Medium or Low will need a pretty powerful PC though. It's also possible that at that bitrate you may also need to increase the preset to fastest instead. In that case, I personally would drop the bitrate until your PC can comfortably stream at Faster or Fast preset. You may have to play with those settings a bit until you get it right where you want it!
@WLDefisher
@WLDefisher 3 года назад
@@ShinigamiNGChannel this was very helpful. I did not think of lowering the bitrate and then ALSO decreasing the speed preset. I'll give it a try. Thanks again!! :D
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You're welcome!
@macco6514
@macco6514 3 года назад
i have a rx 5700 xt and i7 8700k what bitrate should i use
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
That depends, are you streaming to Twitch or RU-vid? And what is your internet upload speed? If Twitch, I'd recommend keeping it fairly low at say 4500 kb/s since they only guarantee transcoding for Partners, which means if you are only an Affiliate and you use high bitrates, your viewers might buffer. RU-vid offers transcoding for all last I knew, so you can stream as high of quality as you want and use higher bitrates. BUT if you don't have a very large upload speed then you will be limited by that. I'd recommend using a speed test site and finding out what your normal speed is before setting your bitrate. Also, keep in mind if you have say 10,000 kb/s you don't want to try to use the whole thing. Internet speeds tend to fluctuate a little bit, and you need to save some of it for other services. So I tend to recommend shooting for 75% or less if possible. Hope that helps!
@macco6514
@macco6514 3 года назад
@@ShinigamiNGChannel I haven't messed around with settings that much but ik I have a decent enough pc but I have so much delay when I play games andy upload speed is like 27mbps whatever its called
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
As long as your upload speed is 27mbps and not your download then you should be fine. A lot of providers will give you an upload speed of only 10% or less of what your listed download speed. With my provider, they don't even list the upload speed with the plan and I had to read through the fine print and find out what it actually was. As for a delay, are you playing on WiFi at all? How old is your modem and/or router? If they are very old they may not support a lot of the networking features that newer games use.
@macco6514
@macco6514 3 года назад
@@ShinigamiNGChannel ye I play on WiFi but nah its new like its average WiFi like 20 ping in fortnite and all so ye do u think with the right settings w my pc I can get absolutely 0 input delay r lag
@NinjaPig85
@NinjaPig85 3 года назад
thanks!
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You're welcome!
@MeiGunner
@MeiGunner 3 года назад
5:51 i though x264 was the CPU though? ( u said if I have an old GPU and newer cpu .... ) (... just googled it and yes cpu is x264 - * x264 is cpu/software based encoding and quality wise better than gpu based encoders from Intel (QSV), NVIDIA (NVEnc) and AMD (VCE). ........... so idk )
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
You are correct! I mispoke! I should have said x264 here instead of h264, good catch!
@hammyboigaming904
@hammyboigaming904 3 года назад
But why does h264 put 100 percent strain on my cpu
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Hammyboi, I'm not sure, what CPU and GPU do you have?
@mr.ghostly9465
@mr.ghostly9465 3 года назад
@@ShinigamiNGChannel I have a i9-10850k with a rx580 this same thing happend to me
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
There is a lot of different settings that all work together here. Your bitrate that you have set is basically how much work you're telling it to do, so the higher that is, the more work your encoder is doing. Then if you are using one of the presets that I think default at Faster, the slower you go is like multiplying all of your work. So if you set it on Slow with a really high bitrate, you'll practically need a supercomputer! Right now I regularly stream at 4500 kbps on the Fast preset using h264 and OBS only uses about 3% of my CPU. I have a Ryzen 2700X and an RX 5700 XT.
@hammyboigaming904
@hammyboigaming904 3 года назад
I have i5-8400 and it seems that no apps can take advantage of my 2gb gpu. so i guess it just uses software encoding?
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Your GPU might also be part of the processor and not a dedicated graphics card. That is very common especially in laptops. In that case, even if you choose hardware encoding, it will technically still be using your processor. However some processors have dedicated encoders so it doesn't slow down your processor too much. In your case I would switch to x264 and see if that performs any better. You may also need to lower your bitrate and increase your speed preset.
@FkYouProbably
@FkYouProbably 3 года назад
You look like colt from 90 day fiancé bro 😂😂 no hate bro all love ❤️
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
I had to look that up because I've never even heard of it lol, but I have to agree! At least in pictures where he has a beard. His clean shaven face looks NOTHING like mine! Our chin and jawline are very different.
@FkYouProbably
@FkYouProbably 3 года назад
@@ShinigamiNGChannel colt pulls bad bitches bro! Lol
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
I have no idea if that's a good thing or a bad thing, but I've already got ShiniWifey lol
@FkYouProbably
@FkYouProbably 3 года назад
@@ShinigamiNGChannel that’s dope bro! Congratulations!!!
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thanks haha!
@emersonmoralde983
@emersonmoralde983 3 года назад
the music is kinda annoying. over all great video.
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
That's fair! I probably should have turned the music volume down a little more!
@dannyhearn7321
@dannyhearn7321 3 года назад
Great advice, although your quality on youtube looks pretty bad. Lighting not great, grainy main video, your green screen seems out too
@ShinigamiNGChannel
@ShinigamiNGChannel 3 года назад
Thank you for your feedback! I definitely didn't have all of my settings as fine tuned as I should, and was working on a pretty limited setup for my green screen and lighting. I've changed things up a bit lately and I'm not actually using the green screen now, though I could definitely still work to improve on quality!
Далее
AV1 is disappointing.
11:29
Просмотров 28 тыс.
The Hardest Challenge!
00:37
Просмотров 14 млн
skibidi toilet 76 (part 1)
03:10
Просмотров 15 млн
Actual Nvidia NVENC vs x264 Quality Comparison in 4k
16:37
The Ultimate h264 Video Encoding Tutorial
9:50
Просмотров 16 тыс.
1 vs 1000 guitar picks (5000 picks/second)
15:32
Просмотров 1,7 млн
AMD Encoder Optimization Guide - OBS Studio 28
8:20
Просмотров 141 тыс.
AMD just upgraded your stream quality for FREE!
10:59