Changes between Version 12 and Version 13 of Encode/VP9
- Timestamp:
- Jul 30, 2018, 7:32:45 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/VP9
v12 v13 37 37 * 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.) 38 38 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2. 39 * In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work.39 * In pass 1, you can leave audio out by specifying `-an`. 40 40 41 41 {{{ 42 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 - c:a libopus-f webm /dev/null && \42 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f webm /dev/null && \ 43 43 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 2 -c:a libopus output.webm 44 44 }}}
