가장 자주 볼 에러 10개
각 fix 외워:
- 'No such file or directory' — relative path 잘못, 또는 shell glob expansion 잘못. Debug 위해 absolute path 사용.
- 'Could not find tag for codec X in stream #N, codec not currently supported in container' — codec/container mismatch. Container 변경 또는 stream re-encode.
- 'Conversion failed!' 디테일 없이 — verbosity bump:
-loglevel verbose또는-loglevel debug. - 'Cannot store overhead frame' — input 부서짐.
-fflags +genpts -fflags +igndts시도. - 'Width / height not divisible by 2' — encoder 가 짝수 dimension 요구.
scale=W:-2또는 pad 사용. - 'No accelerated colorspace conversion found' — HW pipeline 의 pixel-format mismatch. 명시적으로
-pix_fmt yuv420p추가. - 'Pad / scale: cannot be applied to this stream' — Wrong stream type 에 filter 적용.
-vfvs-af확인. - 'Invalid data found when processing input' — 파일 truncated 또는 corrupt. Lesson 5 참조.
- 'Stream specifier matches no streams' —
-map이 매칭 없음.ffprobe -show_streams먼저 돌려. - 'Output file does not contain any stream' — Filtergraph 가 다 drop.
-maptypo 또는 unmatched label 가능성 높음.