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

how to save video without AssetFileDescriptor #32

Open
junaidandroidcp opened this issue May 19, 2021 · 3 comments
Open

how to save video without AssetFileDescriptor #32

junaidandroidcp opened this issue May 19, 2021 · 3 comments

Comments

@junaidandroidcp
Copy link

HI
I have issue i am capturing video from camera and want to apply filters on it
But here i found filters only on assets in android studio
Kindly suggest me code for this
I do not want to apply filters on assets

@ghost
Copy link

ghost commented May 19, 2021

Hi!

You can use ContentResolver.openFileDescriptor(fileUri, mode) to get the file descriptor of your video from the camera, or from external storage.
Here is a good guide on how to do it: https://developer.android.com/training/secure-file-sharing/request-file

@junaidandroidcp
Copy link
Author

thanks a lot...let me try

@junaidandroidcp
Copy link
Author

@kifio bro after using contentresolver.openAssetFileDescriptor after applying filters with AssetConverterThread

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