Changes between Version 74 and Version 75 of Encode/H.264
- Timestamp:
- Aug 3, 2020, 8:04:05 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.264
v74 v75 121 121 * In pass 1 and 2, use the `-pass 1` and `-pass 2` options, respectively. 122 122 * 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.) 123 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2.124 123 * In pass 1, you can leave audio out by specifying `-an`. 125 124 … … 127 126 128 127 {{{ 129 ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4/dev/null && \128 ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f null /dev/null && \ 130 129 ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4 131 130 }}}
