Changes between Version 9 and Version 10 of Encode/AV1
- Timestamp:
- Jul 30, 2018, 7:34:01 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/AV1
v9 v10 44 44 * 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.) 45 45 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2. 46 * In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work. 47 48 {{{#!comment 49 > In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work. 50 Which cases? 51 }}} 46 * In pass 1, you can leave audio out by specifying `-an`. 52 47 53 48 {{{ 54 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 1 - f matroska /dev/null && \55 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 2 output.mkv49 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 1 -an -f matroska /dev/null && \ 50 ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 2 -c:a libopus output.mkv 56 51 }}} 57 52
