Changes between Version 35 and Version 36 of Encode/H.264
- Timestamp:
- Jan 23, 2013, 12:14:55 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.264
v35 v36 59 59 60 60 == Lossless H.264 == 61 You can use `-qp 0` or `-crf 0` to encode a lossless output. Two useful presets for this are `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors.61 You can use `-qp 0` or `-crf 0` to encode a lossless output. Use of `-qp` is recommended over `-crf` for lossless because 8-bit and 10-bit x264 use different `-crf` values for lossless. Two useful presets for this are `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors. Most non-FFmpeg based players will not be able to decode lossless, so if compatibility is an issue you should not use lossless. 62 62 63 63 === Lossless Example (fastest encoding) === … … 74 74 }}} 75 75 76 === Bit Depth ===77 78 You can get 10 bit output by compiling libx264 with its "10 bit" configure option set, then linking your ffmpeg against that. Then use libx264 -profile high10 or the like. In order to get high444 profile, you'd have to make sure to pass it yuv422 type input.79 80 76 ---- 81 77 82 78 == Overwriting default preset settings == 83 79 84 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.80 You can overwrite default preset settings with the `x264opts` option or by using the libx264 private options (see `libx264 AVOptions` in `ffmpeg -h full`). 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. 85 81 86 82 Example:
