sunlubo / SwiftFFmpeg

A Swift wrapper for the FFmpeg API
Apache License 2.0
521 stars 83 forks source link

to crop from the center do i have to use a filter instead of swsScale? #69

Open wibed opened 1 year ago

wibed commented 1 year ago

i read the documentation and found this filter

https://ffmpeg.org/ffmpeg-filters.html#overlay-1

yet not sure if this is the way to go or could use some xy coords on the scaler somehow