[SOLVED] Sony MKV MPEG2 support
8 posts
• Page 1 of 1
New Sony 2013 supports MKV, but not MPEG2 inside an MKV container (e.g. MAKEMKV DVD output). Is there any way of changing the Sony 2013 profile available here to transcode the MKV container but preserve the content as MPEG2 to avoid data loss?
Re: Sony MKV MPEG2 support
Could you try this :
Modifications:
<!-- Remux matroska/mpeg2video + AC3 audio to MPEG-TS stream without transcoding -->
and
<!-- Remux all other matroska/mpeg2video to MPEG-TS stream with ac3 audio transcoding -->
- Code:
<Profile id="sony2013" name="Sony Bravia TV (2013)" extendsProfileId="1">
<!-- 2013 models
Codec list supported : http://pdf.crse.com/manuals/13MW802111/FR/codeclist.html#5
- Still images: JPEG (*.jpg / *.jpe / *.jpeg), MPO (*.mpo), RAW (*.arw)
- Music: LPCM, MP1L1 / MP1L2 / MP1L3 / MP2L1 / MP2L2 / MP2L3 / MP2.5L3 (*.mp3), AAC-LC / HE-AAC v1/v2 (*.mp4 / *.m4a / *.3gp / *.3g2), WMA9 (*.wma)
- Video: MPEG1 / MPEG2PS / AVCHD , MP4, Xvid, Motion JPEG, VC1, MKV, 3gpp, MOV, WebM
-->
<Detection>
<UPnPSearch>
<FriendlyName>BRAVIA (KDL-\d{2}W[689]\d{2}A.*)|(KD-\d{2}X9005A.*)</FriendlyName>
</UPnPSearch>
</Detection>
<DeviceDescription>
<!-- act as WMP so that the TV doesn't show root categories -->
<ModelName>Windows Media Player Sharing</ModelName>
<ModelNumber>3.0</ModelNumber>
<Manufacturer>Microsoft Corporation</Manufacturer>
</DeviceDescription>
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<MediaFormatProfiles>
<!-- rename native WMA formats to those supported by the tv -->
<MediaFormatProfile mime-type="audio/x-ms-wma" name="WMABASE">WMA_BASE</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/x-ms-wma" name="WMAFULL">WMA_FULL</MediaFormatProfile>
<!-- rename 3gp profiles that can be played as AVC -->
<MediaFormatProfile mime-type="video/mp4" name="AVC_MP4_MP_SD_AAC_MULT5">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
<!-- Rename native avi formats to those supported by the tv -->
<MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>
<!-- Rename native mpeg2ts with h264+ac3/aac formats to those supported by the tv (aac support is not advertised by the renderer but it works) -->
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3,AVC_TS_HD_50_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
<MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_24_AC3_T,AVC_TS_HD_50_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
<!-- Rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
<MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high_444" />
<Matches container="*" vCodec="h264" profile="high_422" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
</Video>
<!-- Remux containers with h264 video + AC3 audio to MPEG-TS stream without transcoding -->
<!-- Remux matroska/mpeg2video + AC3 audio to MPEG-TS stream without transcoding -->
<Video targetContainer="mpegts" forceInheritance="true">
<Matches container="avi" vCodec="h264" aCodec="ac3" />
<Matches container="flv" vCodec="h264" aCodec="ac3" />
<Matches container="wtv" vCodec="h264" aCodec="ac3" />
<Matches container="matroska" vCodec="mpeg2video" aCodec="ac3" />
</Video>
<!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
<!-- Remux all other matroska/mpeg2video to MPEG-TS stream with ac3 audio transcoding -->
<Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
<Matches container="*" vCodec="h264" aCodec="truehd" />
<Matches container="*" vCodec="h264" aCodec="flac" />
<Matches container="avi" vCodec="h264" />
<Matches container="flv" vCodec="h264" />
<Matches container="wtv" vCodec="h264" />
<Matches container="matroska" vCodec="mpeg2video" />
</Video>
<!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
<!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
<Matches container="mpegts" vCodec="vc1" />
<Matches container="flv" />
<!-- example: flv/vp6/mp3 -->
<Matches container="wtv" />
<Matches container="ogg" />
<Matches container="rm" />
<!--Matches container="3gp" vCodec="mpeg4" /-->
<!--Matches container="3gp" vCodec="h263" /-->
<!-- digital camera video formats -->
<Matches container="avi" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mjpeg" />
<Matches container="asf" vCodec="vc1" aCodec="wmapro" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="mp4" vCodec="dvvideo" />
</Video>
<Audio targetContainer="lpcm" forceInheritance="true">
<Matches container="flv" />
<Matches container="rtp" />
<Matches container="rtsp" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="adts" />
</Audio>
</Transcoding>
<HardSubsTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" />
</HardSubsTranscoding>
<Subtitles>
<HardSubs>
<RequiredFor container="mpegts" />
<RequiredFor container="mp4" />
<RequiredFor container="avi" />
</HardSubs>
</Subtitles>
<LimitImageResolution>false</LimitImageResolution>
</Profile>
Modifications:
<!-- Remux matroska/mpeg2video + AC3 audio to MPEG-TS stream without transcoding -->
and
<!-- Remux all other matroska/mpeg2video to MPEG-TS stream with ac3 audio transcoding -->
Re: Sony MKV MPEG2 support
Seems to do the trick - thanks! Have tested it on 6 MKV MPEG2 files and they all play back okay.
Re: [SOLVED] Sony MKV MPEG2 support
Just discovered to my disappointment 2012 models have the same fault. Won't play MKV encapsulated MPEG-2 video. Which is a shame, as this is the best way to copy your own DVDs to player without re-encoding and keeping chapter/subtitle support. Grr Sony.
Added that to BDP 2012 profile, works fine. Lose chapters and subtitles though, shame. There's no need to restrict it to audio with AC3 (as same problem with MPEG audio, and same fix works).
Added that to BDP 2012 profile, works fine. Lose chapters and subtitles though, shame. There's no need to restrict it to audio with AC3 (as same problem with MPEG audio, and same fix works).
Sony KDL-55HX750 and BDV-N990W (Home Theatre)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
Re: [SOLVED] Sony MKV MPEG2 support
Container mpeg seems to work better than mpegts for some reason for these videos.
Sony KDL-55HX750 and BDV-N990W (Home Theatre)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
Re: [SOLVED] Sony MKV MPEG2 support
Darkfalz wrote:Container mpeg seems to work better than mpegts for some reason for these videos.
...work better ?
what do you mean ?
Re: [SOLVED] Sony MKV MPEG2 support
Illico wrote:Darkfalz wrote:Container mpeg seems to work better than mpegts for some reason for these videos.
...work better ?
what do you mean ?
It would randomly pause at the beginning of playback using mpegts - I had to stop the file, and start again - it would then play all the way though. No idea why.
Does not do this with mpeg. Also does not do this with mpegts and h264. Seems to be an odd combination of the two and the Wifi streaming, so could be unique to my set up. Don't think it occurred on my Ethernet wired player. Bitrates are not particularly high either.
Also when it changed between episodes on mpegts, it would take longer even when it didn't freeze. With mpeg it changes quickly. Since this is an older codec with no requirement for TS I think PS is fine.
Sony KDL-55HX750 and BDV-N990W (Home Theatre)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
Sony KDL-40D3100 and BDP-S390 (Loungeroom)
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 35 guests