You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
335 B

for i;
do
ffmpeg -i "$i" \
-c:v libvpx -b:v 5M -minrate 1M -maxrate 10M -g 30 -crf 4 -pix_fmt yuv420p "${i%.*}.webm" \
-c:v libx264 -b:v 5M -minrate 1M -maxrate 10M -g 30 -profile:v main -pix_fmt yuv420p -strict -2 "${i%.*}.mp4" \
-c:v libtheora -b:v 5M -minrate 1M -maxrate 10M -g 30 -pix_fmt yuv420p "${i%.*}.ogv";
done