Mashing up 2 Profiles [Beginner]

Hello everyone,
i've got the following problem. My moms HomeCinema Blue-Ray Player (Panasonic SA-BTT770) doesn't play avi-files. MKV works great with the Panasonic Viera 2011 Profile.
So i've tried to use the this profile:
With this, avi-files work... but mkv doesn't. I've tried to mash the up to get both work. But i've no idea what i'm doing. Hope you could help me with this.
Btw: Excuse my bad english, i do not often use this language.
Greetings, CrazyDornie
i've got the following problem. My moms HomeCinema Blue-Ray Player (Panasonic SA-BTT770) doesn't play avi-files. MKV works great with the Panasonic Viera 2011 Profile.
So i've tried to use the this profile:
- Code:
<Profile id="24" name="Panasonic Viera (2011) Without AVI Support" extendsProfileId="1">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
<Transcoding>
<!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" >
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" 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" />
</Video>
<!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
<Video targetContainer="mpegts" targetACodec="ac3" >
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
<Matches container="mp4" vCodec="h264" aCodec="aac"/>
<Matches container="3gp" vCodec="h264" />
</Video>
<!-- Remux MPEG-TS with no transcoding -->
<Video targetContainer="mpegts">
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="mpeg2video"/>
</Video>
<!-- Remux WTV files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
</Video>
<!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="avi" />
<Matches container="mp4" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mpeg4" />
<Matches container="mpeg" vCodec="mpeg1video" />
<Matches container="matroska" vCodec="mpeg4" />
<Matches container="asf" />
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="3gp" />
</Video>
<!-- unsupported audio will be transcoded into lpcm audio -->
<Audio targetContainer="lpcm">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="asf" />
<Matches container="adts" />
</Audio>
</Transcoding>
</Profile>
With this, avi-files work... but mkv doesn't. I've tried to mash the up to get both work. But i've no idea what i'm doing. Hope you could help me with this.
Btw: Excuse my bad english, i do not often use this language.

Greetings, CrazyDornie