<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.serviio.org/xsd/profiles/v/1.10/Profiles.xsd">
<Profile id="Onn_4K" name="Onn 4K player" extendsProfileId="1">
      <Transcoding>
	  <!-- this profile is for the Onn 4K streaming player. It assumes the player is connected to an AVR that supports DTS lossless audio, and only transcodes Dolby TrueHD. The Onn player will stream 
	  UHD rips, but will not process TrueHD audio. The profile will not alter the video, and does not touch any other audio codecs, nor does it transcode any video. All testing was accomplished using Kodi,
		MrMC and VLC as the player apps. -->
         
		 <!-- transcode HD video unsupported by device, transcode audio regardless of codec -->
         
         <!-- Remux TrueHD and DTS-MA, transcode audio only -->
         <Video targetContainer="mpegts" targetACodec="ac3" >
             <Matches container="*" aCodec="truehd" />
			 <Matches container="*" aCodec="dts-hd" />
         </Video>
		 </Transcoding>
      <ThumbnailsResolution>HD</ThumbnailsResolution>
      <AllowChunkedTransfer>true</AllowChunkedTransfer>
      <MultipleAudioTrackAware>true</MultipleAudioTrackAware>
      <AutomaticImageRotation>true</AutomaticImageRotation>
      <LimitImageResolution>false</LimitImageResolution>
		<Subtitles>
         <SoftSubs mime-type="smi/caption" type="srt" />
         <HardSubs>
            <TextBased supported="true" />
         </HardSubs>
      </Subtitles>
   </Profile>

</Profiles>