Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
handbrake_and_x264 [2018/04/07 02:35] – beandog | handbrake_and_x264 [2023/04/09 18:04] (current) – removed beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 (1.0.2) and x264's (20160920, same as HandBrake) encoding settings. | ||
- | |||
- | To get the x264 encoding settings, I use [[mediainfo]], | ||
- | |||
- | There' | ||
- | |||
- | ==== Base ==== | ||
- | |||
- | 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 | ||
- | </ | ||
- | |||
- | 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: | ||
- | |||
- | < | ||
- | HandBrakeCLI -e x264 -a none -s none --stop-at frame:30 -x keyint=250: | ||
- | </ |