Changes between Version 9 and Version 10 of Encode/AV1


Ignore:
Timestamp:
Jul 30, 2018, 10:34:01 PM (11 months ago)
Author:
slhck
Comment:

note that -an can be used in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/AV1

    v9 v10  
    4444* 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.)
    4545* 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`.
    5247
    5348{{{
    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.mkv
     49ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 1 -an -f matroska /dev/null && \
     50ffmpeg -i input.mp4 -c:v libaom-av1 -strict experimental -b:v 2M -pass 2 -c:a libopus output.mkv
    5651}}}
    5752