Homepage Trailer Proxy Card

Status: DONE

Goal: add a muted compressed MP4 cinematic motion band on the homepage after the page title and before Recent posts. The whole band opens the full YouTube trailer: https://www.youtube.com/watch?v=eIJHYsPgNnM

Selected repo assets:

Implementation checklist:

Required .gitattributes exemption after the generic video LFS rules:

# Small served homepage preview: must be a plain Git blob for GitHub Pages.
assets/media/alis-trailer-loop.mp4 -filter -diff -merge -text

Git LFS verification:

git check-attr -a -- assets/media/alis-trailer-loop.mp4
git lfs ls-files | grep -F alis-trailer-loop.mp4 || true
git cat-file -p :assets/media/alis-trailer-loop.mp4 | head

Expected result: no filter=lfs, no git lfs ls-files match, and binary MP4 bytes instead of a version https://git-lfs.github.com/spec/v1 pointer.

Reference links:

Current working source:

C:\Users\vslvg\OneDrive\Desktop\Temp\teaser-clips-merged-no-inventory-temp.mp4

Cut history:

Known compression tests:

Recommendation: ship the no-inventory baseline unless the original merged comparison, a conservative desaturation variant, or the contrast monochrome variant is explicitly preferred after review.

Suggested 41 second no-inventory baseline encode:

mkdir -p assets/media

ffmpeg -i /mnt/c/Users/vslvg/OneDrive/Desktop/Temp/teaser-clips-merged-no-inventory-temp.mp4 \
  -vf "scale=720:-2:flags=lanczos,fps=24,eq=brightness=-0.04:contrast=1.08:saturation=0.92,vignette=PI/5,fade=t=in:st=0:d=0.5,fade=t=out:st=40.3:d=0.8,format=yuv420p" \
  -an \
  -c:v libx264 -profile:v high -level 3.1 \
  -crf 34 -preset slow -movflags +faststart \
  assets/media/alis-trailer-loop.mp4

For conservative desaturation comparison, use the same command with saturation=0.78 or saturation=0.68.

For monochrome comparison, use saturation=0. For contrast monochrome, use:

ffmpeg -i /mnt/c/Users/vslvg/OneDrive/Desktop/Temp/teaser-clips-merged-no-inventory-temp.mp4 \
  -vf "scale=720:-2:flags=lanczos,fps=24,eq=brightness=-0.055:contrast=1.18:saturation=0:gamma=0.96,vignette=PI/4.8,fade=t=in:st=0:d=0.5,fade=t=out:st=40.3:d=0.8,format=yuv420p" \
  -an \
  -c:v libx264 -profile:v high -level 3.1 \
  -crf 34 -preset slow -movflags +faststart \
  assets/media/alis-trailer-loop.mp4

Check size:

du -h assets/media/alis-trailer-loop.mp4
ffprobe -hide_banner assets/media/alis-trailer-loop.mp4

Hard size limits: