Information about profiles_xml for ROKU audio to work
Posted: Thu Apr 21, 2022 3:40 pm
I have had to change several sections in the Profiles.xml file in order to get my audio to work. I wanted to share what I have to do so hopefully changes can be implemented or the information can help anyone else.
I use mp4 s with h265 encoding
After hours of debugging and testing not only the Servio transcoding settings, but also changes to audio settings on the TVs. like PCM, Dolby, etc.. these are the settings I had to tweak in order to get proper playback.
around line 2670
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" forceVTranscoding="true" targetACodec="aac" aBitrate="128" forceStereo="true">
<!--cdc-->
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="*" widthGreaterThan="1920" />
</Video>
around line 2710
<!--<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" targetACodec="ac3" aBitrate="320">-->
<!-- for no surround passthrough-->
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" targetACodec="aac" aBitrate="128" forceStereo="true">
<!--cdc-->
<Matches container="*" />
</Video>
added another ROKU profile around line 2744
I have uploaded the file and if you do a search on 'cdc' you will see all of the sections I had to change.
I use mp4 s with h265 encoding
After hours of debugging and testing not only the Servio transcoding settings, but also changes to audio settings on the TVs. like PCM, Dolby, etc.. these are the settings I had to tweak in order to get proper playback.
around line 2670
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" forceVTranscoding="true" targetACodec="aac" aBitrate="128" forceStereo="true">
<!--cdc-->
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.1" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
<Matches container="*" widthGreaterThan="1920" />
</Video>
around line 2710
<!--<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" targetACodec="ac3" aBitrate="320">-->
<!-- for no surround passthrough-->
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" targetACodec="aac" aBitrate="128" forceStereo="true">
<!--cdc-->
<Matches container="*" />
</Video>
added another ROKU profile around line 2744
I have uploaded the file and if you do a search on 'cdc' you will see all of the sections I had to change.