[FFmpeg-user] Converting a video to a set of images from specific frames while cropping each frame differently
MediaMouth
communque at gmail.com
Mon Jun 5 10:06:47 EEST 2023
> On Jun 4, 2023, at 23:58, Michael Koch <astroelectronic at t-online.de> wrote:
>
> Am 05.06.2023 um 00:35 schrieb Matt Groth:
>> 2) Am I facing an XY issue? Is there a more elegant/performant way to apply a separate crop per frame (while excluding some frames altogether) when there are thousands of such frames per video?
>
> The crop filter supports commands. That means you can write all the x and y values in a file and the use sendcmd to send these values to the crop filter.
> The problem is how to select the frames, because the select filter doesn't support commands. I have no idea for this part.
>
> Michael
Maybe consider FFmpeg to create the image files, Sips or Imagemagick to do the cropping?
More information about the ffmpeg-user
mailing list