<protocolInfo extend="yes"/>
<custom-http-headers>
<!-- 자막지원을 위한 부분 -->
<add header="X-User-Agent: redsonic"/>
<!-- Samsung TV와의 호환성을 해결하기 위한 부분 -->
<add header="transferMode.dlna.org: Streaming"/>
<add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000"/>
</custom-http-headers>
<manufacturerURL>redsonic.com</manufacturerURL>
<modelNumber>105</modelNumber>
<extended-runtime-options>
<!-- Thumbnail 만들기 -->
<ffmpegthumbnailer enabled="yes">
<thumbnail-size>128</thumbnail-size>
<seek-percentage>5</seek-percentage>
<filmstrip-overlay>yes</filmstrip-overlay>
<workaround-bugs>no</workaround-bugs>
</ffmpegthumbnailer>
</extended-runtime-options>
<map from="srt" to="video/subtitle"/>
<map from="smi" to="smi/caption"/>
<!-- 자막을 아예 미디어에 함께 Encoding하려는 경우 (Mobile이나 자막지원이 되지 않는 렌더러등의 지원을 위해서... -->
<transcoding enabled="no">
<mimetype-profile-mappings>
<transcode mimetype="video/subtitle" using="mencoder-sub"/>
</mimetype-profile-mappings>
<profiles>
<profile name="mencoder-sub" enabled="yes" type="external">
<mimetype>video/mpeg</mimetype>
<accept-url>yes</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>yes</accept-ogg-theora>
<agent command="/usr/local/bin/mediatomb-mencoder-sub" arguments="%in %out"/>
<buffer size="1000000" chunk-size="512000" fill-size="20480"/>
</profile>
</profiles>
</transcoding>