ffpyplayer with ffmpeg will not build

Offen
#3,409 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
57/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, python
Bereich
build-system, mobile

Rechercherichtung

Start with pythonforandroid/recipes/ffmpeg and the ffpyplayer recipe or build logs that reference libavcodec/avfft.h; the issue identifies the FFmpeg 8.0.1 version as the likely cause. Check how the recipes select and use FFmpeg headers, then reproduce the Android build failure. Done means ffpyplayer builds with a compatible FFmpeg version and video support works.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

ffpyplayer needs a version of ffmpeg < 8.0.

It fails with "fatal error: 'libavcodec/avfft.h' file not found" because the FFmpeg header files were changed starting with ffmpeg v 8.0.

The pythonforandroid/recipes/ffmpeg recipe specifies "version = '8.0.1'"

Having tried for 2 months to find a workaround, maybe someone here can throw me a bone?

I have a hard time believing we can't show video with Kivy/p4a. It's one of the core purposes for android apps.

Someone please point out the errors of my ways and get me back on the good foot.

Thanks in advance

Vorherrschende Sprache
Python
Sterne
8.9k
Forks
2.1k
Ø Merge
3 T. 19 Std.
Gemergte PRs (30 T.)
7

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus kivy/python-for-android

Alle Issues in kivy/python-for-android

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.