This is an old revision of the document!
HandBrake and x264
I'm trying to document a number of changes in encoding which I won't go into here, but I started with the base idea of I want to be able to duplicate HandBrake and x264's encoding settings.
To get the x264 encoding settings, I use mediainfo, and process it with a script I call x264_info.
There's a difference between HandBrake's and x264's default settings. Based on the x264 defaults, here's the updates to the HandBrake ones.
Do a simple x264 encode:
x264 --muxer mkv --frames 30 -o x264.mkv input.mpg
And a simple HandBrake encode:
HandBrakeCLI -e x264 -a none -s none --stop-at frame:30 -o handbrake.mkv input.mpg