• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: AV1 + subtitles doesn't work with hardware acceleration enabled

     
    • 0 Vote(s) - 0 Average

    SOLVED: AV1 + subtitles doesn't work with hardware acceleration enabled

    manphiz
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-13, 11:12 PM (This post was last modified: 2024-01-13, 11:12 PM by manphiz. Edited 1 time in total.)
    Hi,


    I've been using the official docker image[1] and enabled hardware acceleration which has been working fine in most cases.  However when trying to enable subtitles for AV1 videos, Jellyfin will get stuck forever, while it plays the same video fine when the subtitle is disabled.  I have also tried changing the subtitle settings with burn-in enabled or disable but it didn't make any difference.

    A closer look at the FFmpeg log seems to suggest that libdav1d doesn't support subtitles with hardware acceleration enabled:
    Quote:[av1 @ 0x55df4e324740] No support for codec av1 profile 0.
    [av1 @ 0x55df4e324740] Failed setup for format vaapi: hwaccel initialisation returned error.
    [av1 @ 0x55df4e324740] Your platform doesn't suppport hardware accelerated AV1 decoding.
    [av1 @ 0x55df4e324740] Failed to get pixel format.
    Error while decoding stream #0:0: Function not implemented
    [av1 @ 0x55df4e324740] Missing Sequence Header.
    Error while decoding stream #0:0: Invalid data found when processing input
    [av1 @ 0x55df4e324740] Missing Sequence Header.
    Error while decoding stream #0:0: Invalid data found when processing input
    Error while decoding stream #0:0: Resource temporarily unavailable
        Last message repeated 33514 times
    Too many packets buffered for output stream 0:1.
    [libfdk_aac @ 0x55df4e80d1c0] 2 frames left in the queue on closing
    Conversion failed!
    Note that despite the error log says "Your platform doesn't suppport hardware accelerated AV1 decoding", it did play the same AV1 video fine without subtitles, so I guess that the "profile 0" part should just be the subtitle, but do correct me if I'm wrong.

    I wonder whether this is a known issue, and if the developers are familiar with FFmpeg development schedule, is there any plans for supporting this?

    [1] https://hub.docker.com/r/jellyfin/jellyfin
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-13, 11:19 PM
    What are your server specs? That message probably means you check "AV1" in the transcoding settings, but your server GPU doesn't support AV1 decoding. The fact that your client played AV1 only means that the client supports AV1. The check boxes in the transcode settings are for telling Jellyfin what codecs your SERVER GPU supports decoding.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    manphiz
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-01-15, 01:19 PM
    Hi TheDreadPirate,

    Thanks for your explanation!  And sorry for the late reply as somehow I didn't receive any notifications.

    If I understand it correctly, without subtitles, if the client supports AV1 the server doesn't do any transcoding but just serve the video directly, right?

    I'm using an AMD Ryzen 3 5900HX with bundled GPU which should be a Vega 8.  Can you help me verify whether hardware acceleration is available for AV1 for this chipset?  Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-01-15, 02:49 PM (This post was last modified: 2024-01-15, 02:49 PM by TheDreadPirate.)
    It does not. IIRC, only the RX 6000/7000 series of AMD GPUs supports AV1 decoding. And whatever iGPU derivatives in the Ryzen 7000 series that use RDNA2/3.

    I can't find a clear cut codec chart for AMD. But AV1 should definitely be UNchecked. I think the rest can be checked, based on what documentation I can find.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    manphiz
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #5
    2024-01-15, 09:24 PM
    Guess I'll just leave AV1 unchecked. Thanks for confirming!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode