From 5d943cefcc9f14b54ef6369d7b454dc857d4aeab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20V=C3=A1ssquez=20P=C3=A9rez?= Date: Wed, 2 Nov 2016 20:25:26 -0700 Subject: [PATCH] Moved the video bitrate to a variable --- bash/make_h264.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash/make_h264.sh b/bash/make_h264.sh index a40c8e6..4727872 100755 --- a/bash/make_h264.sh +++ b/bash/make_h264.sh @@ -1,5 +1,6 @@ g=6; +vb=16M; for i; - do ffmpeg -i "$i" -c:v libx264 -x264opts keyint=$g:scenecut=-1 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 -vb 5000k "${i%.*}_h264.mov" ; + do ffmpeg -i "$i" -c:v libx264 -x264opts keyint=$g:scenecut=-1 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 -vb $vb "${i%.*}_h264.mov" ; done;