force a full transcode for AV1 instead of direct streaming

This commit is contained in:
Charles Ewert 2024-11-12 13:18:24 -05:00
parent f00038a61a
commit a79c259782

View File

@ -288,11 +288,9 @@ function getTranscodingProfiles() as object
end if
' AV1
' CanDecodeVideo() returns false for AV1 when the container is provided
' Manually add AV1 to the mp4VideoCodecs list if support is detected
if di.CanDecodeVideo({ Codec: "av1" }).Result
mp4VideoCodecs = mp4VideoCodecs + ",av1"
end if
' direct streaming av1 is not supported on roku
' force a full transcode by omitting av1 from the transcoding profile
' https://community.roku.com/t5/Roku-Developer-Program/HLS-fMP4-No-Audio/td-p/607399
' AUDIO CODECS
for each container in transcodingContainers