feat(format): add bluray / webrip sources

This commit is contained in:
santiagosayshey
2024-12-08 10:23:05 +10:50
parent 29ab7f7594
commit 67b0e88e3d
4 changed files with 209 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
name: Blu-ray
description: 'Blu-ray is a digital optical disc format that succeeded DVD, offering
significantly higher storage capacity and video quality. It gets its name from the
blue-violet laser used to read the disc, which has a shorter wavelength than the
red laser used in DVDs, allowing it to store more data in the same physical space.
Standard Blu-rays (also known as BD-25 for single-layer and BD-50 for dual-layer)
store 25GB or 50GB respectively, typically containing 1080p video encoded with H.264/AVC
at bitrates up to 40Mbps, alongside high-quality audio formats like DTS-HD MA (up
to 24.5Mbps) or Dolby TrueHD (up to 18Mbps). '
tags:
- Source
- 1080p
- Storage
conditions:
- name: Bluray
negate: false
required: true
source: bluray
type: source
- name: Remux
type: release_title
required: false
negate: true
pattern: Remux
tests:
- conditionResults:
- matches: true
name: Remux
negate: true
pattern: Remux
required: false
type: release_title
expected: false
id: 1
input: 1917 (2019) 2160p UHD BluRay REMUX HEVC DV HDR10+ TrueHD Atmos 7.1 English-FraMeSToR
lastRun: '2024-12-07T00:14:33.451899'
passes: true
- conditionResults:
- matches: false
name: Remux
negate: true
pattern: Remux
required: false
type: release_title
expected: true
id: 2
input: 7.Seconds.2005.1080p.BluRay.DD+5.1.x264-playHD.mkv
lastRun: '2024-12-07T00:14:33.451899'
passes: true

56
custom_formats/WEBRip.yml Normal file
View File

@@ -0,0 +1,56 @@
name: WEBRip
description: 'A WEBRip is a video file created by capturing and potentially re-encoding
content from streaming services or web platforms. It can be produced through several
methods: capturing via HDMI with HDCP stripping (often at higher resolutions like
4K then encoding down to 1080p, resulting in larger file sizes due to the high-quality
source), re-encoding from Web-DL sources when they offer superior quality to physical
media, or through traditional web capture methods without re-encoding. Unlike Web-DLs
which are direct downloads of the source file, WEBRips involve some form of capture
or conversion process, which can affect quality and file size depending on the method
and settings used.'
tags:
- Lossy
- Source
conditions:
- name: WEBRip
negate: false
required: true
source: webrip
type: source
tests:
- conditionResults:
- matches: true
name: x264
negate: false
pattern: x264
required: true
type: release_title
expected: true
id: 1
input: American.Masters.S36E03.Waterman.Duke.Ambassador.of.Aloha.1080p.WEBRip.x264-BAE.mkv
lastRun: '2024-12-07T00:26:59.849393'
passes: true
- conditionResults:
- matches: false
name: x264
negate: false
pattern: x264
required: true
type: release_title
expected: false
id: 2
input: Rapunzel's Tangled Adventure S01 1080p WEBRip AAC 5.1 x265-PoF
lastRun: '2024-12-07T00:26:59.849393'
passes: true
- conditionResults:
- matches: true
name: x264
negate: false
pattern: x264
required: true
type: release_title
expected: true
id: 3
input: Wacky Races 2017 720p S03 WEBRip DD 2.0 h264-NOGROUP
lastRun: '2024-12-07T00:26:59.849393'
passes: true

24
regex_patterns/Remux.yml Normal file
View File

@@ -0,0 +1,24 @@
name: Remux
pattern: remux
description: A remux is a digital video file that maintains the exact quality of the
original source (like a Blu-ray or DVD) by copying the video and audio streams without
re-encoding them, essentially creating a perfect 1:1 copy. Think of it like carefully
transferring the contents of a Blu-ray disc into a more convenient container file
format (typically MKV), similar to pouring fine wine from its bottle into a decanter
without changing the wine itself.
tags:
- Codec
- h264
- h265
- Lossless
tests:
- expected: true
id: 1
input: 1917 (2019) 2160p UHD BluRay REMUX HEVC DV HDR10+ TrueHD Atmos 7.1 English-FraMeSToR
lastRun: '2024-12-07T00:09:00.820662'
matchSpan:
end: 34
start: 29
matchedContent: REMUX
matchedGroups: []
passes: true

80
regex_patterns/x264.yml Normal file
View File

@@ -0,0 +1,80 @@
name: x264
pattern: ^(?!.*(?i:remux)).*([xh](\.?264)|DVDRip)
description: 'An open source encoder that produces H.264 videos. '
tags:
- Encoder
- Codec
tests:
- expected: true
id: 1
input: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264-SubsPlease
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 59
start: 0
matchedContent: Dan Da Dan AKA Dandadan S01E10 1080p CR WEB-DL AAC 2.0 x264
matchedGroups:
- x264
- '264'
passes: true
- expected: true
id: 2
input: Life of Pi 2012 1080p BluRay x264-SPARKS
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 33
start: 0
matchedContent: Life of Pi 2012 1080p BluRay x264
matchedGroups:
- x264
- '264'
passes: true
- expected: false
id: 3
input: Scrubs (2001) S04 REPACK (1080p AIUS DVDRip x265 10bit AC3 5 1 English -
JBENT)[TAoE]
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 43
start: 0
matchedContent: Scrubs (2001) S04 REPACK (1080p AIUS DVDRip
matchedGroups:
- DVDRip
- null
passes: false
- expected: false
id: 4
input: Wallander UK S01-S04 DVDRip XviD BDRip x264-Scene (2008-2016)
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 43
start: 0
matchedContent: Wallander UK S01-S04 DVDRip XviD BDRip x264
matchedGroups:
- x264
- '264'
passes: false
- expected: false
id: 5
input: Rugrats S05 480p DVDRip Opus 2.0 AV1-Jenkins
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 23
start: 0
matchedContent: Rugrats S05 480p DVDRip
matchedGroups:
- DVDRip
- null
passes: false
- expected: true
id: 6
input: _Summer S00 JAPANESE 480p DVDRip DD 2.0 x264-Tsundere
lastRun: '2024-12-07T00:22:39.865345'
matchSpan:
end: 44
start: 0
matchedContent: _Summer S00 JAPANESE 480p DVDRip DD 2.0 x264
matchedGroups:
- x264
- '264'
passes: true