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

Import videos from Android internal/sd memory #18

Open
jackaru opened this issue Apr 30, 2020 · 2 comments
Open

Import videos from Android internal/sd memory #18

jackaru opened this issue Apr 30, 2020 · 2 comments

Comments

@jackaru
Copy link

jackaru commented Apr 30, 2020

Hi, sorry for the question but I can't figure it out what I'm doing wrong, It's 2 days that I'm looking for examples and trying to import a .mp4 video from sd card path but each time the file can't be found. The path is checked without errors, is it possible to import external videos or I made a big mistake?

Here's the code, but as I said, openVideo returns null, so I can't get the frame number

image

@lessthanoptimal
Copy link
Owner

lessthanoptimal commented May 1, 2020 via email

@lessthanoptimal
Copy link
Owner

So I was just looking at the FFMPEG used in BoofCV. There's actually a chance you could do a special build and get it to work. You can specify which native architectures you wish to support using a command line argument. native_arch what that will do is attempt to download precompiled libraries from bytedeco.javacpp-presets which has builds of the library for Android. I've never tested though...

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