Video Encoding
Skočit na navigaci
Skočit na vyhledávání
FFmpeg VP9
#!/bin/bash
set -x
filename=`rev <<< "$1" | cut -d"." -f2- | rev`;
ffmpeg -y -i "$1" -c:v libvpx-vp9 -pass 1 -b:v 0 -crf 28 -threads 2 -speed 4 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -g 150 -keyint_min 150 -an -f webm /dev/null
ffmpeg -y -i "$1" -c:v libvpx-vp9 -pass 2 -b:v 0 -crf 28 -threads 2 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -g 150 -keyint_min 150 -c:a libvorbis -qscale:a 0 -f webm "${filename}.webm"