diff --git a/flake.nix b/flake.nix index 30233d0..963bc31 100644 --- a/flake.nix +++ b/flake.nix @@ -46,6 +46,16 @@ -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 ''; + 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" { src = ./media/florp_logo.png; nativeBuildInputs = with pkgs; [ diff --git a/media/florphd0001-0024.mp4 b/media/florphd0001-0024.mp4 new file mode 100644 index 0000000..fbab14a Binary files /dev/null and b/media/florphd0001-0024.mp4 differ