![]() The last thing to note is that any preset lower than medium will have significant diminishing returns, and is not really worth the extra CPU cycles for streaming scenarios. Sometimes you need to reduce your CPU usage in order to get good performance, and the higher CPU usage presets can be difficult to use effectively with average consumer CPUs. The basic idea is that, all things being equal (same bitrate, etc), less CPU usage would result in worse quality, and more CPU usage would result in better quality, because the presets change how much time the encoder spends compressing each frame to look good within its setting constraints. ![]() The actual details of what the settings are can be found here: These sets of settings have been tested by lots of people and are great for general use, depending on what you want to get out of your encoder. X264 has several CPU presets, in increasing order from low CPU usage to high CPU usage: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo.īy "preset", it means exactly what it sounds like: a set of pre-determined settings for x264 so that you don't have to set them all manually yourself to tweak things. There are two primary components to the x264 encoder we'll be looking at: presets and bitrate. Even the most powerful consumer CPUs can still struggle with the load of encoding a high-resolution, high-fps stream. Keep all this in mind when you wonder why your 8 year old dual core Pentium CPU cannot encode 1080p 60fps without failing miserably. Only been in recent years have standard consumer-grade computers reached the point where they can realistically provide the processing power to do live video encoding. For streaming where bitrate is usually a constraining factor, x264 is currently the best option for getting the most quality out of your stream. As a trade-off the overall quality per bitrate is lower than the CPU-based x264 in nearly all cases. Hardware encoders - such as Nvidia NVENC, Intel QuickSync, or AMD VCE - can help with this as they use special hardware in your system dedicated to the task of video encoding. It is important to understand that video encoding is a very resource intensive process, especially when attempting to do so in real-time. You can learn more about local recording settings in this guide here: For local recordings, your choice of encoder is far less relevant than your actual settings and in many cases a hardware encoder will be better suited for you. This is what the vast majority of OBS users will be using when they stream. This guide is focused entirely on streaming with the x264 encoder. However, the best way to find your best settings is to test, test, and test again. This tool will test your system and your internet connection to determine what it can handle from both an encoding standpoint and a connection stability standpoint. If you are new to OBS or streaming in general, OBS Studio contains a feature known as the "Auto-Configuration Wizard" which can be found in the Tools menu. One for fast motion games, one for desktop applications, and another for live video. As an example, I have 3 different sets of streaming encoding settings for the types of media I stream. Every single setup, for every single use case, will be different. Let me reiterate that there is no such thing as "best settings". This is intended to help you understand how video encoding in general works, and how to better identify potential issues with your settings and help you learn where to look to correct them. This is also not intended to be a "best settings" guide, and I will not recommend any specific settings. If you're interested in the nitty-gritty, head over to the doom9 forums, FFmpeg docs, or the x264 website and start digging. This is not intended to be a fully detailed technical explanation of how x264 works there are far better guides out there than what I can provide here. All done? Great! Let's get started.īefore we get into the details, let me explain what this guide is not. He does a great job of giving a quick primer on how video encoding works, and you will hopefully have a better understanding of the topics and terminology that we'll be going over. So, you want to learn more about video encoding? How to set up your stream for the best quality given your computer's hardware and connection limitations? Let's start with this video by Tom Scott.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |