This repository was archived by the owner on Oct 25, 2026. It is now read-only.
Repository navigation
Film Media
Syed Ahmer Shah edited this page Oct 25, 2026
·
2 revisions
Drop files into public/ using the film's slug, then run php artisan migrate (or re-seed). App\Support\MovieMedia links whatever it finds.
public/images/movies/{slug}/card.webp 4:3 card (1200×900) + card-sm.webp (640 px)
public/images/movies/{slug}/hero.webp 16:9 backdrop (1600×900) + hero-sm.webp (960 px)
public/videos/trailers/{slug}-1.mp4 first trailer, H.264 + AAC, fast-start
public/videos/trailers/{slug}-1.webm same cut in VP9 + Opus
public/videos/trailers/{slug}-1.webp still shown before playback
public/videos/trailers/{slug}-2.* optional second cut
ffmpeg -i in.mp4 -c:v libx264 -preset slow -crf 27 -pix_fmt yuv420p -movflags +faststart -c:a aac -b:a 96k {slug}-1.mp4
ffmpeg -i in.mp4 -c:v libvpx-vp9 -b:v 0 -crf 36 -row-mt 1 -c:a libopus -b:a 80k {slug}-1.webm
ffmpeg -ss 3 -i in.mp4 -frames:v 1 -c:v libwebp -quality 72 {slug}-1.webpA film without a card falls back to its hero, then to a generated typographic poster. Admin uploads are never overwritten. After adding media, run php artisan seo:generate to refresh share images and the sitemap.
BookMyMovie · MIT licence · by Syed Ahmer Shah · Project page
Run it
How it works
Operate it
Read more