I have .h264 video file and want to crop it to size 200×200 and save as .mp4. I have a lot of videos to crop so I would like to use my integrated graphic card for this task.
I tried with this ffpmag command:
ffmpeg -hwaccel qsv -c:v h264_qsv -i input.h264 -vf "crop=200:200" -c:v h264_qsv -b:v 5M output.mp4
and the file is converted, but not cropped. I tried also without qsv:
ffmpeg -i input.h264 -vf "crop=200:200" -b:v 5M output.mp4
and it works, but obviously slower. How can I make it work with graphic card? I work on Windows.