I have a set of images that I concatenate into a video using the following command (not sure of all the options just copied it from another answer):
ffmpeg -framerate 24 -pattern_type glob -i "/path/to/input/????.png" \
-c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p "/path/to/output/output.mp4"
Now I want to crop this video to 500x500 size starting from 0,0, which I can do with the following:
ffmpeg -i "/path/to/input/input.mp4" -vf "crop=500:500:0:0" "/path/to/output/output.mp4"
How can I combine the above two operations in a single ffmpeg command.