Changes between Version 17 and Version 18 of Encode/H.265
- Timestamp:
- Aug 3, 2020, 8:04:31 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.265
v17 v18 69 69 * In pass 1 and 2, use the `-x265-params pass=1` and `-x265-params pass=2` options, respectively. 70 70 * In pass 1, output to a null file descriptor, not an actual file. (This will generate a logfile that ffmpeg needs for the second pass.) 71 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2.72 71 * In pass 1, you can leave audio out by specifying `-an`. 73 72 … … 75 74 76 75 {{{ 77 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f mp4/dev/null && \76 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f null /dev/null && \ 78 77 ffmpeg -i input -c:v libx265 -b:v 2600k -x265-params pass=2 -c:a aac -b:a 128k output.mp4 79 78 }}}
