Changes between Version 17 and Version 18 of Encode/H.265


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

no need to specify muxer in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.265

    v17 v18  
    6969* In pass 1 and 2, use the `-x265-params pass=1` and `-x265-params pass=2` options, respectively.
    7070* 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.)
    71 * In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2.
    7271* In pass 1, you can leave audio out by specifying `-an`.
    7372
    … …  
    7574
    7675{{{
    77 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f mp4 /dev/null && \
     76ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f null /dev/null && \
    7877ffmpeg -i input -c:v libx265 -b:v 2600k -x265-params pass=2 -c:a aac -b:a 128k output.mp4
    7978}}}