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

auto rotate after compress #354

Open
bhavinphoenix opened this issue Mar 19, 2020 · 2 comments
Open

auto rotate after compress #354

bhavinphoenix opened this issue Mar 19, 2020 · 2 comments

Comments

@bhavinphoenix
Copy link

execFFmpegBinary(new String[]{"-y", "-i", path, "-s", "160x120", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath});

auto rotate after compress
is there any solution?

@russellghana
Copy link

use -noautorotate flag for disable FFMPEG auto rotate feature

execFFmpegBinary(new String[]{"-noautorotate","-y", "-i", path, "-s", "160x120", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath});

@bhavinphoenix
Copy link
Author

what if i want default height and width of video?

execFFmpegBinary(new String[]{"-noautorotate", "-y", "-i", path, "-s", "800x600", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath});

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