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

FFmpeg #143

Open
mhsmith opened this issue Sep 4, 2019 · 6 comments
Open

FFmpeg #143

mhsmith opened this issue Sep 4, 2019 · 6 comments
Labels

Comments

@mhsmith
Copy link
Member

mhsmith commented Sep 4, 2019

This is required by number of packages which load video and audio. Chaquopy doesn't currently provide an ffmpeg build, but there are builds available from other projects.

In particular, some users have had good results with mobile-ffmpeg (now superseded by FFmpegKit), either calling it from Java/Kotlin code, or from Python using the Chaquopy Python API. Here are some examples:

Kivy's pythonforandroid also has a recipe.

@haqkiemdaim
Copy link

@mhsmith is there any update on the integration of ffmpeg into Chaquopy? This is a very important features that should be covered in Chaquopy

@mhsmith
Copy link
Member Author

mhsmith commented Oct 16, 2021

Sorry, still no update. Which package do you need it for?

@mhsmith
Copy link
Member Author

mhsmith commented Apr 20, 2022

Some packages expect to be able to call ffmpeg as an executable, in which case #605 would be an issue. I guess mobile-ffmpeg and FFmpegKit probably deal with this by calling it as a library.

@puelon
Copy link

puelon commented Apr 29, 2022

Hi, it would be great if we could use FFMPEG with chaquopy to push rtmp streams. Android is kinda of restricted with USB cameras and there is like 1 or 2 working libraries that work with USB cameras. Currently, after a long time trying I was able to retrieve frames from my camera but I need to use sockets to stream my images, would be great if it was possible to use it with ffmpeg

@muizzzafar11
Copy link

any update on this issue?

@mhsmith
Copy link
Member Author

mhsmith commented Jan 22, 2023

No, but the package build tool is now open-source, so if you'd like to try building this package yourself, follow the instructions here. And if you're successful, please make a pull request so we can add it to the public repository.

As mentioned above, anything that requires calling ffmpeg as an executable will be much more difficult on API level 29 or later. So it's probably only worth trying to build it if you intend to use it as a library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants