-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
java.lang.IllegalArgumentException #30
Comments
I am also getting this error |
Thanks both of you ( @vvbhandare & @ArslanKathia) for using this library. |
@ArslanKathia i hope the solution provided is also valid for you |
I am also Getting same error while passing these as Argument for compress video . |
The second parameter is the destination directory, not the destination file path. Try something like this: |
In my case was thrown IllegalArgumentException without any messages and causes, because MediaMetadataRetriever couldn't create FileDescriptor. In total, works for me when videoFilePath is: and not work when videoFilePath looks like this: |
I am getting below error when I pass
SiliCompressor.with(this).compressVideo("/storage/emulated/0/DCIM/Camera/VID_20170908_122018.mp4", "/storage/emulated/0/abc.mp4");
The text was updated successfully, but these errors were encountered: