ffpyplayer with ffmpeg will not build

未關閉
#3,409 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
57/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
android, python

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Python
星號
8.9k
分支
2.1k
平均合併
3 天 19 小時
30 天內合併 PR
7

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

kivy/python-for-android 的其他 Issue

查看 kivy/python-for-android 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。