Vscode update + gitback

This commit is contained in:
J. Fernando Sánchez
2018-12-07 18:45:04 +01:00
parent f2ef049f7f
commit 9d25e4c13b
3 changed files with 35 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# Encode a video in DVD quality (-crf 23) and use the video stabilization/deshaking plugin
# https://ffmpeg.org/ffmpeg-filters.html#toc-vidstabdetect-1
for VIDEO in "$@"
for VIDEO in "$@";
do
DEST=converted/$VIDEO
if [ -f $DEST ]; then
@@ -9,6 +9,6 @@ do
continue
fi
mkdir -p converted
ffmpeg -i $VIDEO -vf vidstabdetect -f null -
ffmpeg -i $VIDEO -vf vidstabtransform=smoothing=30:input="transforms.trf" -crf 23 $DEST
ffmpeg -i "$VIDEO" -vf vidstabdetect -f null -
ffmpeg -i "$VIDEO" -vf vidstabtransform=smoothing=30:input="transforms.trf" -crf 23 "$DEST"
done