This is a pretty simple question yet i couldn't find the answer to it anywhere. How does ffmpeg's coordinate system work? Meaning - for all operations such as crop and overlay, is the (0,0) point at the bottom left or top left?


1 Answer 1


Top left.

Pixels in a raw video stream are stored left to right, top to bottom. And all filters work on uncompressed frames, so that's the easiest way to setup the co-ordinate system as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.