Add banner

This commit is contained in:
emily 2024-11-09 20:58:43 +01:00
parent 81bde12357
commit 8aaf8c85b9
Signed by: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 10 additions and 0 deletions

View file

@ -46,6 +46,16 @@
-a enable-variance-boost=1 -a variance-boost-strength=3 -a enable-overlays=1 \ -a enable-variance-boost=1 -a variance-boost-strength=3 -a enable-overlays=1 \
-a enable-qm=1 -a qm-min=0 -a enable-tf=1 $src $out -a enable-qm=1 -a qm-min=0 -a enable-tf=1 $src $out
''; '';
banner = pkgs.runCommand "florp_banner.avif" {
src = ./media/florphd0001-0024.mp4;
nativeBuildInputs = with pkgs; [
libavif-svt
ffmpeg-headless
];
} ''
ffmpeg -i $src -f yuv4mpegpipe -pix_fmt yuv420p - | \
avifenc -q 80 --speed 0 --depth 8 --yuv 420 -a tune=ssim --stdin $out
'';
favicon = pkgs.runCommand "favicon.png" { favicon = pkgs.runCommand "favicon.png" {
src = ./media/florp_logo.png; src = ./media/florp_logo.png;
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [

BIN
media/florphd0001-0024.mp4 Normal file

Binary file not shown.