Select mp4 container when transcoding to AV1

This commit is contained in:
kontell 2026-02-04 11:36:59 +00:00 committed by GitHub
commit ee7251b51c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -278,6 +278,9 @@ class PlayUtils(object):
audio_bitrate,
)
if "av1" in self.get_transcoding_video_codec():
params += "&SegmentContainer=mp4"
video_type = "live" if source["Protocol"] == "LiveTV" else "master"
base = base.replace(
"stream" if "stream" in base else "master", video_type, 1