dotfiles.git

commit ae4f4d9b0ed83f17d92bfbccd2d5cccf7eff5a88

Author: Adam Evyčędo <git@apiote.xyz>

faster toAV1

 .config/sh/functions | 3 ++-


diff --git a/.config/sh/functions b/.config/sh/functions
index 7eece8914d3092d3b4fdee0e4ed4cee0244badd6..707676ca62fb85b3127fce97947471deba863e56 100644
--- a/.config/sh/functions
+++ b/.config/sh/functions
@@ -265,8 +265,9 @@
 toAV1() {
 	Q=$(ffmpegQ "$1")
 	set -x
+	ffmpeg -i "$1" -c:v libsvtav1 -crf "$Q" "${1%%.*}.av1.webm"
 	# testme ffmpeg -i input.mp4 -c:a copy -c:v libsvtav1 -preset 10 -r 25 -threads 16 -crf 17 svtav1_test.mp4
-	ffmpeg -i "$1" -crf "$Q" -threads 16 -b:v 0 -c:v libaom-av1 -r 25 -strict experimental -tile-columns 2 -pix_fmt yuv420p "${1%%.*}.av1.webm"
+	#ffmpeg -i "$1" -crf "$Q" -threads 16 -b:v 0 -c:v libaom-av1 -r 25 -strict experimental -tile-columns 2 -pix_fmt yuv420p "${1%%.*}.av1.webm"
 }
 
 volume() {