Mon Dec 26, 2011 9:02 am by Liljestrom
Here is my Profiles.xml:
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
<Detection>
<UPnPSearch>
<FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>
<ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
</UPnPSearch>
<HttpHeaders>
<!-- for BD players -->
<User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[HT\][CD].*)</User-Agent>
</HttpHeaders>
</Detection>
<DeviceDescription>
<ExtraElements>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</ExtraElements>
</DeviceDescription>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="128">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
</Video>
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="128">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>
<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="flv" />
<Matches container="ogg" />
</Video>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<Video targetContainer="mpegts">
<Matches container="wtv" />
</Video>
<!-- transcode audio only for wmv with wmapro -->
<Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
<Matches container="asf" aCodec="wmapro" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
</Transcoding>
</Profile>