The main difference from Google’s suggestion is in the -vf "scale=1280:trunc(ow/a/2)*2" parameter, which I use to scale the video to a width of 1280 maintaining the original aspect ratio. g 9999 -aq-mode 0 -c:a libopus -b:a 64k -f webm output.webm c:v libvpx-vp9 -pass 2 -b:v 1000K -threads 1 -speed 0 \ # This pass uses the log file to generate output.webm tile-columns 0 -frame-parallel 0 -auto-alt-ref 1 -lag-in-frames 25 \ c:v libvpx-vp9 -pass 1 -b:v 1000K -threads 1 -speed 4 \ # WebM VP9 encoding (in two pass) # This pass just creates a log file (ignore the warning at the end of it)
0 Comments
Leave a Reply. |