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

Embedded 자막 (Soft, Toggleable)

~8 min · subtitles, soft, embed, mkv

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

Soft sub — player 에서 toggleable

Container 에 자막 stream embed 하면 viewer 가 enable/disable 가능한 별도 track 으로 keep. 다른 container 가 다른 자막 codec 지원:

  • MKV — SRT (mov_text 안 fit), ASS, SSA, PGS bitmap, S_TEXT/UTF8 지원.
  • MP4mov_text codec 만 (SRT 의 tt-text variant).
  • WebM — WebVTT 지원.

Code

Container 별 자막 embed·bash
# MKV — 유연 (어느 자막 codec 도)
ffmpeg -i in.mp4 -i captions.srt \
  -map 0 -map 1 \
  -c copy -c:s srt \
  out.mkv

# MP4 — mov_text 필요
ffmpeg -i in.mp4 -i captions.srt \
  -map 0 -map 1 \
  -c:v copy -c:a copy -c:s mov_text \
  out.mp4

# WebM — WebVTT
ffmpeg -i in.webm -i captions.vtt \
  -map 0 -map 1 \
  -c copy -c:s webvtt \
  out.webm

# 다중 언어 track
ffmpeg -i in.mp4 -i en.srt -i ko.srt \
  -map 0 -map 1 -map 2 \
  -c copy -c:s mov_text \
  -metadata:s:s:0 language=eng \
  -metadata:s:s:1 language=kor \
  multi.mp4

External links

Exercise

Video 와 SRT 파일 둘 (영어 + 다른 언어) 잡아. 둘 다 MKV 에 embed. VLC 에서 열고 두 track 이 자막 메뉴에 정확 언어 라벨로 보이는지 검증. 그 다음 mov_text 로 MP4 redo — QuickTime 이 두 track 보여?

Progress

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

댓글 0

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

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