[Atrix 4G Q&A, Help & Troubleshooting] Girgizzlemuf:
Guide for Transcoding with Handbrake

Step 1: What file are you transcoding??​

This is a very important step. Generally if you can load it into Handbrake, you can transcode it. There are all kinds of options we can use to transcode to make it work on the phone, and this guide will cover those steps.

Step 2: Get Handbrake​

Handbrake can be found at http://handbrake.fr/. Instructions for download for your system can be found there. Currently Handbrake supports MacOS X, Windows and Linux.

Even though Handbrake supports a large number of operating systems, if you use Windows the preferred method of transcoding is still going to be MeGUI due to the reasons listed in the first post on this thread!​

Step 3: Handbrake​

Handbrake has a much simpler interface than Megui. However, because of this, there are much fewer options. This is good for a lot of users, but as stated before it does not give you much control over the video. For Linux and MacOS X users, this is going to be your best solution for a graphical interface. In the example I am going to use, again like the Megui walkthrough, we will be using a MKV file containing a video, audio, and styled subtitle track.

A. Load the file

First you need to load the file for input. Click on the button in the top left that says 'Source'. Choose your file that will be loaded. Under the drop-down menu that says 'Title:' you have a few options. For best results, choose the 'Frames' option and choose the entire video. This prevents chapters from being loaded into the file and makes the file more compatible with the phone. The Summary tab at the bottom will give you the details on the file that is loaded.​

B. The video.

Under the video tab, you will be presented with some basic encoding options. We will be using H.264(x264) because it is what the phone can read easily. The other options we will not worry about. Keep the framerate the same as the source (Unless you are encoding from a dvd, then you need to follow a dvd-ripping guide) and choose your bitrate. With x264, the quality is inversly proportional, so if you choose a quality of 30, your file will be small but the quality will be garbage. Keep the constant quality between 18-23 for the best results with reasonable file size. If you want to target a certain file size or bitrate, you can choose to do so as well, but be aware that those settings will force a 2 pass encode that will increase the transcode time.​

B1. H.264 Settings.

Contrary to popular belief, you do not need to 'install a preset' to make these work. Here is a list of settings you need to change to make it work on your atrix:

Weighted P-frames = OFF

Maximum B-frames = 2~6

Adaptave B-Frames = OFF​

Those are the ONLY settings you need to change to make the video work. As long as the settings for weighted p-frames and adaptive b-frames are set to off, you can change any of the other settings to your liking. Leave CABAC on though, as it increases compression by a lot.
​

If you have an odd-sized source, or if your source has 'letterboxing', or if you have the urge to resize your video to whatever resolution, read the next section. Otherwise, skip to part C.​

​

B2. Crop/resize

If you have a weird source that requires some special attention, click the button at the top that says 'Picture Settings'. From the dialogue that pops up you can resize, crop, add certain filters (deinterlace, IVTC, soften, sharpen etc...) to make your file more compressable and watchable. You can also use this window to resize your source, but upscaling via this method is not recommended due to picture quality problems on stretching. There are a lot of advanced options in here, and due to the complexity of said options, this guide will not go into detail on what they do, because if you are in here, you already have some idea what you need to do to fix your source.​

C. Audio/Subtitles/chapters

Putting these sections together because they are easy. Under the audio tab, you are presented with a few options for the built in AAC encoder, FAAC. Choose your bitrate. 128kbps will give you a bit better than cd quality, 160 is a pretty good option for stereo, 192 is a good option for Dolby PL or Dolby PLII. If your audio track is multichannel, I strongly suggest you change the 'Mix' settings to Dolby PL/PLII. Reason: multichannel AAC produces a horrible echo when played back in stereo on the phone. DRC if you want to make the louds quieter and the softs louder.

Under the subtitle tab, you can choose your subtitle track. By default, it has no track selected. If you have subtitles you want to get on your video track, you need to click on the '+ subtitle'. This will automatically load the subtitle track from the MKV. (Alternatively, if you have a subtitle track outside the file you can click '+ Import SRT' to add a text-only subtitle track.) Choose the radio button for 'Burned In' to directly encode the subtitle track onto the video.

The atrix does not recognize chaptered MP4 files. So under the chapters tab, uncheck the box for chapter markers. This is not required, as it does not affect playback on the phone.
​

D. Destination

Almost done. Under the destination box at the top, choose the destination for the file. As a note, we will most likely have to rename the file to .mp4 after we are done, because for some reason the final product will be .m4v. Not hard, if the file works as m4v then good. If not, rename it to .mp4 and you should be fine. Now click start, grab a beer and walk away for a bit. This is going to take a while. When it's done, do what you normally do to get stuff on your phone.​