guessit-io / guessit

GuessIt is a python library that extracts as much information as possible from a video filename.
https://guessit-io.github.io/guessit
GNU Lesser General Public License v3.0
813 stars 92 forks source link

Add support for Dolby Vision Detection #648

Open 0-MegaMind-0 opened 4 years ago

0-MegaMind-0 commented 4 years ago

As Dolby Vision is now gaining popularity among UHD BluRay groups have started using DV for Dolby Vision (there are few streaming services that offer this too) SL.DV for Single Layer Dolby Vision muxed inside a ts container DL.DV for Dual Layer Dolby Vision mused in a mp4 Container guessit currently sees them as either alternative title or Multiple languages for DL

tests: guessit "Top.Gun.1986.SL.DV.UHD.BluRay.2160p.TrueHD.Atmos.7.1.HEVC.REMUX-FraMeSToR.ts"

GuessIt found: {
    "title": "Top Gun",
    "year": 1986,
    "alternative_title": "SL DV",
    "source": "Ultra HD Blu-ray",
    "screen_size": "2160p",
    "audio_codec": [
        "Dolby TrueHD",
        "Dolby Atmos"
    ],
    "audio_channels": "7.1",
    "video_codec": "H.265",
    "video_profile": "High Efficiency Video Coding",
    "other": "Remux",
    "release_group": "FraMeSToR",
    "container": "ts",
    "mimetype": "video/MP2T",
    "type": "movie"
}

guessit "Top.Gun.1986.DL.DV.UHD.BluRay.2160p.DTS-HD.MA.7.1.HEVC.REMUX-FraMeSToR"

GuessIt found: {
    "title": "Top Gun",
    "year": 1986,
    "language": "Multiple languages",
    "alternative_title": "DV",
    "source": "Ultra HD Blu-ray",
    "screen_size": "2160p",
    "audio_codec": "DTS-HD",
    "audio_profile": "Master Audio",
    "audio_channels": "7.1",
    "video_codec": "H.265",
    "video_profile": "High Efficiency Video Coding",
    "other": "Remux",
    "release_group": "FraMeSToR",
    "type": "movie"
}
0-MegaMind-0 commented 2 years ago

An update on this. Due to dolby vision support in MKV . SL DV and DL DV are no longer being used.

We can detect dolby vision by checking for DV or DoVi those are the only two title options I have seen used frequently.

Movie 2017 2160p UHD BluRay REMUX DV HDR HEVC TrueHD 7.1-NoGroup
Long Movie Name 2022 2160p HMAX WEB-DL DD5.1 DV x265-NoGroup
TV SHOW S01 (2020) 2160p NF WEB-DL DD+5.1 DV HDR H.265-NoGroup
Tv.Show.S01E01.2160p.NF.WEB-DL.DDP5.1.DV.HDR.H.265-NoGroup.mkv
Some other movie 2017 2160p UHD BluRay DTS-HD MA 5.1 DoVi x265-NoGroup
Movie 2021 2160p WEB-DL DD+5.1 DoVi HEVC-NoGroup
TV SHOW S01 2160p WEB-DL DD+5.1 DoVi HEVC-NoGroup