From b3b04933a9acbb2d399c60de4a972c678cef0f97 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 15 Jan 2024 21:14:47 +0000 Subject: [PATCH] index: Align H.265 filename with the other formats Signed-off-by: Michael Tremer --- Makefile.am | 8 ++++---- src/templates/index.html | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index a8eb7e53..30dc63a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1037,7 +1037,7 @@ CLEANFILES += \ static_videos_DATA = \ src/static/videos/firewall.jpg \ src/static/videos/firewall@1920.av1.mp4 \ - src/static/videos/firewall@1920.hevc.mp4 \ + src/static/videos/firewall@1920.h265.mp4 \ src/static/videos/firewall@1920.h264.mp4 static_videosdir = $(staticdir)/videos @@ -1179,8 +1179,8 @@ src/static/videos/firewall@%.av1.mp4: src/static/videos/firewall.mp4 -vf scale=$(patsubst src/static/videos/firewall@%.av1.mp4,%,$@):-2,fps=25 \ $@ -# HEVC -src/static/videos/firewall@%.hevc.mp4: src/static/videos/firewall.mp4 +# H.256 +src/static/videos/firewall@%.h256.mp4: src/static/videos/firewall.mp4 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(FFMPEG) -y \ -i $^ \ @@ -1192,7 +1192,7 @@ src/static/videos/firewall@%.hevc.mp4: src/static/videos/firewall.mp4 -pix_fmt yuv420p \ -movflags +faststart \ -tag:v hvc1 \ - -vf scale=$(patsubst src/static/videos/firewall@%.hevc.mp4,%,$@):-2,fps=25 \ + -vf scale=$(patsubst src/static/videos/firewall@%.h256.mp4,%,$@):-2,fps=25 \ $@ # H.264 diff --git a/src/templates/index.html b/src/templates/index.html index f5bb49e3..faec6052 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -57,10 +57,10 @@ {# AV1 for modern browsers that support it #} - {# HEVC/H.256 for modern browsers #} - + {# H.265/HEVC for modern browsers #} + - {# H.254 as compatibility option for anything else #} + {# H.264/AVC as compatibility option for anything else #}

-- 2.47.3