Changes between Version 74 and Version 75 of Encode/H.264


Ignore:
Timestamp:
Aug 3, 2020, 8:04:05 AM (6 years ago)
Author:
slhck
Comment:

no need to specify muxer in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.264

    v74 v75  
    121121* In pass 1 and 2, use the `-pass 1` and `-pass 2` options, respectively.
    122122* 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.)
    123 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2.
    124123* In pass 1, you can leave audio out by specifying `-an`.
    125124
    … …  
    127126
    128127{{{
    129 ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \
     128ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f null /dev/null && \
    130129ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4
    131130}}}