Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
handbrake_and_x264 [2018/04/06 20:35] beandog |
handbrake_and_x264 [2018/04/06 20:39] beandog |
||
---|---|---|---|
Line 7: | Line 7: | ||
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. | 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. | ||
- | ** Base ** | + | ==== Base ==== |
Do a simple x264 encode: | Do a simple x264 encode: | ||
Line 21: | Line 21: | ||
</code> | </code> | ||
- | HandBrake sets keyint to 240 and keyint-min to 24, while x264's is 250 and 25. Therefore, tell HandBrake one to use same defaults: | + | HandBrake sets keyint to 240 and keyint-min to 24, while x264's is 250 and 25. HandBrake also sets the default CRF to 22 instead of 23. Therefore, tell HandBrake one to use same defaults: |
<code> | <code> | ||
- | HandBrakeCLI -e x264 -a none -s none --stop-at frame:30 -x keyint=250:min-keyint=25 -o handbrake.mkv input.mpg | + | HandBrakeCLI -e x264 -a none -s none --stop-at frame:30 -x keyint=250:min-keyint=25 -q 23 -o handbrake.mkv input.mpg |
</code> | </code> |