Roku makes it easy to enjoy the hottest movies, TV shows, music, games and more on your TV by streaming it directly from the Internet. The only problem is that the supported media file formats are limited. Many users use Handbrake to batch convert video files for playback in Roku. But how to set the preset options? What's the best setting? Keep on reading.
Handbrake can provide a nice solution to Roku video playback issue. It's a free application and it has the option to accept command line functions; exactly what you need if you going to be doing batch functions.
First, download and install the latest version of HandBrake if you don't have it already. It's available for Windows, Mac and Linux. For this article I am using the Windows version, but the process is essentially the same in Mac and Linux. Installation is straight forward following the install wizard. After it's installed go ahead and launch HandBrake.
Click "Tools-> Options" to set the preferences.
Then, please navigate to "Output Files" and click "Browse" to choose a folder for saving output profiles. After finishing, please click "Close" to go back to main window. If you don't do as instructed, you will get error message "You must turn on automatic file naming in preferences before you can add to queue" when you try to batch convert.
Click "Source-> Open Folder" to load a batch of video files from a single folder. That is to say, you should put all videos ready for converting in one folder in advance.
Choose output presets after file scanning. HandBrake already provides several presets for you. Certainly, you are also allowed to set specific output presets manually.
For the Output Settings, set the Container to MP4 File. If you want to tweak the output settings you can. I've had good luck leaving the Preset to Normal with all the defaults.
Keep in mind I am converting the file to play on my Roku. If you're converting the video file for another device, I recommend using one of the presets for the device you're going to be playing the video on.
Hit "Add to Queue-> Add All" to add multiple files to the queue for batch converting on HandBrake.
Check Queue and Start Batch Conversion. When you click "Show Queue", you'll notice that there are how many jobs pending for batch conversion. In this step, you can set "When Done", edit certain job or remove a video.
If everything is ok, just click "Start" button to begin processing HandBrake batch video converting for Roku.
While it's working, the progress is displayed in the lower left corner of the UI along with the amount of time remaining.
That's it. The encoding process has finished successfully.
Now go into the destination directory you set up and you'll see the MP4 file.
Now you can transfer it to Roku 4/3/2 you want to watch the video on. I will play the video in VLC to verify the encoding process was successful and it's not corrupted.
To get a precise result, here offers an optimized way I tried to convert video to Roku using Handbrake:
Autohotkey is another application/scripting language that I absolutely love. It's very flexible, it has a lot of abilities and it can save you tons of time in doing repetitious functions.
I already had handbrake application to convert videos, but I needed something to create the process list.
I went digging through the autohotkey support forums and found a script that someone had already been working on. When I grabbed it, it didn't do exactly what I wanted to, but the beauty to autohotkey is that you can change the scripts have them do what you want to do; how you want them to do them.
I'm not taking credit for the script, because I didn't write it; I modified it. All the credit for writing the original script should go to the author… But here's the autohotkey script that I use to convert my videos to MP4…
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <firstname.lastname@example.org>
; Script Function:
; Template script (you can customize this template by editing "ShellNewTemplate.ahk" in your Windows folder)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Traytip, %progname%, Loaded…
FileExt = MP4|ISO|AVI|ASF|WMV ; file extension pattern
SetTimer, Watchmen, 1000 ; check every 5 secs
If FileExist("*.mp4") || FileExist("*.ISO")|| FileExist("*.avi")|| FileExist("*.ASF")|| FileExist("*.WMV") ; ... for the existense of mpgs and/or avis
Loop, *.* ; go and get'm
SplitPath, A_LoopFileLongPath, OutFileName,,, OutNameNoExt ; get file details
If InStr(FileExt,SubStr(A_LoopFileName,-2)) ; if file extension exists within our pattern
TrayTip, %progname%, Processing: `n %OutFileName% ...
"C:Program Files (x86)HandbrakeHandBrakeCLI.exe"
Filemove, %OutFileName%, %originalsfolder%,1
TrayTip, %progname%, Moved: `n %OutFileName% ...
msgbox, Nothing was found to process.
The autohotkey script, as it's presented here, is to be placed into the directory where the videos are that are supposed to be converted. I wanted to make sure that once I converted my original files, that I placed those original files into a separate folder so that I knew that they were processed, and I wanted to place the converted files into a separate folder showing that they were converted. In my case, I was dropping them directly into my Plex folder.
Understanding that some people may not want to do the same thing that I'm doing, people are welcome to change the originals folder and the converted folder as needs be, or take the script entirely and convert it to our you want to do it.
With this particular script, you can call out the profile that you want to use with handbrake, using the preset option in the autohotkey script. If you want to use your custom profile, simply open handbrake, create a new video profile and save it. Come back to the script, just the preset name and your set.
Again, you can take this autohotkey script, uses scheduling program and run the batch conversion program in the middle of the night where it's most convenient, but when the script doesn't find anything else in the folder process it exits.
By converting all my videos to MP4, I can enjoy my entire movie collection and if something happens during the playback of the movie, I now have the ability to resume viewing the video; something that I wasn't able to do with Plex.
I also found that this is really helpful in converting videos to MP4 before uploading them to YouTube. The conversion method used in handbrake under the normal profile seems generically and overall and all round good balance of size and quality. There's no need in uploading 100 MB of data when you only have to upload 50 MB of converted data, that's been optimized.
Sometimes, Handbrake cannot support the codec in some AVI, MKV files or crashes when converting. Here, we'll focus on iFastime Video Converter Ultimate, one of the best HandBrake alternatives. It is highly recommended due to many aspects:
- Preferences setting are not required for batch converting;
- You don't need to create presets manually, because this batch video converter comes with hundreds of multimedia formats MP4, MKV, AVI ,WMV, MOV, etc. as well as devices profiles including PS3, Xbox 360, etc;
- It is also a Blu-ray/DVD copy, Blu-ray/DVD Ripper, video editor, besides a SD/HD video converter.
Comparing with Handbrake, iFastime Video Converter Ultimate is a more ideal tool to convert AVI, WMV, MKV, VOB, MXF, AVCHD, FLV, WebM, OGV, SWF, RMVB, to Roku 3/2/1/LT/HD compatible files without quality loss. Furthermore, it can also convert Roku unsupported audio formats like AC3, M4A, AIFF, FLAC, 3GA, RA, OGG, M4B, QCP, VOC, SHN, CAF, APE, AU, and etc to Roku supported MP3, AAC and more. The video editing function of Roku Video Converter cannot be ignored. It can easily cut off the unwanted parts to Roku, add subtitles/watermarks to Roku, and more.
Free Download iFastime Video Converter Ultimate:
Step 1: Import video files
Launch the Roku video converter, then head to the folder where the video are stored. Click "Add video" to import the video files to the program.
Step 2. Select output format
Click "Format" and choose MP4 from "Common Video" or "HD Video" as output format, the most compatible video format for Roku 4/3/2.
Step 3. Video/Audio settings
Simply click Settings bar and you can tweak the settings to your satisfaction. With the right settings you can retain the quality of the original videos while also saving space. This is particularly helpful when streaming over your network, depending on your network quality.
Frame rate matters. Encode your video files at 29.97 frames per second rather than the standard 30 fps. Otherwise, be prepared for a lot of buffering.
Bit rate matters. Encoding at a bit rate that's too low will create blockiness in playback, particularly with action scenes. Start with a rate of 2.5 Megabits per second. The trade-off in file size is worth it.
Step 4. Edit the video Files (Selectable)
Click "Edit selected task":
Go to the "Trim" window to cut off videos.
Go to the "Crop" window to adjust the video size.
Go to the "Watermark" window to add watermarks.
Go to the "Subtitle" window on insert subtitles.
Step 5. Start converting video to Roku
Finally, hit the "Start conversion" button at the bottom of the main interface to start the conversion in batch. It will automatically convert files to Roku compatible video files with the best quality. After the conversion, click "Open" to quickly find the converted movies for streaming and playing without any incompatible problem.
How to Stream Local Video to HDTV with Roku USB Channel
1. Transfer the output .mp4 video to a USB file or SD card and attach it to Roku box;
2. Make sure the USB Media Player Channel has been installed from Roku Store and find the movie in this channel to stream(Tips: In a folder with both video files and subfolders, the video files are shown at the top of the screen and the subfolders at the bottom of the screen).
Tip: You can use a USB flash drive with the Roku's port, but it likely won't work if you try to hook up your 500 GB Western Digital external drive. Rule of thumb: if it needs to plug into the wall, it probably won't work with the USB channel. Get a bigger USB drive. It's amazing how much space a movie can take up when you're encoding at 2.5 Mbps. Luckily, thumb drives are pretty cheap these days. You can grab a 16 GB drive for a measly $25 or $30 on Amazon.
According to the description in Roku official site that Roku is a little box that makes it easy to enjoy the hottest movies, TV shows, music, games and more on your TV by streaming it directly from the Internet. Roku provides millions of people the access to their favorite entertainment instantly and on demand. However, Roku has trouble in handling AVI files. There are many types of Roku. The very common and popular types are Roku 3 (4200), Roku 2 (2720), Roku 1 (2710), Roku LT (2700), Roku HD and more.
Have more questions about Using HandBrake to batch convert videos to Roku, please feel free to contact us>>