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

Crop video with respect to aspect ratio #110

Open
saadbzu opened this issue Feb 18, 2020 · 0 comments
Open

Crop video with respect to aspect ratio #110

saadbzu opened this issue Feb 18, 2020 · 0 comments

Comments

@saadbzu
Copy link

saadbzu commented Feb 18, 2020

I have i question about crop the video using ffmpeg. I used this command to crop video:

final String[] cmd = "-i /storage/emulated/0/nature.mp4 -vf crop=720:720:0:400 -threads 5 -preset ultrafast -strict -2 /storage/emulated/0/DCIM/Camera/YourCroppedMovie.mp4".split(" ");

This command work fine but i want to give aspect ratio not fixed height and width this command here:

crop=720:720:0:400

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

1 participant