From 56466b0877aa11e52ca318fafe6cd04de3ec81bc Mon Sep 17 00:00:00 2001 From: Abra Date: Thu, 28 Jun 2018 22:28:53 +0400 Subject: [PATCH] tweak ffmpeg --- .zprezto/runcoms/zalias | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zprezto/runcoms/zalias b/.zprezto/runcoms/zalias index 60f774d..27d8b9e 100644 --- a/.zprezto/runcoms/zalias +++ b/.zprezto/runcoms/zalias @@ -178,6 +178,11 @@ function testo2() { function ffmpeg_timelapse() { local DATE=$1 + local PRESET=$2 + + if [[ -z $PRESET ]]; then + local PRESET="ultrafast" + fi ls /mnt/a/snaps/$DATE | wc -l || return