The new jellyfin-ffmpeg6
package is out - https://aur.archlinux.org/packages/jellyfin-ffmpeg6
Make sure you have upgraded the server to 10.8.10+.
Git Clone URL: | https://aur.archlinux.org/jellyfin-ffmpeg5.git (read-only, click to copy) |
---|---|
Package Base: | jellyfin-ffmpeg5 |
Description: | FFmpeg5 for Jellyfin |
Upstream URL: | https://github.com/jellyfin/jellyfin-ffmpeg |
Licenses: | GPL3 |
Conflicts: | jellyfin-ffmpeg |
Submitter: | nyanmisaka |
Maintainer: | nyanmisaka |
Last Packager: | nyanmisaka |
Votes: | 10 |
Popularity: | 0.71 |
First Submitted: | 2022-06-09 13:36 (UTC) |
Last Updated: | 2023-04-13 19:20 (UTC) |
The new jellyfin-ffmpeg6
package is out - https://aur.archlinux.org/packages/jellyfin-ffmpeg6
Make sure you have upgraded the server to 10.8.10+.
@gameslayer Did you install 'pkgconf', which provides 'pkg-config'? I have encountered the same issue and solved by installing this package.
@gameslayer I don't see any breaking changes that made in 'gnutls' recently and 'jellyfin-ffmpeg5' builds just fine on my end. Please reinstall it from pacman and try again.
You can also switch to 'jellyfin-ffmpeg5-bin' if you don't want to build manually.
Fails to build
Building jellyfin-ffmpeg5...
==> Making package: jellyfin-ffmpeg5 5.1.2-9 (Sat 01 Apr 2023 01:39:32)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning jellyfin-ffmpeg git repo...
Cloning into bare repository '/var/tmp/pamac-build-corey/jellyfin-ffmpeg5/jellyfin-ffmpeg'...
==> Validating source files with sha256sums...
jellyfin-ffmpeg ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of jellyfin-ffmpeg git repo...
Cloning into 'jellyfin-ffmpeg'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
HEAD is now at dadf5ad2 Merge pull request #231 from nyanmisaka/next-5.1
==> Starting build()...
-> Running jellyfin-ffmpeg5 configure script...
ERROR: gnutls not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
Aborting...
@Best You have to rebuild the jellfin-ffmpeg5
package since the the linked libvpx library is changed. The same is true for the AUR ffmpeg-git
package.
Or switch to AUR jellyfin-ffmpeg5-bin
if you don't want to build manually.
:: installing libvpx (1.13.0-1) breaks dependency 'libvpx.so=7-64' required by jellyfin-ffmpeg5
@DragonX256
The latest Vulkan header breaks the FFmpeg 5.1.x stable.
You have to downgrade it to v1.3.237 and older or apply this:
https://github.com/FFmpeg/FFmpeg/commit/eb0455d64690eed0068e5cb202f72ecdf899837c
Or just use jellyfin-ffmpeg5-bin package instead. I'll fix this the next time we tag a release.
Cannot compile 5.1.2-7
libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'?
363 | { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME
libavutil/hwcontext_vulkan.c:364:7: error: 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'?
364 | { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME
make: *** [ffbuild/common.mak:82: libavutil/hwcontext_vulkan.o] Error 1
make: *** Waiting for unfinished jobs....
@turbochamp
ffmpeg depends on the version of libplacebo at the build time, which means each time you update libplacebo, the ffmpeg must be rebuilt.
You can try AUR libplacebo-git instead or switch to AUR jellyfin-ffmpeg5-bin.
Pinned Comments
nyanmisaka commented on 2022-12-10 12:28 (UTC) (edited on 2023-02-05 11:53 (UTC) by nyanmisaka)
The
jellyfin-ffmpeg5-bin
package for x86_64 and aarch64 is ready.For those who don't want to manually build
jellyfin-ffmpeg5
.https://aur.archlinux.org/packages/jellyfin-ffmpeg5-bin
Don't forget to set the ffmpeg path to
/usr/lib/jellyfin-ffmpeg/ffmpeg
.nyanmisaka commented on 2022-06-09 13:43 (UTC)
For Jellyfin 10.8 and newer, we are moving to this package.
jellyfin-ffmpeg
package will co-exist with it for backward compatibility on Jellyfin 10.7 and older.https://aur.archlinux.org/packages/jellyfin-ffmpeg