본문으로 건너뛰기
Skillpedia
영상 편집75k · #3074

video-optimization

하는 일

이 스킬은 웹사이트의 영상 파일을 검토하고, 더 작게 만드는 방법을 제안합니다. 영상 때문에 페이지가 느려지는 사이트 운영자와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓큰 영상이 있어서 처음 보는 화면이 느려지는 페이지가 있을 때.
  • ✓작은 휴대폰 화면에 4K 영상을 제공하는 웹사이트가 있을 때.
  • ✓무음 배경 영상에 필요 없는 오디오 트랙이 들어 있을 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/video-optimization/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/video-optimization/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“홈페이지의 배경 영상이 너무 무겁습니다. 더 빨리 로드되게 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 영상의 해상도, 코덱, 오디오, 파일 크기를 그것이 표시되는 위치에 비추어 확인합니다. 그다음 다시 인코딩하고, 작은 화면에는 더 작은 버전을 제공하도록 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Optimize and compress web videos

Unoptimized video is frequently the single heaviest asset on a page—an uncompressed or oversized video can dwarf every image and script combined, delaying Largest Contentful Paint and burning mobile data budgets.

Quick Reference

  • Re-encode source video instead of shipping raw camera/screen-recorder output
  • Serve multiple resolutions so mobile doesn't download a 4K file
  • Prefer modern codecs: AV1/VP9/HEVC over baseline H.264 where supported
  • Strip audio tracks from silent background/looping videos

Check

Scan this codebase for <video> elements and video asset references. For each one, verify: 1) The served resolution is appropriate for the rendered player size and device (no 4K video in a 400px player). 2) The codec/container is efficient (H.264 baseline is acceptable but VP9/AV1/HEVC is preferred when available). 3) Audio is stripped from silent background/looping videos. 4) A poster attribute or lightweight thumbnail is present. 5) File size is reasonable for its duration and placement (hero/background videos under a few MB). Report issues grouped by severity with file paths.

Fix

For each video optimization issue found: 1) Re-encode to multiple resolutions (e.g. 480p/720p/1080p) and serve the smallest one that fits the player via <source> or JS-based selection. 2) Convert to an efficient codec (VP9 or AV1 in WebM, or HEVC/H.264 in MP4) with a reasonable CRF/ quality setting rather than default encoder settings. 3) Remove the audio track from muted background/looping videos. 4) Add a poster attribute pointing to a compressed thumbnail. 5) Add preload="metadata" (or "none") instead of "auto" for below-the-fold videos. Show the corrected <video> markup and encoding command.

Explain

Explain why video is often the largest asset on a page and how it affects Largest Contentful Paint and mobile data usage. Cover the tradeoffs between H.264, HEVC, VP9, and AV1 (compression efficiency vs browser/ device support and encode time), how resolution and bitrate should scale to the rendered player size and viewport, and why muted background video should have its audio track stripped entirely rather than just muted in markup.

Code Review

Review video assets, <video>/<source> markup, and any encoding or CDN transform pipeline related to Optimize and compress web videos. Flag exact files or components where resolution, codec, bitrate, or loading behavior violates the rule, and describe how to confirm the fix in DevTools' Network and Media panels.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/video-optimization

자주 묻는 질문

어떤 영상 형식이 더 좋나요?

스킬은 가능한 경우 기본 H.264보다 지원되는 최신 코덱인 VP9, AV1, HEVC를 선호합니다.

해상도를 여러 개 제공하는 이유는 무엇인가요?

휴대폰이 큰 화면용 대용량 파일을 내려받지 않도록 하기 위해서입니다. 페이지는 플레이어에 맞는 가장 작은 버전을 제공합니다.

무음 영상도 오디오를 유지해야 하나요?

아닙니다. 스킬은 무음 배경이나 반복 재생 영상에서는 오디오를 제거하라고 말합니다.

상세 정보

작성자의 원본 설명

Use when reviewing <video> elements, background/hero video, or embedded media assets. Check encoded bitrate, resolution relative to the rendered player size, codec/container choice, and whether a poster/thumbnail avoids blocking on the first frame.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#3074
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬