C.W.K.
Stream
Lesson 10 of 10 · published

FFmpeg docs 익사 안 하고 읽기

~8 min · docs, help, filters

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

Docs는 도서관, 튜토리얼이 아냐

FFmpeg 공식 문서는 방대하고 압도적이야. 처음 ffmpeg.html 열면 1000페이지 매뉴얼처럼 보여. 끝까지 읽으라는 게 아냐 — reference야. trick은 네 entry point를 알고 각각이 어떤 질문에 답하는지 아는 것.

네 entry point

  • built-in -h — 가장 빠름. ffmpeg -h encoder=libx264 가 그 encoder의 모든 option 뱉어. ffmpeg -h filter=scale 이 그 filter의 모든 option 뱉어. 웹 검색보다 항상 빨라.
  • ffmpeg-filters.html — filter 성경. filtergraph 짤 때 열어. Cmd-F 사용.
  • ffmpeg-codecs.html — 모든 encoder option, exotic 한 것까지. -h encoder=... 가 너무 짧을 때 여기 봐.
  • trac.ffmpeg.org wiki — 커뮤니티 recipe, war story. Encode/H.264 + Encode/HEVC 페이지가 첫 encoder 선택 때 금이야.

Code

<code>-h</code> 가 친구야·bash
# 특정 encoder의 모든 option
ffmpeg -h encoder=libx264

# 특정 filter의 모든 option
ffmpeg -h filter=loudnorm

# Demuxer option
ffmpeg -h demuxer=mov

# 일반 help, 그 다음 drill
ffmpeg -h
ffmpeg -h long       # advanced option 추가
ffmpeg -h full       # 모든 component의 모든 option (어마어마함)
키워드로 filter 찾기·bash
# 이름에 'scale' 들어간 모든 filter
ffmpeg -filters 2>/dev/null | grep -i scale

# 그 다음 drill
ffmpeg -h filter=scale_npp     # NVIDIA hardware scale
ffmpeg -h filter=scale_vt      # Apple Silicon hardware scale

External links

Exercise

ffmpeg -h encoder=libx264 | wc -l 돌려서 option 개수 메모. 본 적 없는 option 세 개 골라 뭐 하는지 읽어. 그 다음 ffmpeg -h filter=drawtext 돌려 — Track 5 lesson 6에서 이 filter 쓰는데, 지금 option 미리 읽어두면 그 lesson이 훨씬 빨리 끝나.

Progress

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

댓글 0

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

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