Changes between Version 12 and Version 13 of Encode/VP9


Ignore:
Timestamp:
Jul 30, 2018, 10:32:45 PM (13 months ago)
Author:
slhck
Comment:

note that -an can be used in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/VP9

    v12 v13  
    3737* 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.)
    3838* 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`.
    4040
    4141{{{
    42 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -c:a libopus -f webm /dev/null && \
     42ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f webm /dev/null && \
    4343ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 2 -c:a libopus output.webm
    4444}}}