C.W.K.
Stream
Lesson 06 of 07 · published

Metadata & Chapter

~10 min · metadata, chapters, title

Level 0Viewer
0 XP0/73 lessons0/15 achievements
0/100 XP to next level100 XP to go0% complete

Container-level metadata

MP4/MKV/MOV 가 metadata tag 모두 지원 — title, artist, comment, year. -metadata key=value 로 설정. 기존 metadata 는 ffprobe -show_format 으로 검사.

Chapter

Chapter marker 가 긴 video 를 named section 으로 split. YouTube 가 video metadata 에서 chapter 읽어 timeline scrubber 에. FFmpeg 으로 chapter 추가는 metadata-file 패턴: 기존 metadata 읽고, chapter section edit, write back.

Code

Metadata tag 설정·bash
# Title + comment + year
ffmpeg -i in.mp4 \
  -c copy \
  -metadata title="Pippa Quest Boot Camp" \
  -metadata comment="Recorded 2026-05-04" \
  -metadata year="2026" \
  out.mp4

# 뭐 있는지 검사
ffprobe -v error -show_entries format_tags out.mp4
Chapter marker 추가·bash
# 1) 기존 metadata 파일에 dump
ffmpeg -i in.mp4 -f ffmetadata metadata.txt

# 2) metadata.txt 편집 — [CHAPTER] section append
cat >> metadata.txt <<'EOF'
[CHAPTER]
TIMEBASE=1/1000
START=0
END=120000
title=Intro
[CHAPTER]
TIMEBASE=1/1000
START=120000
END=420000
title=Main Content
[CHAPTER]
TIMEBASE=1/1000
START=420000
END=600000
title=Outro
EOF

# 3) Metadata 파일 다시 적용
ffmpeg -i in.mp4 -i metadata.txt -map_metadata 1 \
  -c copy out_chaptered.mp4

# 검증
ffprobe -v error -show_chapters out_chaptered.mp4

External links

Exercise

10분 video 잡아. Metadata-파일 패턴 사용해서 chapter 3개 추가: 'Intro' (0–60s), 'Main' (60–540s), 'Outro' (540–600s). ffprobe -show_chapters 로 검증. YouTube Unlisted 로 업로드 + timeline scrubber 가 chapter 라벨 보이는지 확인.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.