Changes between Version 16 and Version 17 of Encode/VP9
- Timestamp:
- Aug 3, 2020, 8:05:22 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/VP9
v16 v17 41 41 * In pass 1 and 2, use the `-pass 1` and `-pass 2` options, respectively. 42 42 * 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.) 43 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2.44 43 * In pass 1, you can leave audio out by specifying `-an`. 45 44 … … 47 46 48 47 {{{ 49 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f webm/dev/null && \48 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f null /dev/null && \ 50 49 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 2 -c:a libopus output.webm 51 50 }}} … … 54 53 55 54 {{{ 56 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f webm/dev/null && \55 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null /dev/null && \ 57 56 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus output.webm 58 57 }}}
