607011/flippy

[Suggestion] option to crop and/or to zoom the video before the flip-book is created

Wikinaut opened this issue · 3 comments

  • option to crop and/or to zoom the video before the flip-book is created

The following stand-alone command uses ffmpeg and the crop filter.

Source: https://video.stackexchange.com/questions/4563/how-can-i-crop-a-video-with-ffmpeg

ffmpeg -i input.mp4 -r 25 -vf "crop=600:400:300:150" -r 1  cropped.mp4

I think a feature like the one you supposed will violate the KISS principle. Wouldn't it be better to stick to common video editors to accomplish cropping or zooming?

If you need to rotate a smartphone video in "portrait" orientation and when you want to crop something from mid area, then use this example as preprocessor

crop and rotate a smartphone video from 1280x720 portrait to landscape

ffmpeg -i in.mp4 -filter:v "crop=550:720:500:0,transpose=1" -c:a copy out.mp4