• 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 Development Feature Requests MKV support

     
    • 0 Vote(s) - 0 Average

    MKV support

    MKV support
    Geroldm972
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    Country:Paraguay
    #1
    2023-11-26, 03:56 AM (This post was last modified: 2023-11-26, 03:58 AM by Geroldm972. Edited 1 time in total.)
    My collection consists of at least 40 TByte on content. And 95% is compressed using HVEC (x265/h265) and stored as MKV container. Google told me that MKV is not natively supported. The only suggestion I found, was to re-encode everything to MP4. Now, I really like Jellyfin, but I dread the job of re-encoding to MP4. really dread. 

    Why? Let me explain my hardware/software situation: I have only recently discovered Jellyfin and I made via ProxMox a Linux-based VM with Jellyfin. Then I created SMB shares to my (bare-metal) media server that runs Windows. Jellfin runs absolutely fine this way and I'm not inclined to change it. All 3 of my ProxMox nodes run on computers that are around 10 years old. 2 of these have AMD CPUs with built-in video-card and the node with Intel CPU has only a Geforce 210 card in it. Good enough for basic office tasks, but nothing else. The Windows-based media server is a 1st gen AMD Ryzen, also with a GeForce 210 card in it.

    CPU encoding is slow, but higher quality. Luckily I live in a country where electricity is very cheap, so my media-server makes long hours. Before my discovery of Jellyfin I just used PotPlayer on Windows and MPV on Linux to watch the content. So, I have lots of weak to very weak hardware in my network. Unfortunately, video cards are very expensive in this country. Prices may have dropped in the rest of the world, here in South-America they didn't. 

    As a family-man, my budget for this hobby is (strictly) limited. I rather feed the wife, kids and dogs and provide a roof, school and clothing for them.

    With that lengthy explanation finally out of the way; I see that all MKV content is being transcoded in Jellyfin, when watched via Chrome (Amdroid), Firefox (Linux/Windows) and Vivaldi (Windows). And with the hardware at hand I probably need a year or two just to re-encode to MP4. Not an investment I'm willing to make. Yet I would rather like it if Jellyfin did not have the need to transcode MKV content. A lot of the content is 720p. Some of it is 480p. In the cities here internet aplenty. But in the country-side where I domicile, you are elated if 720p online content comes through. Heck, even 480p content "stutters" on occasion. And I live rather close to my local ISP. My neighbor lives much farther away and he's happy with 480p content. 

    Watching content in a browser on a phone, 720p content is more than ok. For the kids at least. My eyes are aging, and I noticed that the wife also starts to reach for reading glasses more often than she likes to admit, so we rather watch on my (1080p) TV or monitor. And there the grain of transcoding is very noticeable. Re-encoding isn't lossless, hence I fully expect the graining to become permanent after re-encoding all MKV content to MP4.

    MKV support would therefore be very appreciated.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-26, 04:30 AM
    What do you mean "MKV is not natively supported"?

    Android - Use the official Jellyfin app or Findroid.
    Linux/Windows - Use Jellyfin Media Player

    My entire library uses MKV and is encoded with HEVC and, recently, AV1. Except for browsers, everything is direct played. Firefox just doesn't support HEVC because of royalties and patents. Chrome on Windows technically does, but requires some encouragement to do so.
    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]
    paulc
    Offline

    Member

    Posts: 82
    Threads: 7
    Joined: 2023 Jun
    Reputation: 5
    Country:United States
    #3
    2023-11-26, 04:33 AM
    I stopped reading at "Google told me..." Just dropping by to give you the link to Jellyfin's codecs page. https://jellyfin.org/docs/general/client...c-support/
    use7
    Offline

    Junior Member

    Posts: 23
    Threads: 0
    Joined: 2023 Jun
    Reputation: 2
    #4
    2023-11-26, 11:29 AM
    Just wanted to put a clarifier here; technically mkv isn't supported across all platforms (url the jellyfin codecs page as inserted by paulc above), but as long as your video/audio codecs are supported the remxing that JF will do is negligible, as in their own words, "If the container is unsupported, this will result in remuxing. The video and audio codec will remain intact but wrapped in a supported container. This is the least intensive process. Most video containers will be remuxed to use the HLS streaming protocol and TS containers. Remuxing shouldn't be a concern even for an RPi3."  Since the video/audio streams are left untouched there'll be no visual distortions.

    The larger difficulty is that h265 is not universally supported by all platforms (due to licensing/etc) which isn't on JF; but using a player that supports a wide range of codecs (JMP as is DreadPirate's suggestion) will make it so you don't have to do on-the-fly transcoding (and thus cause potential artifacting as you mentioned).  That said, it seems like in your ask there's more than just local users, and at non-native resolutions.  These are going to require transcoding in some format.  As long as you only have 1 or 2 streams going, even CPU transcoding will be feasible even on dated hardware (I've personally had up to 3 1080 -> 720p streams on an older intel duo quad without issue); and you can tune the transcoding in setttings -> dashboard -> playback (namely encoding preset and the crf values) to attempt to circumvent visual artifacting.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2023-11-26, 04:41 PM
    (2023-11-26, 11:29 AM)use7 Wrote: Remuxing shouldn't be a concern even for an RPi3."  

    unless of course the user sets their transcode folder to the sdcard (or any other user errors that are common for Pi owners)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-11-26, 05:28 PM
    (2023-11-26, 04:41 PM)tmsrxzar Wrote:
    (2023-11-26, 11:29 AM)use7 Wrote: Remuxing shouldn't be a concern even for an RPi3."  

    unless of course the user sets their transcode folder to the sdcard (or any other user errors that are common for Pi owners)

    If this is the case, the transcode directory is configurable in the Playback dashboard.
    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]
    Kubwa
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #7
    2023-11-30, 08:19 AM
    MKV doesnt matter in this case. It is only the container. Puttng your videos in another container doesnt take any cpu usage at all.
    What is hungry is transcoding. Now it depends on your player devices. When your clients are supporting H265, everything is fine. Nothing has to be transcoded. If not, well, its not Jellyfins fault Smiling-face
    keenbean
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #8
    2025-01-03, 01:41 PM
    Hey I know this thread is old but I'm very new and having the same mkv issue, which is what 90% of my media is. From what I've gleaned here, it's up to the client device's capabilities/supported codecs/containers? I Got a few streamer boxes for christmas to spread around the house and none of them are even showing the mkv files much less play them. Is this a streamer box issue or am I just ignorant about how to set things up correctly?

    NVIDIA SHIELD Android TV Pro 2019 model (haven't checked yet)
    Google TV Streamer 4K
    ONN Google TV 4K Pro 2024 model
    LG C series oled tv
    I also have a roku but it's a very old and the most basic model so I just assume it wont work

    All of these devices that I have tried, I got the jellyfin client from their individual app store. Is it possible that the mkv limitation is in the app itself or the system as a whole? If it is the client they're providing that's the issue, couldn't I just find a generic jellyfin apk that supports mkv and load it onto them? Sorry for my absolute lack of knowledge. I'm just trying to get pointed in the right direction. Thanks for any advice in advance.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-01-03, 02:20 PM
    All of those devices support MKVs. 99.99% of my media is in MKVs. I have a Google TV Streamer, 2x CCwGTV 4Ks, and a Roku 4800X. All of them can play everything, most of the time they direct play.

    When you look at your Jellyfin server in a browser, does it show all your content? What OS is your server running and what Jellyfin server version?
    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