Changes between Version 16 and Version 17 of Encode/VP9


Ignore:
Timestamp:
Aug 3, 2020, 11:05:22 AM (2 months ago)
Author:
slhck
Comment:

no need to specify muxer in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/VP9

    v16 v17  
    4141* In pass 1 and 2, use the `-pass 1` and `-pass 2` options, respectively.
    4242* 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.
    4443* In pass 1, you can leave audio out by specifying `-an`.
    4544
     
    4746
    4847{{{
    49 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f webm /dev/null && \
     48ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 1 -an -f null /dev/null && \
    5049ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 2M -pass 2 -c:a libopus output.webm
    5150}}}
     
    5453
    5554{{{
    56 ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f webm /dev/null && \
     55ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 1 -an -f null /dev/null && \
    5756ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:v 0 -crf 30 -pass 2 -c:a libopus output.webm
    5857}}}