Add banner
This commit is contained in:
parent
81bde12357
commit
8aaf8c85b9
2 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -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
BIN
media/florphd0001-0024.mp4
Normal file
Binary file not shown.
Loading…
Reference in a new issue