summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-11 11:56:05 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-11 11:56:05 +0200
commit610e63c004c05a6ffe9aaa45477ee269c0b37a21 (patch)
treee03079438fbc5d0cfae37cd84b3adee3b7661651
parent38333e60d02a87f1490d93ad9ca069a213e58dd6 (diff)
downloadnixos-610e63c004c05a6ffe9aaa45477ee269c0b37a21.tar
nixos-610e63c004c05a6ffe9aaa45477ee269c0b37a21.tar.gz
nixos-610e63c004c05a6ffe9aaa45477ee269c0b37a21.tar.bz2
nixos-610e63c004c05a6ffe9aaa45477ee269c0b37a21.tar.xz
nixos-610e63c004c05a6ffe9aaa45477ee269c0b37a21.zip
Recode, resample, and letterbox
-rw-r--r--odin/strm/send_kitty2
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/send_kitty b/odin/strm/send_kitty
index 472d5765..66012255 100644
--- a/odin/strm/send_kitty
+++ b/odin/strm/send_kitty
@@ -36,6 +36,6 @@ fi
36 36
37newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" 37newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv"
38 38
39@ffmpeg@/bin/ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c copy -metadata "description=$(xargs -a ${fList} -- basename -s ".mkv")" ${newFile} 39@ffmpeg@/bin/ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c:v libx264 -r 30 -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")" ${newFile}
40queue.hel -p -r ${newFile} 40queue.hel -p -r ${newFile}
41ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile} 41ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile}