From 610e63c004c05a6ffe9aaa45477ee269c0b37a21 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Sep 2018 11:56:05 +0200 Subject: Recode, resample, and letterbox --- odin/strm/send_kitty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odin/strm') 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 newFile="${concatDir}/hlidskjalf.$(date +'%Y-%m-%d-%H-%M-%S').mkv" -@ffmpeg@/bin/ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c copy -metadata "description=$(xargs -a ${fList} -- basename -s ".mkv")" ${newFile} +@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} queue.hel -p -r ${newFile} ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile} -- cgit v1.2.3