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

자막 Hardcode (Burn-In)

~10 min · subtitles, burn, hardcode

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

자막을 picture 에 burn 할 때

Hardcoded sub 가 pixel — 끌 수 없어. 사용:

  • 대상 platform 이 sidecar 자막 미지원 (일부 social platform).
  • Softsub 이 carry 못 하는 정확 font / color / positioning 필요.
  • 'always-on' caption 버전 (TikTok-스타일) ship.

Filter 둘

  • subtitles=file.srt — SRT/ASS/SSA 를 video 에 burn. ASS styling honor.
  • ass=file.ass — 명시적 ASS rendering. 같은 backend.

Code

Burn-in recipe·bash
# Plain SRT burn (default white text + black outline)
ffmpeg -i in.mp4 \
  -vf "subtitles=captions.srt" \
  -c:v libx264 -crf 20 -preset slow \
  -c:a copy \
  burned.mp4

# SRT 의 custom font + size (force_style override)
ffmpeg -i in.mp4 \
  -vf "subtitles=captions.srt:force_style='FontName=Arial,FontSize=28,PrimaryColour=&H00FFFFFF,OutlineColour=&H00000000,BorderStyle=1,Outline=2,Shadow=0,MarginV=50'" \
  -c:v libx264 -crf 20 -preset slow \
  -c:a copy \
  styled.mp4

# ASS 파일을 모든 styling 보존하며
ffmpeg -i in.mp4 \
  -vf "ass=fancy.ass" \
  -c:v libx264 -crf 20 -preset slow \
  -c:a copy \
  ass_burn.mp4

External links

Exercise

Video 와 SRT 파일 잡아. SRT 를 default styling 으로 video 에 burn. 그 다음 custom force_style 로 re-burn — 더 큰 font, yellow text, larger outline, lower vertical margin. 두 output 비교. 보너스: SRT 를 Aegisub 에서 ASS 로 변환, color/position effect 추가, burn.

Progress

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

댓글 0

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

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