Open RadxaYuntian opened 5 months ago
debian 11自带的ffmpeg和这个版本不匹配,不能直接替换。 看看怎么让这两个保存在独立的地方,至少ffmpeg不和系统自带的冲突
先看看他这个预编译的ffmpeg能不能用:https://github.com/jellyfin/jellyfin-ffmpeg/releases/tag/v6.0.1-2
先看看他这个预编译的ffmpeg能不能用:https://github.com/jellyfin/jellyfin-ffmpeg/releases/tag/v6.0.1-2
转码正常,hdmi in因为没打patch识别不了,这是已知问题,可打patch解决
那还是要我们自己编译一个版本才行
要不要尝试一下在debian打包源码的基础上,加上https://github.com/jellyfin/jellyfin-ffmpeg/pull/318 的patches
可以试试看
主要是担心debian的版本太老了,缺功能或者代码差异太大
可能还是直接用6.0.1最省事
主要是担心debian的版本太老了,缺功能或者代码差异太大
试了一下确实,很多patch需要修改才能apply,感觉改好了,也不能正常运行。
我试试在debian ffmpeg的打包源码基础上加上--enable-rkmpp,看看能不能正常解码吧
https://github.com/hbiyik/ffmpeg-rockchip/wiki/Rendering Read through this section if you want to use hardware acceleration in common video players.
Also for common use cases, it's enough to use ffmpeg-rockchip, just apply the patches from it to upstream Debuntu ffmpeg 6.0.1/6.1.1. Then add extra build configs: --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga
.
There are also patches for MPP & RGA to satisfy all corner cases.
https://github.com/hbiyik/ffmpeg-rockchip/wiki/Rendering Read through this section if you want to use hardware acceleration in common video players.
Also for common use cases, it's enough to use ffmpeg-rockchip, just apply the patches from it to upstream Debuntu ffmpeg 6.0.1/6.1.1. Then add extra build configs: --enable-gpl --enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga.
There are also patches for MPP & RGA to satisfy all corner cases.
Thanks for your comment, the main thing we're struggling with now is that the version of ffmpeg6 is too new, and packaging it could potentially invalidate other packages that depend ffmpeg for debian11/12
It seeems that hbiyik made a 5.1.2 backport. I haven't tested it so use at your own risk.
It seeems that hbiyik made a 5.1.2 backport. I haven't tested it so use at your own risk.
Thank you for your help, we will consider using this repo!
感觉打包代码需要替换成debian的模板,这样打包mpv的时候才好管理依赖