Changes between Version 12 and Version 13 of Encode/H.265
- Timestamp:
- Jul 30, 2018, 7:35:55 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.265
v12 v13 59 59 * 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.) 60 60 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2. 61 * In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work.61 * In pass 1, you can leave audio out by specifying `-an`. 62 62 63 63 For libx265, the `-pass` option (that you would use for libx264) is not applicable. 64 64 65 65 {{{ 66 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 - c:a aac -b:a 128k-f mp4 /dev/null && \66 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f mp4 /dev/null && \ 67 67 ffmpeg -i input -c:v libx265 -b:v 2600k -x265-params pass=2 -c:a aac -b:a 128k output.mp4 68 68 }}}
