diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 12:24:20 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-11 12:24:20 +0200 |
commit | b79c7cc0ac0e1f135c33c425f381969ec4443011 (patch) | |
tree | f8b8bd7d069f0863b565d9aa3a3fc24703cb7593 /odin/strm/send_kitty | |
parent | 9abeefdf036271f32d9745068cfccf74c7c66e80 (diff) | |
download | nixos-b79c7cc0ac0e1f135c33c425f381969ec4443011.tar nixos-b79c7cc0ac0e1f135c33c425f381969ec4443011.tar.gz nixos-b79c7cc0ac0e1f135c33c425f381969ec4443011.tar.bz2 nixos-b79c7cc0ac0e1f135c33c425f381969ec4443011.tar.xz nixos-b79c7cc0ac0e1f135c33c425f381969ec4443011.zip |
...
Diffstat (limited to 'odin/strm/send_kitty')
-rw-r--r-- | odin/strm/send_kitty | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
39 | fi | 39 | fi |
40 | 40 | ||
41 | newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" | 41 | newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" |
42 | tmpFile=$(mktemp --tmpdir ${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv") | 42 | tmpFile=$(mktemp --tmpdir=${concatDir} "${newfile:h}/.${newFile:t:r}.XXXXXX.mkv") |
43 | 43 | ||
44 | 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} | 44 | 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} |
45 | mv -v ${tmpFile} ${newFile} | 45 | mv -v ${tmpFile} ${newFile} |