If you ever wanted to deliver the best possible scheduled stream for your viewers then you should definitely take a look at HandBrake software. It's a free cross-platform tool that allows you to compress videos without losing much quality and prepare the video file that will both look good, and stream well.
Important: In this article, you will learn how to prepare a file for Facebook streaming, but the principle is common for all platforms - just keep in mind their streaming guidelines. You can find best recommened setting for different platforms here.
Setting up HandBrake
1. Navigate to the download page, and select the platform you're using to get the distributive for you:
2. After installing the app, drag the file you'd like to stream to the app or click the menu on the left to convert a whole folder or a single file:
3. After your file is selected, you'll see the basic app window:
4. To start off, select a Preset from the list. This will be your basics, which you can later adjust to get the perfect look and size of your file. In this article, you will learn how to prepare a file for Facebook streaming, but the principle is common for all platforms - just keep in mind their streaming guidelines. Facebook needs to be streamed to in 720p, 30 FPS, so we'll take this preset as a basis from Presets - General - Fast 720p30:
5. Next, in summary section of the app optimize the file for web streaming:
6. Switch to Dimensions tab, and select the resolution of your choice. Always keep in mind guidelines of platforms the video will be streamed to. In our example, 1280x720 is already selected to fit Facebook, but you may want to select 960x540 for Periscope, or 1920x1080 for the majority of platforms if you're transcoding a 4k UltraHD footage:
7. Next, in the Video tab select the framerate (FPS) of your video. In the most cases, FPS 30 is preferred, but some platforms allow you to play back 60 fps streams just fine, so select the best FPS value for your target platforms. In case of Facebook it will be 30:
8. It is important to select Constant Framerate afterward:
9. You can then select Encoder Level. If you are not familiar with this parameter, just leave it on Auto, and the best value for your resolution will be selected:
10. Next, on the right side of Video tab, switch from Constant Quality option to Average Bitrate, then select the bitrate for your target platforms. Some platforms, like Periscope (which requires bitrate of 800 kbit/s), will struggle with higher video bitrates, while others won't bother getting 12 mbit streams. In case of Facebook, 4000 kbit/s is the maximum recommended value, and the other platforms, like Twitch and YouTube will work with this bitrate just fine too:
11. Next goes one of the most important parameters in the whole encoding process - the time your PC will spend on compression. The longer you'll let it work on the file, the better the quality will be. To get file fast, switch Encoder Preset to Veryfast - it's the least recommended preset for a decent quality, and it will encode in almost real-time; to get the best quality with lower bitrates, set Encoder Preset to Medium or slower values, but remember that encoding may take much longer than the duration of your video with it. Normally the slower preset is, the better:
12. To add the final touch to the great video, we need to add an Extra Option for the encoder. Get the FPS value you've set at Step 7, and multiply it by 2. In our case we have FPS = 30, so we need to set the keyframe interval every 2 seconds, which is equal to every 60 frames. In case of 60 FPS video keyint should be 120. Let's insert keyint value for our 30 FPS video next:
Note: Even despite keyframe interval should be set to 2 seconds in the most cases, it may be slightly off in the end file depending on the file duration. Shorter videos may have a bigger difference with the desired keyint, but it shouldn't affect the performance of Scheduler or destination platforms in general.
13. Now we're ready to specify the name of our desired file. Hit the Browse button in the bottom right part of the window, and select your file's destination:
14. Now, when you are finished, press the Start Encode button in the top part of the window:
15. Your encoding will take some time depending on the values of Resolution, FPS, and Encoder Preset. You will be able to see it's status in the bottom part of the window:
16. If you want to save this set of parameters, you can do this by accessing Presets - Set Current as Default. This will help you to save some time if you will use this preset often.
17. After the file is ready, you can upload it to Scheduler for further use.
Now you're ready to stream your videos with Restream Scheduler! Just select create the event and select your desired platforms, and that'll be it!
👉 Next steps
- Video Requirements for Restream Scheduler
- You can also use Adobe Media Encoder to optimize your video
- Ensure that the video file is in accordance with your subscription plan
- Upload your video to Scheduler
- Schedule your event
👍 Keep exploring
Would like to learn some tricks from the community?
Please join our Discord.
Can't find the right answer?
Contact the Restream Support team via our Live Chat.