• 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 Jellyfim MPV Shim direct path

     
    • 0 Vote(s) - 0 Average

    Jellyfim MPV Shim direct path

    Nachtigaller
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #1
    2024-08-24, 02:54 AM
    I have the following problem: My server, which is also the client, is too weak to play a movie without stuttering. So I googled a bit and there seem to be two solutions to this problem being using either Kodi with the Jellyfin add on or Jellyfin MPV Shim. As Kodi has problems with my library structure I looked into MPV Shim and while it looked promising I couldn't get the direct path option to work resulting in insufficient performance.
    So my question is if anyone of you got it working and if it is even possible with the current version of the Jellyfin server.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-24, 03:32 AM
    It is compatible. The way you use it is to start the MPV Shim tray app, enter your server address and credentials and then it "connects". In a browser, MPV Shim will show up as a casting target. You select MPV Shim and start playing a video in the browser and it will start playing in MPV Shim.
    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]
    Nachtigaller
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #3
    2024-08-24, 04:06 AM
    It does play but it not directly the corresponding file as suggested by the direct path setting in MPV shim and other posts I came across but rather casting it resulting in quite the tremendous overhead (opening the file with MPV: 25% CPU usage, casting it to MPV shim: 95% CPU and microstutters).
    The reason I asked if is supported in current versions is that the MPV shim Git Hub page states "Note that Shared network folder support was deprecated in Jellyfin 10.9, and is no longer exposed in the Jellyfin UI." and while I don't use network folders since it's all local on this one machine I don't know what it actually means in practice.
    I also just did some more testing and found out that when starting the video with MPV shim its console states that it couldn't open the file '' which seems to me that it either didn't got a file path from Jellyfin or something failed withing MPV shim and subsequently falling back to casting.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #4
    2024-08-24, 10:11 AM
    I don't think you need to be messing with most of its settings off the bat. When I first used it, it was simple and direct played most of my content without changing settings.

    I would suggest you also try Jellyfin Media Player as it also uses MPV for the player.
    Nachtigaller
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #5
    2024-08-24, 11:31 AM
    Jellyfin Media Player was even worse when it came to performance sitting at 100% CPU usage and major stuttering as I think it doesn't even attempt to play the file locally.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2024-08-24, 11:38 AM
    Can you share the media info of the videos you're trying to play? And also your server logs?

    I suspect transcoding might be happening.
    Nachtigaller
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #7
    2024-08-24, 02:36 PM
    Here's the log in two pieces due to it's size and media info but regarding the log: I was trying a lot of different things so I don't know what random stuff there is in there.


    Attached Files
    .txt   Media_Info.txt (Size: 1.43 KB / Downloads: 113)
    .txt   jellyfin20240824_log_1.txt (Size: 168.6 KB / Downloads: 62)
    .txt   jellyfin20240824_log_2.txt (Size: 190.51 KB / Downloads: 79)
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #8
    2024-08-24, 02:55 PM
    Your file is in HDR.

    Both MPV Shim & JMP will need to transcode that to SDR.
    Nachtigaller
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #9
    2024-08-24, 03:15 PM
    It's always the things you least expect.
    But just for my understanding: Why does it have to transcode (even with direct path) when playing the file directly with MPV doesn't anything?
    « 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