• 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 General Questions Hardware acceleration on Synology DS224+

    Pages (3): « Previous 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Hardware acceleration on Synology DS224+

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-12-04, 02:01 PM (This post was last modified: 2024-12-04, 02:02 PM by TheDreadPirate. Edited 1 time in total.)
    The parameters of that command won't use the GPU for encoding (libx264 is a CPU encoder).

    If this is a plain version of ffmpeg7, and not jellyfin-ffmpeg7, you may not have all the media drivers needed to use hardware acceleration.

    You could open a bash shell into the Jellyfin container and use jellyfin-ffmpeg from within the container. JF ffmpeg comes bundled with all the Intel media drivers needed for transcoding.

    Here is how a hardware accelerated ffmpeg command would look like.

    Code:
    ffmpeg -init_hw_device vaapi=va:,driver=iHD,kernel_driver=i915 -fflags +genpts+igndts -loglevel error -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel qsv -hwaccel_output_format qsv -i "/path/to/video.mkv" -map 0 -c:v h264_qsv -c:a copy -c:s copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

    BACKING UP A BIT. Can you share your ffmpeg logs from jellyfin? Dashboard > Logs. So we can see why the playback failed. I'm thinking the video is some variety of Dolby Vision.
    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]
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #12
    2025-04-06, 01:45 PM
    I have kinda the same problem! Got my Synology DS224+ just days ago and was very excited to test Jellyfin. Everything works great and than I`ve read something about hardware acceleration. Everything will play and I don´t mean any fancy 4k ripp. I almost have only 1080p and old DVD rips there.
    What I don´t understand because I am really a newbie is how to enable it on my Synology NAS or if I need it in the first place. My CPU usage is with most files at 85%. But I was curious and tried a few things which where recommended online which lead re-installing jellyfin.
    I tried open a project in the Docker container.... but most of the time I don´t know what I am doing there. Well and this is my biggest problem.
    What I understand is that jellyfin as a docker project can´t handle things outside the docker image with the hardware and so you have to tell it what to do.

    I did this:

    services:
    jellyfin:
    image: jellyfin/jellyfin:10.8.11
    container_name: jellyfin
    # user: uid:gid
    network_mode: 'host'
    volumes:
    - ./configConfused-faceconfig
    - ./cacheConfused-facecache
    - /volume1/Media/FilmeConfused-facemovies:ro
    - /volume1/Media/TV ShowsConfused-facetv_shows:ro
    devices:
    - /dev/dri/renderD128Confused-facedev/dri/renderD128
    - /dev/dri/card0Confused-facedev/dri/card0
    #note: uncomment these lines in devices to allow for HWA to work on Synology units with an iGPU
    restart: 'unless-stopped'

    Which I know wasn´t completely right cause I didn´t specify the cache and config locations. But with this and a fresh install it doesn´t let me open the port for jellyfin and so I couldn´t reach the server from within in my network.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2025-04-06, 03:38 PM
    Can you share your jellyfin logs via privatebin.net? And your ffmpeg logs (in the same directory as your jellyfin log).

    But you have to keep in mind that some CPU usage is still expected. Audio transcoding will always occur on the CPU as will subtitle burn in. The GPU will handle the final encoding step.
    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]
    1
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #14
    2025-04-06, 04:18 PM (This post was last modified: 2025-04-06, 04:23 PM by The Bow-Tie Guy.)
    https://privatebin.net/?fbaf9c21206804e2...He8zUhcJmv

    I think I didn`t do ti right.

    The log I found seem to be to big to post. Sorry I am just just a newbie with this.
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #15
    2025-04-06, 04:26 PM
    I found the log´s your were talking about but can´t seem to download it and never used privatbin before.

    Just to be clear... do I necessarily need to activate hardware acceleration?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2025-04-06, 04:27 PM (This post was last modified: 2025-04-06, 04:28 PM by TheDreadPirate.)
    The ffmpeg log is showing CPU encoding.

    Code:
    Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))

    Can you share screenshots of Dashboard > Playback > Transcoding?

    (2025-04-06, 04:26 PM)The Bow-Tie Guy Wrote: I found the log´s your were talking about but can´t seem to download it and never used privatbin before.

    Just to be clear... do I necessarily need to activate hardware acceleration?

    You don't need it, but you should if it is available.
    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]
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #17
    2025-04-06, 05:17 PM
    You mean fron Jellyfin on my iPad?
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #18
    2025-04-06, 05:27 PM
       
    TheDreadPirate dateline='[url=tel:1743956849' Wrote: 1743956849[/url]']
    The ffmpeg log is showing CPU encoding.

    Code:
      Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))

    Can you share screenshots of Dashboard > Playback > Transcoding?

    The Bow-Tie Guy dateline='[url=tel:1743956795' Wrote: 1743956795[/url]']
    I found the log´s your were talking about but can´t seem to download it and never used privatbin before.

    Just to be clear... do I necessarily need to activate hardware acceleration?

    You don't need it, but you should if it is available.

    The Bow-Tie Guy dateline='[url=tel:1743959830' Wrote: 1743959830[/url]']
    You mean fron Jellyfin on my iPad?
    The Bow-Tie Guy
    Offline

    Junior Member

    Posts: 14
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #19
    2025-04-06, 05:33 PM
       
    The Bow-Tie Guy dateline='[url=tel:1743960468' Wrote: 1743960468[/url]']

    TheDreadPirate dateline='[url=tel:1743956849' Wrote: 1743956849[/url]']
    The ffmpeg log is showing CPU encoding.

    Code:
      Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))

    Can you share screenshots of Dashboard > Playback > Transcoding?

    The Bow-Tie Guy dateline='[url=tel:1743956795' Wrote: 1743956795[/url]']
    I found the log´s your were talking about but can´t seem to download it and never used privatbin before.

    Just to be clear... do I necessarily need to activate hardware acceleration?

    You don't need it, but you should if it is available.

    The Bow-Tie Guy dateline='[url=tel:1743959830' Wrote: 1743959830[/url]']
    You mean fron Jellyfin on my iPad?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #20
    2025-04-06, 05:53 PM
    You didn't select Intel Quick Sync from the drop down. You then need to check the boxes for the codecs your CPU supports decoding and encoding with Quick Sync.

    Use this table to figure that out. Use the GeminiLake column.

    https://en.wikipedia.org/wiki/Intel_Quic...d_encoding
    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]
    Pages (3): « Previous 1 2 3 Next »

    « 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