Changes between Version 12 and Version 13 of Encode/H.265


Ignore:
Timestamp:
Jul 30, 2018, 10:35:55 PM (3 months ago)
Author:
slhck
Comment:

note that -an can be used in first pass

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.265

    v12 v13  
    5959* 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.) 
    6060* In pass 1, you need to specify an output format (with `-f`) that matches the output format you will use in pass 2. 
    61 * In pass 1, specify the audio codec used in pass 2; in many cases, `-an` in pass 1 will not work. 
     61* In pass 1, you can leave audio out by specifying `-an`. 
    6262 
    6363For libx265, the `-pass` option (that you would use for libx264) is not applicable. 
    6464 
    6565{{{ 
    66 ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -c:a aac -b:a 128k -f mp4 /dev/null && \ 
     66ffmpeg -y -i input -c:v libx265 -b:v 2600k -x265-params pass=1 -an -f mp4 /dev/null && \ 
    6767ffmpeg -i input -c:v libx265 -b:v 2600k -x265-params pass=2 -c:a aac -b:a 128k output.mp4 
    6868}}}