Merge pull request #1094 from kontell/patch-1

Select mp4 container when transcoding to AV1
This commit is contained in:
mcarlton00 2026-02-13 09:28:50 -05:00 committed by GitHub
commit 682e5cef9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -280,6 +280,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