-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
After building FFMpeg recipe, I still am not able to do ffmpeg -v #1146
Comments
When you call Can you tell what task you're going to solve with |
@germn I would like to run a couple of commands, something like:
or
I am looking if I am able to do it in Thanks a lot for the response. |
I found that as soon as I put |
Well binary compilation it's specifically in the recipe configure part, see https://github.com/kivy/python-for-android/blob/95d41f7/pythonforandroid/recipes/ffmpeg/__init__.py#L81 so you can just enable it right? |
Closing as not an issue, given how the ffmpeg recipe works. The recipe could be given some kind of option to include the binary if it would help people, but it isn't an active priority. I also checked that the recipe seems to compile okay at the moment. |
I can confirm I could generate the python setup_testapp_python3.py apk --sdk-dir $ANDROID_SDK_HOME --ndk-dir $ANDROID_NDK_HOME --requirements python3,ffmpeg And the binary got compiled see it here: file /home/user/.local/share/python-for-android/build/other_builds/ffmpeg/armeabi-v7a__ndk_target_21/ffmpeg/bin/ffmpeg
/home/user/.local/share/python-for-android/build/other_builds/ffmpeg/armeabi-v7a__ndk_target_21/ffmpeg/bin/ffmpeg: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, stripped |
@AndreMiras |
You should debug that issue trying to |
@wingchen Can you explain how did you genrated ffmpeg binary for android and where did you put ? If possible please provide code snippets too. Thanks |
Hi,
I am very new to
python-for-android
, but I am loving it so far though.I was able to build ffmpeg using the recipe with ubuntu 14.04 and the following dependencies list (some of them are created by myself):
I was able to get the built *.so files.
But when I try to run the following function in my main.py, I got permission error.
Error:
I/python (25293): [Errno 13] Permission denied
Am I missing something? thanks
The text was updated successfully, but these errors were encountered: