Changes between Version 1 and Version 2 of x264EncodingGuide
- Timestamp:
- 08/06/2012 06:39:14 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
x264EncodingGuide
v1 v2 42 42 {{{ 43 43 ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 1 -an -f mp4 - && \ 44 ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 2 -c:a libfaac -b:a 128k output.m kv44 ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 2 -c:a libfaac -b:a 128k output.mp4 45 45 }}} 46 46 … … 52 52 You can use `-qp 0` or `-crf 0` to encode a lossless output. Only two of the presets are generally useful: `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors. 53 53 54 === Lossless Example (fast encodin ng) ===54 === Lossless Example (fast encoding) === 55 55 56 56 {{{ … … 68 68 69 69 == Overwriting default preset settings == 70 You can overwrite default preset settings with the x264optsoption or by using the libx264 private options (see `libx264 AVOptions` in `ffmpeg -h`). This is not recommended unless you know what you are doing. The presets were created by the x264 developers and tweaking values to get a better output is usually a waste of time.70 You can overwrite default preset settings with the `x264opts` option or by using the libx264 private options (see `libx264 AVOptions` in `ffmpeg -h`). This is not recommended unless you know what you are doing. The presets were created by the x264 developers and tweaking values to get a better output is usually a waste of time. 71 71 72 72 Example:


