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
814 stars 92 forks source link

Guess it doesn't recognize extension m2ts #730

Closed costaht closed 1 year ago

costaht commented 2 years ago

Guess it will consider the extension m2ts as a group as per the example below:

[tijuco@think-fedora ~]$ guessit Kin-Dza-Dza.1986.1080p.1080p.JPN.Blu-ray.AVC.LPCM.2.0-Anonymous.m2ts
For: Kin-Dza-Dza.1986.1080p.1080p.JPN.Blu-ray.AVC.LPCM.2.0-Anonymous.m2ts
GuessIt found: {
    "title": "Kin-Dza-Dza",
    "year": 1986,
    "screen_size": "1080p",
    "language": "Japanese",
    "source": "Blu-ray",
    "video_codec": "H.264",
    "video_profile": "Advanced Video Codec High Definition",
    "audio_codec": "LPCM",
    "audio_channels": "2.0",
    "release_group": "Anonymous.m2ts",
    "type": "movie"
}

[tijuco@think-fedora ~]$ guessit Kin-Dza-Dza.1986.1080p.1080p.JPN.Blu-ray.AVC.LPCM.2.0-Anonymous.mkv
For: Kin-Dza-Dza.1986.1080p.1080p.JPN.Blu-ray.AVC.LPCM.2.0-Anonymous.mkv
GuessIt found: {
    "title": "Kin-Dza-Dza",
    "year": 1986,
    "screen_size": "1080p",
    "language": "Japanese",
    "source": "Blu-ray",
    "video_codec": "H.264",
    "video_profile": "Advanced Video Codec High Definition",
    "audio_codec": "LPCM",
    "audio_channels": "2.0",
    "release_group": "Anonymous",
    "container": "mkv",
    "mimetype": "video/x-matroska",
    "type": "movie"
}
Toilal commented 2 years ago

Could you explain what's this extension ?

duramato commented 2 years ago

It's a container file format for video and audio used in bluray disks. Based on the .ts . More info: https://en.wikipedia.org/wiki/.m2ts