• 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 Ram disk requirements

     
    • 0 Vote(s) - 0 Average

    Ram disk requirements

    webtron
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:Australia
    #1
    2023-08-04, 11:48 PM
    What are the ram disk requirements for transcoding. I'm watching a live tv stream with the app on a Chromecast with Google tv and I get a little slight pause every minute or so. It seems to go away if I pause the playback for 10 seconds so I think it's to do with a new transcoding file being created and the app not keeping much in the cache. Anyway when I look in the transcoding directory Jellyfin seems to keep the whole session of files from when I started watching. Does Jellyfin have a limit before it starts flushing the old data so I can work out how big the ram disk needs to be?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-08-05, 12:56 AM
    From experience, it does not clean up until you stop. If you think about it, that makes sense. If you want to skip back to an earlier part it already deleted then it would need to reload that part and retranscode.

    I'd say 4GB is a pretty decent size ram disk. I haven't had issues with my 4GB ram disk. My content is 1080p max, I don't transcode live TV.
    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]
    webtron
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:Australia
    #3
    2023-08-05, 01:08 AM
    Thanks for the reply.
    How do you disable transcoding? I have tuner connected to Tvheadend and it passes through the stream untouched but Jellyfin transcodes it.
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
    Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-08-05, 01:19 AM
    In Settings > Dashboard > Users > Pick a user

    Is "Force transcoding of remote media sources" checked?

    My two live tv channels are H264/aac and don't transcode.


    Attached Files Thumbnail(s)
       
    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]
    34626
    Offline

    Member

    Posts: 172
    Threads: 36
    Joined: 2023 Jul
    Reputation: 0
    Country:Denmark
    #5
    2023-08-09, 04:57 PM
    I have a ramdisk on 24 GB, i have multiple users so sometimes it comes up on 20 GBusage.. the usage stops when amovie is stopped.

    May i ask about the source of Live TV? I havent had luck using Live TV in Jellyfin yet..
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-08-09, 05:08 PM
    Some channels have IPTV streams. In my case NHK World and my local PBS station. They provide m3u/m3u8 files. In jellyfin you can't use the URL, you have to download the m3u file and save it locally. Then point Jellyfin to that m3u file (Settings > Dashboard > Live TV). TV guide data is separate and often not provided by the IPTV source. There are 3rd party TV guide providers that are not free.
    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]
    bitmap
    Online

    Community Moderator

    Posts: 771
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #7
    2023-08-09, 06:04 PM
    Isn't best practice to have the RAM disk the same size as the file you're transcoding? So if you've got massive 4K remuxes, chuck as much into the RAM disk as you can, but if it's mostly middling bitrate 1080p content, a few gigs will do fine?
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-08-09, 06:15 PM
    (2023-08-09, 06:04 PM)bitmap Wrote: Isn't best practice to have the RAM disk the same size as the file you're transcoding? So if you've got massive 4K remuxes, chuck as much into the RAM disk as you can, but if it's mostly middling bitrate 1080p content, a few gigs will do fine?

    Yeah.  4GB works for me, but I only have 2 people using my server at the same time, max.  My content is all 1080p and transcodes are usually to a lower bit rate and resolution and fit within my 4GB ram disk.

    If you have 4K content or have a lot of users you probably need more.
    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