Changes between Version 61 and Version 62 of Encode/H.264
- Timestamp:
- Jul 7, 2017, 10:09:17 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.264
v61 v62 148 148 === Constained encoding (VBV / maximum bit rate) === 149 149 150 You can also alsouse `-crf` or `-b:v` with a maximum bit rate by specifying both `-maxrate` and `-bufsize`:150 You can also use `-crf` or `-b:v` with a maximum bit rate by specifying both `-maxrate` and `-bufsize`: 151 151 152 152 {{{ … … 154 154 }}} 155 155 156 This will effectively "target" `-crf 23`, but if the output were to exceed 1 MBit/s, the encoder would increase the CRF to prevent bitrate spikes. 156 This will effectively "target" `-crf 23`, but if the output were to exceed 1 MBit/s, the encoder would increase the CRF to prevent bitrate spikes. However, be aware that `libx264` does not strictly control the maximum bit rate as you specified (the maximum bit rate may be well over 1M for the above file). To reach a perfect maximum bit rate, use two-pass. 157 157 158 158 In another example, instead of using constant quality (CRF) as a target, the average bitrate is set. A two-pass approach is preferred here:
