]> git.ipfire.org Git - ipfire.org.git/commitdiff
index: Align H.265 filename with the other formats
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jan 2024 21:14:47 +0000 (21:14 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Jan 2024 21:14:47 +0000 (21:14 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/templates/index.html

index a8eb7e53d9eded11527b939cb5150f1b3aa6091c..30dc63a1d19e328977abfdab500171e7833b6724 100644 (file)
@@ -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
index f5bb49e35e0cfb6e25534f32b52b113a9d41fbd5..faec6052c32d41ad79539ce20d7e8798acf7ca9e 100644 (file)
                        {# AV1 for modern browsers that support it #}
                        <source src="{{ static_url("videos/firewall@1920.av1.mp4") }}" type="video/mp4; codecs=av01.0.05M.08" />
 
-                       {# HEVC/H.256 for modern browsers #}
-                       <source src="{{ static_url("videos/firewall@1920.hevc.mp4") }}" type="video/mp4; codecs=hvc1" />
+                       {# H.265/HEVC for modern browsers #}
+                       <source src="{{ static_url("videos/firewall@1920.h265.mp4") }}" type="video/mp4; codecs=hvc1" />
 
-                       {# H.254 as compatibility option for anything else #}
+                       {# H.264/AVC as compatibility option for anything else #}
                        <source src="{{ static_url("videos/firewall@1920.h264.mp4") }}" type="video/mp4; codecs=avc1.4D401E" />
 
                        <p>