Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x264 --help
- x264 core:120 r2120 0c7dab9
- Syntax: x264 [options] -o outfile infile
- Infile can be raw (in which case resolution is required),
- or YUV4MPEG (*.y4m),
- or Avisynth if compiled with support (no).
- or libav* formats if compiled with lavf support (no) or ffms support (no).
- Outfile type is selected by filename:
- .264 -> Raw bytestream
- .mkv -> Matroska
- .flv -> Flash Video
- .mp4 -> MP4 if compiled with GPAC support (no)
- Output bit depth: 8 (configured at compile time)
- Options:
- -h, --help List basic options
- --longhelp List more options
- --fullhelp List all options
- Example usage:
- Constant quality mode:
- x264 --crf 24 -o <output> <input>
- Two-pass with a bitrate of 1000kbps:
- x264 --pass 1 --bitrate 1000 -o <output> <input>
- x264 --pass 2 --bitrate 1000 -o <output> <input>
- Lossless:
- x264 --qp 0 -o <output> <input>
- Maximum PSNR at the cost of speed and visual quality:
- x264 --preset placebo --tune psnr -o <output> <input>
- Constant bitrate at 1000kbps with a 2 second-buffer:
- x264 --vbv-bufsize 2000 --bitrate 1000 -o <output> <input>
- Presets:
- --profile <string> Force the limits of an H.264 profile
- Overrides all settings.
- - baseline,main,high,high10,high422,high444
- --preset <string> Use a preset to select encoding settings [medium]
- Overridden by user settings.
- - ultrafast,superfast,veryfast,faster,fast
- - medium,slow,slower,veryslow,placebo
- --tune <string> Tune the settings for a particular type of source
- or situation
- Overridden by user settings.
- Multiple tunings are separated by commas.
- Only one psy tuning can be used at a time.
- - psy tunings: film,animation,grain,
- stillimage,psnr,ssim
- - other tunings: fastdecode,zerolatency
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement