feat(tracks): support HDR Vivid and Audio Vivid

Add Video.Range.VIVID and Audio.Codec.AV3A, found by the first-segment probe (CUVA SEI, MPEG-TS cuvv/AVSA/0xD5); sort videos by standard resolution, then bitrate; drop service names left in core and tests. Closes #179
This commit is contained in:
imSp4rky
2026-11-14 22:03:13 -07:00
parent 7a5ad5024a
commit 856a193061
26 changed files with 365 additions and 96 deletions
+1 -4
View File
@@ -190,10 +190,7 @@ def video_range(value: Any) -> Optional[Video.Range]:
name = str(value or "").upper()
if name in Video.Range.__members__:
return Video.Range[name]
try:
return Video.Range(name)
except ValueError:
return None
return next((r for r in Video.Range if r.value.upper() == name), None)
def int_or_none(value: Any) -> Optional[int]: