kivy / kivy/python-for-android

ffpyplayer build fails with ffmpeg 8.0.1 (from develop)

Open
#3,344 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

I am building `ffpyplayer` (version: v4.5.1) and I see that the `ffmpeg` version got upgraded to `8.0.1` and it throws below error.

Error:
```bash
/home/somnath/codes/git/my-org/image-to-animation-offline/kivy/.buildozer/android/platform/build-arm64-v8a/build/other_builds/ffpyplayer-openssl/arm64-v8a__ndk_target_28/ffpyplayer/ffpyplayer/pic.c:773:10: fatal error: 'libavcodec/avfft.h' file not found
773 | #include "libavcodec/avfft.h"
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/ccache' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
```

Contributor guide

Open the contributing guide

Research direction

Start with ffpyplayer/pic.c and the reported ffmpeg 8.0.1 build output, then inspect how ffpyplayer is built in the Android packaging path. Reproduce the failure with ffmpeg 8.0.1 and determine the project change needed for the build to complete without the missing avfft.h error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.