-
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
ffmpeg recipe possibly broken #920
Comments
Just to check, this does not happen if you remove ffmpeg from the requirements? |
On removing ffmpeg from the requirements everything builds fine (except video doesn't work on Android). Btw, is there any alternatives to ffmpeg to use video widget on Android? I didn't find it in docs, but looks like ffmpeg is the only way now, am I right? |
I'm not sure about this, I haven't tried video. I'll try to look into On 31/10/16 22:50, Gerasimov Mikhail wrote:
|
Looks like problem comes from WritingMinds/ffmpeg-android used by this recipe, see this issue. There's also PR to fix it from may, but it didn't accepted yet. Looking at project's state it seems to be dead or poorly maintained :( What can be done in this case? |
Fork under Kivy and fix it? If there's that PR and it works, it shouldn't be hard. If the project is going to die (or is dead anyway), this could be a solution. Pinging the repo author first might be a good idea. |
I tried to build project with updated link, but got new error later:
I have no idea how to fix it. |
Problem above was because ffmpeg-android need some dependences not mentioned anywhere in p4a:
I'm trying to fix recipe for ffmpeg and add recipe for ffpyplayer: Looks like ffmpeg recipe is ok now: it compiles shared libraries without errors. While I still can't create correct ffpyplayer recipe, it fails with errors: I don't understand why it happens since all libraries that can not be found exists in specified FFMPEG_LIB_DIR folder. Also manual installing of ffpyplayer (via setup.py) seems to be ok. If you have any ideas how ffpyplayer recipe should be changed, feel free to help me with this. |
Thanks for the detailed examination. Would you be interested in doing a PR to add these requirements to the doc somewhere? |
Should this requirements be added to p4a installing dependencies? I mean since ffmpeg is only lib that need it, may be there's some way to add dependencies for concrete recipe? I of course will make PR for all this stuff when (and if) I'll be able to make it work. Right now current ffmpeg is broken anyway so just adding it's dependencies to docs wouldn't help. I also not sure if fixed ffmpeg version is "correct": old ffmpeg recipe (when it was working) was building static libraries while fixed one builds shared (since ffpyplayer needs shared libraries). I don't understand reason of that yet and if static libs still actual. |
Current I still don't understand why this recipe was added, but I think it can be removed since it's broken and confusing (ffpyplayer itself might need this recipe name for it's ffmpeg dependcy). |
Then how die they added ffmpeg in kivy launcher? |
@SagitSri this issue is closed because it is outdated. AFAIK ffmpeg recipe has been rewritten and is working now. |
Thank you sir!
requirements = AFAIK ffmpeg
Am I right sir?
…On Wed, Jan 9, 2019, 1:52 AM Mikhail Gerasimov ***@***.*** wrote:
@SagitSri <https://github.com/SagitSri> this issue is closed because it
is outdated. AFAIK ffmpeg recipe has been rewritten and is working now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#920 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhOFxHPzmqdEAghNfVrv6_lRQThHkoyoks5vBP4AgaJpZM4KllHh>
.
|
@SagitSri yes, you can include ffmpeg this way. However it's important to notice that ffmpeg recipe itself usually is being used as part of process to build ffpyplayer - main way to allow kivy to play video on Android. It can be enabled with:
|
As per your guidelines i did the followings and got these errors sir! I've
attached buildozer error file and buildozer.spec files! Kindly help me to
get out from this problem sir!
…On Wed, Jan 9, 2019 at 9:52 AM Mikhail Gerasimov ***@***.***> wrote:
@SagitSri <https://github.com/SagitSri> yes, you can include ffmpeg this
way.
However it's important to notice that ffmpeg recipe itself usually is
being used as part of process to build ffpyplayer
<https://github.com/kivy/python-for-android/tree/master/pythonforandroid/recipes/ffpyplayer>
- main way to allow kivy to play video on Android. It can be enabled with:
requirements = ffpyplayer, openssl, ffpyplayer_codecs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#920 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhOFxKQn1-Zghjrlwmoj8PTmqxXIItfJks5vBW6CgaJpZM4KllHh>
.
|
Thank you sir!
…On Thu, Jan 10, 2019, 3:35 AM Mikhail Gerasimov ***@***.*** wrote:
@SagitSri <https://github.com/SagitSri> please consider creating new issue
<https://github.com/kivy/python-for-android/issues/new> about problem you
have. It'll help other people faced with same problem and allow to find
answer faster.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#920 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhOFxNRdvYrZdSOS6AWEkaGnd1UdjNMxks5vBmeZgaJpZM4KllHh>
.
|
Hi, having this same issue with kivy 1.11.1 and python 3.7 running on ubuntu 18.04 VM. Kivy app works on linux but when i add the ffpyplayer to requirements, APK build fails. There's no problem on build if i remove ffpyplayer. Anyone can help? |
I'm trying to build simple possible app using video widget with buildozer.
requirements = hostpython2, kivy==1.9.1, ffmpeg
buildozer android_new debug
Error I'm getting:
Ubuntu 16.04 in VirtualBox, everything installed by instructions on site.
The text was updated successfully, but these errors were encountered: