• 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 Swiftfin Cache Settings?

     
    • 0 Vote(s) - 0 Average

    Swiftfin Cache Settings?

    File streams fine in VLC but not Swiftfin
    docsuess84
    Offline

    Junior Member

    Posts: 26
    Threads: 10
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #1
    2024-06-23, 09:48 PM (This post was last modified: 2024-06-23, 09:56 PM by docsuess84. Edited 1 time in total.)
    Is there a cache setting in Swiftfin I’m not seeing like there is in VLC? I’ve been trying to fine tune my file transfer speed issues, and files that had a hard time playing in Swiftfin and VLC with the default setting were cured by bumping the latency setting up to high on VLC, but I don’t see a way to adjust that in the Swiftfin settings.

    Actually I spoke too soon. I just went to play one of my other troubleshooting files and it couldn’t keep up on VLC either. All the same, does that setting exist?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-23, 10:28 PM
    AFAIK, that is not available on any Jellyfin client. How high of a bit rate are these videos and how are your Apple device and server connected to your network?
    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]
    docsuess84
    Offline

    Junior Member

    Posts: 26
    Threads: 10
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #3
    2024-06-24, 12:39 AM (This post was last modified: 2024-06-24, 01:00 AM by docsuess84. Edited 1 time in total.)
    So in another thread we ruled out Jellyfin itself through some logs. The issue had to be a file transfer bottleneck on my LAN. I’m not sure about the bit rates, but another factor that made a night and day difference was unchecking the “Prefer Samba 1” option in VLC. I haven’t been able to duplicate the issue on my iOS devices in VLC since I did that while Swiftfin’s performance remains unchanged. I kind of figured it had to be a Samba configuration between client devices and the storage drives connected natively to the host 2012 Mac Mini. Most of the problem media was stored on an external USB 3.0 HDD drive so I thought the bottleneck was a USB driver issue within Linux or a bad cord or something, but then again, it depended on what device was the client. I ruled out the USB issue by moving my test files onto the internal HDD drive and there was no difference. I was even having an issue with DVD rips but it was inconsistent across client devices running two different versions of an integrated Kodi OS (LibreElec vs OSMC). LibreElec plays flawlessly regardless of file or drive location. OSMC clients have struggled with files played from the host hard drives, iOS devices as well until the Prefer Samba 1 was changed. My other NAS devices serve files as Samba shares across the network to any device with no transfer speed issues. So something is screwy with the Samba protocol settings between my client device running OSMC and my hard drives mounted locally to my Lubuntu host Mac Mini but served as network Samba shares. It’s not the Wifi, and it’s not the Ethernet.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-24, 01:09 AM
    Can you share your ffmpeg and jellyfin logs via pastebin and provide a video name that you had issues with (to make it easier to find the log entries).
    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]
    docsuess84
    Offline

    Junior Member

    Posts: 26
    Threads: 10
    Joined: 2024 Apr
    Reputation: 0
    Country:United States
    #5
    2024-06-24, 03:22 AM (This post was last modified: 2024-06-24, 04:43 AM by docsuess84. Edited 1 time in total.)
    Are the FFMpeg logs separate or is that all one thing?

    In any case, here's a log. Files I've been using to test playback is The Mandalorian Season 1 Episode 1 for a tv show, and Falling Down for a movie. Playback is fine on my LibreElec client through the Kodi Plug-in but both stumble and freeze up in Swiftfin on the iPad, despite being direct play all around.

    https://pastebin.com/xsjSjvFf
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-24, 03:07 PM
    Go ahead and submit a github issue on the Swiftfin git.

    https://github.com/jellyfin/Swiftfin/issues

    On the server side, everything looks fine.
    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]
    « 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