Changes between Version 67 and Version 68 of Encode/H.264
- Timestamp:
- Jul 30, 2018, 7:36:42 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.264
v67 v68 120 120 * 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.) 121 121 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2. 122 * In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work.122 * In pass 1, you can leave audio out by specifying `-an`. 123 123 124 124 For example: 125 125 126 126 {{{ 127 ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 - c:a aac -b:a 128k-f mp4 /dev/null && \127 ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \ 128 128 ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4 129 129 }}}
