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

Reduce size of compiled ffmpeg.js for mobile client #62

Open
cuiyajie opened this issue Apr 25, 2017 · 0 comments
Open

Reduce size of compiled ffmpeg.js for mobile client #62

cuiyajie opened this issue Apr 25, 2017 · 0 comments

Comments

@cuiyajie
Copy link

Now the size of ffmpeg.js is too large for mobile client. Now I only need the three commands as below. Is it possible to reduce the size below 1~2M?
ffmpeg -i [input file] [output file]
ffmpeg -i [input file] -b 500000 [output file]
ffmpeg -i [input file] -vf scale="'if(gt(a,4/3),640,-1)':'if(gt(a,4/3),-1,480)'" [output file]

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