summaryrefslogtreecommitdiff
path: root/odin
diff options
context:
space:
mode:
Diffstat (limited to 'odin')
-rw-r--r--odin/strm/send_kitty3
1 files changed, 2 insertions, 1 deletions
diff --git a/odin/strm/send_kitty b/odin/strm/send_kitty
index ba1bdc1f..9676c520 100644
--- a/odin/strm/send_kitty
+++ b/odin/strm/send_kitty
@@ -41,7 +41,8 @@ fi
41newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" 41newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv"
42tmpFile=$(mktemp --tmpdir=${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv") 42tmpFile=$(mktemp --tmpdir=${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv")
43 43
44ffmpeg -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} 44ffmpeg -y -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}
45chmod 440 ${tmpFile}
45mv -v ${tmpFile} ${newFile} 46mv -v ${tmpFile} ${newFile}
46queue.hel -p -r ${newFile} 47queue.hel -p -r ${newFile}
47ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile} 48ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile}