I've made a config for the raspberry pi:
Code: Select all
<Profile id="pi" name="Pi" extendsProfileId="1">
<Detection>
<HttpHeaders>
<friendlyName.dlna.org>XBMC*</friendlyName.dlna.org>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/mp4" name="">AVI</MediaFormatProfile>
</MediaFormatProfiles>
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
<Transcoding>
<Video targetContainer="mpegts" targetACodec="aac" aBitrate="192">
<Matches container="*" aCodec="dca" />
<!-- don't think you need this, but if AC-3 doesn't work then uncomment the line below-->
<!-- <Matches container="*" aCodec="ac3" /> -->
</Video>
</Transcoding>
</Profile>
You will have to set the profile manually in the console if you're not using XBMC or it doesn't recognise it. You can do likewise for any other formats it doesn't support.