commit cfbd28207cd3b4f86b234930b2a8103107ce1906
parent 09062cf0935a8a958a8623eafe88754082202803
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 17 Mar 2021 08:17:18 +0100
ffmpeg-encode: increase default buffer size
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.local/bin/ffmpeg-encode b/.local/bin/ffmpeg-encode
@@ -4,6 +4,7 @@ encode() {
ffmpeg -y -i "$1" \
-c:v libx264 -threads 0 -preset faster -pix_fmt yuv420p \
-c:a aac -crf 23 \
+ -max_muxing_queue_size 1024 \
"${1%.*}_encoded.mp4"
}