• 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 How to correctly add BDMVs / BluRays

     
    • 1 Vote(s) - 5 Average

    How to correctly add BDMVs / BluRays

    Lynxes Exe
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-16, 12:06 AM
    Hello everyone!

    I've been struggling for a while now to add BDMVs and BluRays (TV Shows) to my Jellyfin collection, the reason why is that Jellyfin scans for every m2ts file and "takes for granted" that I want to see it, even though most of them are actually "trash" (ex: ads, notices, menus, etc).

    I've been googling around and I found out some code and PRs relative to BluRays and DVDs playback, I've found some people mentioning .NFO files with the name index.nfo and I have seen people mention that Jellyfin "does not play the correct playlist", but none of this makes sense to me.

    In my case it looks like Jellyfin is just looking m2ts files and is ignoring the index.bdmv file or any playlist, it just looks for video files and makes them available; it even adds an .nfo file for every m2ts file  present in the STREAM directory.

    Is this due to a configuration error, should I manually add an NFO file? (and if so, what should it look like?) Or are BDMVs not really supported aside from opening the m2ts files and therefore some more development is necessary?

    I wanted to clarify before spending more time navigating the large code base or googling for a solution that doesn't exist. I would also like to contribute to the documentation is the solution is already available.

    I'm aware that a possible solution is to convert the directories to .mkv, I would prefer to keep the original .bdmv structure.

    Thanks in advance!
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-01-09, 04:57 AM (This post was last modified: 2024-01-09, 06:32 AM by tmsrxzar. Edited 2 times in total.)
    *bump

    i am rather curious about this as well, does anyone have any info on this?

    nevermind, it's faster to find out for myself
    seems to work fine, opens it as a "bluray:" with ffmpeg and remuxes to the client, both iso and raw BDMV folder structure straight from makemkv
    following the normal naming and it scans fine

    movies/movie.name.year.1080p.bluray.extrainfo.whatever
    movies/movie.name.year.1080p.bluray.extrainfo.whatever/BDMV
    or
    movies/movie.name.year.1080p.bluray.extrainfo.whatever/movie.name.year.1080p.bluray.extrainfo.whatever.iso

    the web player from the web interface warns it can't decrypt even though it doesn't need to, plays fine, seeking works but takes ~2s to catchup
    the zidoo fork of the android client plays fine, no seekbar available, time stays at 00:00/00:00 (very likely it's the fork's fault), saves a resume point when stopped but cannot actually resume from that timestamp

    didn't try any other clients, tested both 4K UHD and regular 1080p BluRay backups
    LynxesExe
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-03-09, 12:56 PM
    Hello, sorry I... embarassingly lost access to my previous account.

    There were several things that were wrong about my original post which I later found out by trial and error and by looking through the code and the SQLite DB and simply by updating Jellyfin to experimental.

    Jellyfin works fine, as reported by @tmsrxzar as long as you are playing a movie, but there is a caveat:
    - Obviously the media cannot be DRM protected, but this was pretty obvious from the start
    - Your client needs to be compatible with the various required codecs (hevc/avc for video and the various dolby stuff for audio)
    - If you want to direct play (or rather, Remux on the fly), the user you are using must NOT have permission to encode streams, while having permission to transcode streams.

    The third point is the one that I was stuck at, Jellyfin can and will remux, it seems however that if it can transcode, it will do that instead... most of the time. Sometimes if the profile is set to _"Auto"_ it will Remux.

    It would be nice if there was a way to force Remuxing, like an extra option on the quality settings, aside from 4K and Auto, there should be 4k, Auto, Remux.

    I tried using the official Jellyfin app on Windows (aka MPV), Edge however got stuck (likely due to lack of codec support).

    Actual Issues
    At the moment aside from this annoying but very much manageable minor bug, the major problem lies in Jellyfin dealing with shows in BDMV format.

    It seems to me that Jellyfin just isn't capable to recognize episodes in BDMVs, it will scan the playlists, find the longest one (which usually is a playlist playing all the episodes back to back) and that's what you'll be watching, it won't be able to figure out what BDMVs contain which episodes or which Extras, nor can you manually specify it.

    It's usable but it's not great.

    I understand that finding out what a BDMV contains can be either very hard or impossible, but it would be nice if the user could specify to Jellyfin what a BDMV contains either manually by selecting a video stream and labeling it as an episode or extra (not pretty, but better than how it is now) or by automatically figuring it out by having some sort of convention in the name, for example:


    Shows/Penny Dreadful/Season 1/DISC_1-EP01-04/BDMV
    Shows/Penny Dreadful/Season 1/DISC_2-EP05-08/BDMV


    At that point it would be a matter of reading the directory name and parsing what episodes are container, so according to the first example it would be 4 episodes; then sorting all the streams in the BDMV by longest to shortest, removing the first one (which is likely just playing all the episodes back to back) and there you have the 4 episodes... in theory, possibly unordered.

    (I'm looking to implement this but I'm not exactly knowledgeable about C# nor do I know the Jellyfin codebase, so for now it's quite a struggle)
    1
    nuk
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    #4
    2024-12-25, 06:33 PM (This post was last modified: 2024-12-25, 06:34 PM by nuk. Edited 1 time in total.)
    Jellyfin does automatically recognize episodes for me in latest version. There may have been some bugfixes since you tried in March.

    I found good naming help from Kodi documentation of all places, not Jellyfin. But it works for me in both Kodi and Jellyfin to recognize all my episodes. https://kodi.wiki/view/Naming_video_file...sode_Files

    My folder structure:

    .../Shows/Sailor Moon (1992)/
    .../Shows/Sailor Moon (1992)/Sailor Moon (1992) S01E01E02E03E04E05E06E07E08/BDMV/index.bdmv
    .../Shows/Sailor Moon (1992)/Sailor Moon (1992) S01E09E10E11E12E13E14E15E16/BDMV/index.bdmv
    .../Shows/The Office (2005)/
    .../Shows/The Office (2005)/The Office (2005) S01E01E02E03E04E05E06
    .../Shows/The Office (2005)/The Office (2005) S02E01E02E03E04E05E06


    And so on.

    I did originally name stuff like "The Office (2005) S01E01-E06", but I found that wasn't quite as consistent as explicitly listing every episode in the name.
    LynxesExe
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Jan
    Reputation: 0
    #5
    2025-03-15, 02:40 AM
    Sir, thank you!

    This is much better, at least now I know which disc contains what and Jellyfin can display something somewhat decent.

    It would be very interesting if in the future we could map an entry to a playlist inside the BDMV to allow a user to click on an episode and start the correct portion of the disk rather than just have one long video file.

    Regardless, this is much better, thank you so much! I can finally watch shows on BDMVs Grinning-face
    nuk
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    #6
    2025-03-15, 03:49 PM
    (2025-03-15, 02:40 AM)LynxesExe Wrote: It would be very interesting if in the future we could map an entry to a playlist inside the BDMV to allow a user to click on an episode and start the correct portion of the disk rather than just have one long video file.

    I've thought the same thing! The scenes are already automatically recognized with the default playlist. Imo it ought to be possible to save the relevant timestamps to an NFO file.

    I think it'll necessarily always show up during playback as one long video file, but that's not a big deal to me.
    « 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