• 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: Not possible to play media when NVIDIA NVENC

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    SOLVED: Not possible to play media when NVIDIA NVENC

    MutzelBruzzel
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #11
    2025-02-19, 06:19 PM
    I am using root so - no Smiling-face

    But in the meantime I added 'video' to capabilities of the docker-compose.yaml and it seems to work. Unfortunately htop shows still 100% CPU usage - Is this normal?

    nvidia-smi now shows:

    Quote:+-----------------------------------------------------------------------------------------+
    | Processes: |
    | GPU GI CI PID Type Process name GPU Memory |
    | ID ID Usage |
    |=========================================================================================|
    | 0 N/A N/A 4037 C /usr/lib/jellyfin-ffmpeg/ffmpeg 252MiB |
    +-----------------------------------------------------------------------------------------+
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2025-02-19, 06:21 PM
    We'd need to see the ffmpeg log. It is likely transcoding the audio, which always happens on the CPU. I'm assuming you are seeing 100% on a single core.

    Subtitle burn-in also happens on the CPU.
    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]
    MutzelBruzzel
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #13
    2025-02-19, 06:56 PM (This post was last modified: 2025-02-19, 06:57 PM by MutzelBruzzel. Edited 1 time in total.)
    (2025-02-19, 06:21 PM)TheDreadPirate Wrote: We'd need to see the ffmpeg log.  It is likely transcoding the audio, which always happens on the CPU.  I'm assuming you are seeing 100% on a single core.

    Subtitle burn-in also happens on the CPU.

    Unfortunately it's all cores - See image

    Can I do something to reduce the load?

    What infos do you need from the log?
    I can see something like this:

    Quote:[hls @ 0x5ba676c2f400] Opening '/config/cache/transcodes/546e6a66c8f194ad3b884d4355131a24251.ts' for writing
    [out#0/hls @ 0x5ba67699f0c0] video:1807668KiB audio:6993KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
    frame= 5361 fps= 41 q=13.0 Lsize=N/A time=00:03:43.38 bitrate=N/A speed=1.72x 


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2025-02-19, 07:00 PM (This post was last modified: 2025-02-19, 07:00 PM by TheDreadPirate.)
    Share the whole log via privatebin.net. So I can see the command used, the mapping used, and the original media info.
    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]
    MutzelBruzzel
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #15
    2025-02-19, 07:08 PM
    (2025-02-19, 07:00 PM)TheDreadPirate Wrote: Share the whole log via privatebin.net.  So I can see the command used, the mapping used, and the original media info.

    Sure thing (and thx): https://privatebin.net/?3b4fcb94cbc06da3...ei4FxbBf32
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2025-02-19, 07:39 PM (This post was last modified: 2025-02-19, 07:40 PM by TheDreadPirate. Edited 1 time in total.)
    You did not enable hardware accelerated DECODING. The list of check boxes at the top. Meaning the CPU is decoding the video.

    Use this table to check the correct boxes.

    https://developer.nvidia.com/video-encod...matrix-new
    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]
    MutzelBruzzel
    Offline

    Junior Member

    Posts: 11
    Threads: 3
    Joined: 2024 Jan
    Reputation: 0
    #17
    2025-02-20, 09:50 AM
    Ok, now it works like a charm.
    Thanks a lot @TheDreadPirate!
    Pages (2): « Previous 1 2

    « Next Oldest | Next Newest »

    Users browsing this thread: 3 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