ffpyplayer with ffmpeg will not build

Aperta
#3,409 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
8.9k
Fork
2.1k
Merge medio
3g 19h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di kivy/python-for-android

Tutte le issue di kivy/python-for-android

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.