Shellcheck: Fix convert.sh
This commit is contained in:
parent
f8a09ce261
commit
0d6f69bbbd
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source_dir=$(readlink -f $(dirname "$0"))
|
source_dir=$(readlink -f "$(dirname "$0")")
|
||||||
demo_dir=$(dirname "$source_dir")
|
demo_dir=$(dirname "$source_dir")
|
||||||
|
|
||||||
(for f in "$source_dir"/*.webm; do echo "file '$f'"; done) | ffmpeg -f concat -safe 0 -i /dev/stdin -vf "fps=2,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" "$demo_dir/demo.gif" -y
|
(for f in "$source_dir"/*.webm; do echo "file '$f'"; done) | ffmpeg -f concat -safe 0 -i /dev/stdin -vf "fps=2,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" "$demo_dir/demo.gif" -y
|
||||||
|
|
Loading…
Reference in New Issue