aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2015-06-01 22:52:14 -0700
committershmibs <shmibs@gmail.com>2015-06-01 22:52:14 -0700
commitcff2bcd79c676b35a8850d792304a26ef68b78f9 (patch)
tree2d605891de9c9ab85e79364d1547dcf48635143d
parent02d3a86a1107814616ac0da7b54d7a38cfc47ea7 (diff)
downloaddotfiles-cff2bcd79c676b35a8850d792304a26ef68b78f9.tar.gz
remove unnecessary vars
i accidentally left those in
-rw-r--r--.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.zshrc b/.zshrc
index d43551a..723a154 100644
--- a/.zshrc
+++ b/.zshrc
@@ -291,14 +291,14 @@ make-gif() {
if [[ $subs ]]; then
ffmpeg -y -ss "$start" $t "$length" -i "$1" \
-copyts -vf "subtitles=make-gif-in,fps=$fps,scale=$width:-1:flags=lanczos,palettegen" make-gif-palette.png
- ffmpeg -ss "$start" $t "$length" -i "$1" $sub1 $sub2 -i make-gif-palette.png \
+ ffmpeg -ss "$start" $t "$length" -i "$1" -i make-gif-palette.png \
-copyts -filter_complex \
"subtitles=make-gif-in,fps=$fps,scale=$width:-1:flags=lanczos[x];[x][1:v]paletteuse" \
out.gif
else
ffmpeg -y -ss "$start" $t "$length" -i "$1" \
- $sub1 $sub2 -vf "fps=$fps,scale=$width:-1:flags=lanczos,palettegen" make-gif-palette.png
- ffmpeg -ss "$start" $t "$length" -i "$1" $sub1 $sub2 -i make-gif-palette.png -filter_complex \
+ -vf "fps=$fps,scale=$width:-1:flags=lanczos,palettegen" make-gif-palette.png
+ ffmpeg -ss "$start" $t "$length" -i "$1" -i make-gif-palette.png -filter_complex \
"fps=$fps,scale=$width:-1:flags=lanczos[x];[x][1:v]paletteuse" \
out.gif
fi