In April I pushed to GitHub my RewraptoMP4 Script I put together to help assist in creating proper MPEG-4 container files while being able to use the x264 QuickTime component in Compressor. Compressor only allows you to specify the codec being used when exporting to a QuickTime file, however it is possible to use QuickTime Player after the fact to convert a QuickTime Movie to an MPEG-4 without transcoding so long as the codecs are supported in the MPEG-4 container spec.
My primary reason for the extra work is that Google Chrome will not recognize a .mov file as a valid wrapper for video in HTML 5’s <video> tags.
Using Compressor
You need to make your Compressor preset using x264 as a normal QuickTime movie preset (use the table below to help with settings if necessary). You’ll then want to grab the script from GitHub and add it as a script to your preset.
Scripting Compressor isn’t very straight forward, while you can use AppleScript or launch a script using Compressor they fail to mention that the script must be saved as an application and the file is accessed by using on open.
Helpful Table of Limitations
| Device | Max Res | Max Bit Rate | H.264 Settings |
|---|---|---|---|
| iPhone | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPod touch | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPhone 3G | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPod touch 2G | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPhone 3G S | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPod touch 3G | 640x480 | 2.5 Mbps | Can only use Baseline profile Level 3.0 with CAVLC |
| iPad | 1280x720 | "Unlimited" | Can only use up to Main Profile Level 3.1 |
| iPhone 4 | 1280x720 | "Unlimited" | Can only use up to Main Profile Level 3.1 |
| iPod touch 4G | 1280x720 | "Unlimited" | Can only use up to Main Profile Level 3.1 |
| G1 | 480x320 | 600 | Lack of documentation for anything Android |
| Droid X | 1280x720 | ? | Lack of documentation for anything Android - can't play more than 24FPS |
Android information is rather limited. Official Android information is near non-existent.
Thanks to: