Skip to content

Instantly share code, notes, and snippets.

@goyuix
Created November 11, 2011 22:30
Show Gist options
  • Save goyuix/1359523 to your computer and use it in GitHub Desktop.
Save goyuix/1359523 to your computer and use it in GitHub Desktop.
Profile for handbrake that produces MP4 files optimized for viewing on iOS, Android and through the Flash Player
<?xml version="1.0"?>
<ArrayOfPreset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Preset>
<Name>N1</Name>
<Query> -2 -T -O -b 1000 -a 1 -e x264 -6 dpl2 -E faac -B 128 -R Auto -D 0.0 -f mp4 -X 800 -Y 480 -m -x cabac=0:ref=2:me=umh:bframes=0:subme=6:8x8dct=0:weightp=0:trellis=0:analyse=all:no-fast-pskip=1</Query>
<CropSettings>false</CropSettings>
<Version>0.9.5</Version>
</Preset>
</ArrayOfPreset>
@goyuix
Copy link
Author

goyuix commented Nov 11, 2011

Note: I will actually set the contents of the Query tag as an environment variable on my computers and use HandbrakeCLI instead of the GUI. I presented it in the presets XML format to make it easier to just drop a copy in the correct profile directory and have it auto-magically work with the GUI version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment