- Code:
<Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
<Detection>
<X-AV-Client-Info>.*BRAVIA.*</X-AV-Client-Info>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/mpeg" name="MPEG_TS_SD_EU_ISO">MPEG_TS_SD_EU</MediaFormatProfile>
<!-- <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3</MediaFormatProfile> -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- Parser takes the first match, in the order specifed in this profile. -->
<!-- First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3 -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="h264" />
<Matches container="mpegts" aCodec="aac" /> <!-- if audio different to ac3, must be transcoded -->
<Matches container="mpegts" aCodec="mp3" />
<Matches container="mpegts" aCodec="dca" />
</Video>
<!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio. -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="asf" />
<Matches container="avi" />
<Matches container="mp4" />
<Matches container="matroska" />
</Video>
</Transcoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>
I don't know why, I had to change/toogle between two MediaFormatProfile to work?:! I don't know what are the differences...
<MediaFormatProfile mime-type="
video/mpeg" name="
AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="
video/vnd.dlna.mpeg-tts" name="
AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
Well, all is great with this profile, the following files format were supported and tested
- AVI with VC1/MPEG4Xvid/MPEG4Divx5 video and MP3/AAC audio
- BDAV with AVC and AC3
- DIVX with MPEG4Divx5 and MP3
- MKV with AVC / MPEG4Divx5 and AAC/AC3
- MP4 with AVC / MPEG4 and AAC
- MPEG-TS with MPEG2 / and MP1L2 / AC3
- MPEG-PS with MPEG1 video and MP1L2 audio
One MOV file failed du to ffmpeg not supported transcode MPEG2 with 10fps of the sample file
One MP4 file failed due to ffmpeg not supported transcode MPEG2 with 15fps of the sample file
One MPEGTS failed due to ffmpeg not supported a non monotone timestamp of the sample file