Frame rate 변경 세 방법
FFmpeg에 frame rate 변경 세 가지로 요청 가능. 다르게 동작하고, 잘못된 거 쓰면 A/V sync 깨져.
- -r <fps> output flag — frame drop/duplicate해서 output이 그 fps. Container timestamp 보존. Audio sync 보존.
- -vf fps=<fps> — 같은 idea, filter 형태. 다른 filter와 chain할 때 써.
- -vf setpts + -af atempo — 실제로 video를 slow/fast (Track 5 lesson 8 참조).
흔한 변환
업로드 사이즈 위해 60 → 30 fps: 매 다른 frame drop. 24 → 60 fps: frame duplicate. 둘 다 motion 보간 안 함 (synthetic in-between frame 없음). Motion 보간엔 minterpolate filter 또는 AI 도구 (Topaz, RIFE).
가변 frame rate (VFR)
화면 녹화, 폰 capture, 일부 streaming source는 VFR — frame이 source가 emit 하고 싶을 때마다 와. CFR 가정하는 editor를 깨. -vsync cfr -r 30 또는 fps=30 filter로 CFR로 변환.