From b79c7cc0ac0e1f135c33c425f381969ec4443011 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Sep 2018 12:24:20 +0200 Subject: ... --- odin/strm/send_kitty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odin/strm/send_kitty') diff --git a/odin/strm/send_kitty b/odin/strm/send_kitty index e4139885..ba1bdc1f 100644 --- a/odin/strm/send_kitty +++ b/odin/strm/send_kitty @@ -39,7 +39,7 @@ if [[ $(wc -l ${fList} | cut -d ' ' -f 1) -eq 0 ]]; then fi newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" -tmpFile=$(mktemp --tmpdir ${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv") +tmpFile=$(mktemp --tmpdir=${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv") ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c:v libx264 -r 30 -crf 27 -preset veryfast -vf 'scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2' -metadata "description=$(xargs -a ${fList} -- basename -s ".mkv")" ${tmpFile} mv -v ${tmpFile} ${newFile} -- cgit v1.2.3