mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Bug] AV1 software encoding failure #6437
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Otakian on GitHub (Nov 7, 2024).
This issue respects the following points:
Description of the bug
When attempting to playback a file on a client that supports AV1 decoding and the server is selected to transcode to AV1, the stream fails to load when attempting to transcode the file and instead returns a fatal error has occured message. This occurs with software encoding, I have not tested it with hardware on the latest version.
Reproduction steps
What is the current bug behavior?
The video fails to play with a pop up window with the message "Playback Error : Playback failed due to fatal player error."
What is the expected correct behavior?
The video file loads and plays. When checking the playback info it should show the transcoding bitrate along with av1 for the codec.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.1
Specify the build version
Release
Environment
Jellyfin logs
FFmpeg logs
Error splitting the argument list: Option not found
Client / Browser logs
Relevant screenshots or videos
No response
Additional information
Historically on an nvidia rtx 4090 on version 10.9.0, the av1 encoding worked with no errors.
@gnattu commented on GitHub (Nov 7, 2024):
This GPU does not support AV1 encoding.
@Otakian commented on GitHub (Nov 7, 2024):
I am not performing hardware encoding, I specify that I am using av1 software encoding.
@felix920506 commented on GitHub (Nov 7, 2024):
@gnattu its using libsvtav1
@gnattu commented on GitHub (Nov 7, 2024):
Where did you get the ffmpeg build? I'm asking because it does not even enable libsvtav1 in compiler flags.
@Otakian commented on GitHub (Nov 7, 2024):
@gnattu I got the build straight from the arch extra repository.
@nyanmisaka commented on GitHub (Nov 7, 2024):
https://gitlab.archlinux.org/archlinux/packaging/packages/jellyfin-ffmpeg/-/blob/main/PKGBUILD
It looks like the build from Archlinux forgot to enable
--enable-libsvtav1...@nyanmisaka commented on GitHub (Nov 7, 2024):
@grawlinson If you're around, could you help us add the option
--enable-libsvtav1to futurejellyfin-ffmpegbuilds?@grawlinson commented on GitHub (Nov 7, 2024):
Sure thing. If there are any more Arch related issues, feel free to @ me on them.
@Otakian commented on GitHub (Nov 20, 2024):
Looked at the source info for the latest jellyfin-ffmpeg, still no libsvtav1 enabled.
Tested it after updating just to be sure and no av1 for software encoding still.
@grawlinson commented on GitHub (Nov 20, 2024):
Ah drat, I forgot about that! I’ll do it later today.
@grawlinson commented on GitHub (Nov 22, 2024):
Support for SVT-AV1 has been enabled downstream, feel free to close the issue.