Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wikinaut opened this issue Jun 6, 2016 · 3 comments

Comments

@Wikinaut
Copy link

Wikinaut commented Jun 6, 2016

  • option to crop and/or to zoom the video before the flip-book is created
@Wikinaut Wikinaut mentioned this issue Jun 6, 2016
5 tasks
@Wikinaut
Copy link
Author

Wikinaut commented Jun 6, 2016

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

@607011
Copy link
Owner

607011 commented Jun 13, 2016

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?

@Wikinaut
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants