Fix formatting

This commit is contained in:
Mattéo Delabre 2020-04-07 11:21:10 +02:00
parent 3609b990ff
commit ab6fa11982
No known key found for this signature in database
GPG Key ID: AE3FBD02DC583ABB

View File

@ -13,17 +13,17 @@ while [ $# -gt 0 ]; do
landscape=false landscape=false
shift shift
;; ;;
-s|--source) -s | --source)
ssh_host="$2" ssh_host="$2"
shift shift
shift shift
;; ;;
-o|--output) -o | --output)
output_path="$2" output_path="$2"
shift shift
shift shift
;; ;;
-f|--format) -f | --format)
format="$2" format="$2"
shift shift
shift shift
@ -78,8 +78,6 @@ else
decompress="lz4 -d" decompress="lz4 -d"
fi fi
# list of ffmpeg filters to apply # list of ffmpeg filters to apply
video_filters="" video_filters=""
@ -121,10 +119,10 @@ set -e # stop if an error occurs
ssh_cmd "$read_loop" \ ssh_cmd "$read_loop" \
| $decompress \ | $decompress \
| "$output_cmd" \ | "$output_cmd" \
-vcodec rawvideo \ -vcodec rawvideo \
-loglevel "$loglevel" \ -loglevel "$loglevel" \
-f rawvideo \ -f rawvideo \
-pixel_format gray16le \ -pixel_format gray16le \
-video_size "$width,$height" \ -video_size "$width,$height" \
-i - \ -i - \
"$@" "$@"