feat(core): add HDR Vivid hybrids and a MonaLisa command builder

This commit is contained in:
CodeName393
2026-12-01 15:29:03 -06:00
committed by GitHub
parent 71b8b63037
commit 90ab0ca4cb
27 changed files with 756 additions and 119 deletions
+6
View File
@@ -183,6 +183,7 @@ def video(**extra: Any) -> Video:
dv_compatible_bitstream=True,
hdr10plus=True,
hdr10_base=True,
hlg_base=True,
stereo=True,
id_="video-0001",
)
@@ -272,6 +273,7 @@ def track_fields(track: Any) -> dict[str, Any]:
dv_compatible_bitstream=track.dv_compatible_bitstream,
hdr10plus=track.hdr10plus,
hdr10_base=track.hdr10_base,
hlg_base=track.hlg_base,
stereo=track.stereo,
)
elif isinstance(track, Audio):
@@ -437,6 +439,7 @@ REST_VIDEO = {
"dv_compatible_bitstream": True,
"hdr10plus": True,
"hdr10_base": True,
"hlg_base": True,
"stereo": True,
"language": "en",
"is_original_lang": True,
@@ -529,6 +532,7 @@ EXPORT_VIDEO = {
"dv_compatible_bitstream": True,
"hdr10plus": True,
"hdr10_base": True,
"hlg_base": True,
"stereo": True,
}
@@ -591,6 +595,7 @@ VIDEO_FIELDS = {
"dv_compatible_bitstream": True,
"hdr10plus": True,
"hdr10_base": True,
"hlg_base": True,
"stereo": True,
}
@@ -958,6 +963,7 @@ def test_deserialize_a_track_from_an_older_server() -> None:
"dv_compatible_bitstream": False,
"hdr10plus": False,
"hdr10_base": False,
"hlg_base": False,
"stereo": False,
}
old_audio = deserialize_audio({"id": "a-old", "codec": "AAC", "atmos": True, "channels": 6})