FAQ  •  Register  •  Login

mkv subtitle support in sony BDV-E370

<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Thu Jun 23, 2011 5:34 pm

mkv subtitle support in sony BDV-E370

I'm using Serviio console 0.5.2 and stream over wired connection. I can't get my subtitles to work in mkv file. For the testing purposes I created a mkv movie with 2 kinds of embedded(muxed) subtitles, 1st being PGS stream and 2nd text srt. Otherwise the movie plays perfectly. I upgraded my bdv-e370 to the latest firmware (M04.R.752) using a network upgrade method. I already edited the profiles.xml in the serviio/config folder with adding the European profile (Serviio 0.5 version). My bdv-e370 is the european version. In the profile under "Profile id="10" name="Sony BD Player (EU)" I noticed these lines:

  Code:
 remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio
                   tracks
                -->
                <Matches container="matroska" aCodec="dca" />
             </Video>
             <!-- remux container only, to minimize server CPU overhead and quality loss -->
             <Video targetContainer="mpegts">
                <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi -->
                <!--
                   remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio
                   tracks
                -->
                <Matches container="matroska" />


I do stream over a wired connection and I want mkv subtitle support but I don't have the slightest idea what to remove. I edited the profile by deleting the word "matroska" in both instances it is mentioned in these few lines but after that my Serviio server didn't want to start at all, same with my Serviio console. I need a detailed explanation/advice what to do exactly.

I'd be very grateful for the help.

Kindest regards and a big thanks to the creator of this software!

MicoMaco
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 23, 2011 5:52 pm

Re: mkv subtitle support in sony BDV-E370

remove the whole line: <Matches container="matroska" />
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Thu Jun 23, 2011 10:38 pm

Re: mkv subtitle support in sony BDV-E370

I removed exactly this and only this line : <Matches container="matroska" /> ,
now I can't play the movie. It's visible in the folder, m2ts is replaced by divx but when I play the movie the screen goes black. If I continue to repeat the playback start the screen eventually goes pink and the whole system becomes unresponsive. Maybe I did something wrong?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Jun 24, 2011 7:25 am

Re: mkv subtitle support in sony BDV-E370

Could you post here the full Sony profile section you used?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Fri Jun 24, 2011 5:38 pm

Re: mkv subtitle support in sony BDV-E370

Ok, here it is:

  Code:
<Profile id="10" name="Sony BD Player (EU)" extendsProfileId="1">
          <!-- European models only - check Serviio forums for profiles for other regions -->
          <Detection>
             <HttpHeaders>
                <X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
             </HttpHeaders>
          </Detection>
          <MediaFormatProfiles>
             <!-- force DLNA profile names of supported formats -->
             <!-- e.g. though renderer should support wma, it only does so when disguised as mp3 -->
             <MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_BASE</MediaFormatProfile>
             <MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_FULL</MediaFormatProfile>
             <!-- set mkv to divx mime-type to allow subtitle and multiple audio track support -->
             <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
             <!-- for mp4 containers, set MPEG_PS_PAL DLNA profile -->
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_LPCM</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
             <!-- for mpeg transport streams, set MPEG_TS_SD_EU DLNA profile -->
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_DTS_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_DTS_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">VC1_TS_AP_L1_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">VC1_TS_AP_L2_AC3_ISO</MediaFormatProfile>
          </MediaFormatProfiles>
          <Transcoding>
             <!-- remux to mpeg-ts and transcode audio -->
             <Video targetContainer="mpegts" targetACodec="ac3">
                <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi -->
                <!--
                   remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio
                   tracks
                -->
                <Matches container="matroska" aCodec="dca" />
             </Video>
             <!-- remux container only, to minimize server CPU overhead and quality loss -->
             <Video targetContainer="mpegts">
                <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi -->
                <!--
                   remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio
                   tracks
                -->
               
                <!-- remux mp4 container files to mpeg-ts to allow seeking -->
                <!-- this also fixes the renderer's jerky playback of mov container files such as iPhone 4 HD video recordings -->
                <Matches container="mp4" vCodec="h264" />
             </Video>
             <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
                <Matches container="asf" />
                <Matches container="flv" />
                <!-- digital camera video formats -->
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="mp4" vCodec="mjpeg" />
             </Video>
          </Transcoding>
          <AutomaticImageRotation>true</AutomaticImageRotation>
          <LimitImageResolution>false</LimitImageResolution>
       </Profile>


Please don't laugh ;) .

Thank you in advance!
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Tue Jun 28, 2011 11:53 am

Re: mkv subtitle support in sony BDV-E370

It's not that I'm impatient but first few replies were extremely fast, now few days nothing. I got a bit worried that I'm forgotten.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jun 28, 2011 12:21 pm

Re: mkv subtitle support in sony BDV-E370

you still have one matroska matcher there (for DTS audio).
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Tue Jun 28, 2011 2:02 pm

Re: mkv subtitle support in sony BDV-E370

Ok, this is the latest edited sony BD player profile I'm trying to use. I deleted also the matroska match for dts audio transcoding:

  Code:
<Profile id="10" name="Sony BD Player (EU)" extendsProfileId="1">
          <!-- European models only - check Serviio forums for profiles for other regions -->
          <Detection>
             <HttpHeaders>
                <X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
             </HttpHeaders>
          </Detection>
          <MediaFormatProfiles>
             <!-- force DLNA profile names of supported formats -->
             <!-- e.g. though renderer should support wma, it only does so when disguised as mp3 -->
             <MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_BASE</MediaFormatProfile>
             <MediaFormatProfile mime-type="audio/mpeg" name="MP3">WMA_FULL</MediaFormatProfile>
             <!-- set mkv to divx mime-type to allow subtitle and multiple audio track support -->
             <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
             <!-- for mp4 containers, set MPEG_PS_PAL DLNA profile -->
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">AVC_MP4_LPCM</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/mp4" name="MPEG_PS_PAL">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
             <!-- for mpeg transport streams, set MPEG_TS_SD_EU DLNA profile -->
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_DTS_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_DTS_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AAC_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3_T</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">MPEG4_P2_TS_ASP_MPEG1_L3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">VC1_TS_AP_L1_AC3_ISO</MediaFormatProfile>
             <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU">VC1_TS_AP_L2_AC3_ISO</MediaFormatProfile>
          </MediaFormatProfiles>
          <Transcoding>
             <!-- remux to mpeg-ts and transcode audio -->
             <Video targetContainer="mpegts" targetACodec="ac3">
                <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi -->
                <!-- remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio tracks -->
             </Video>
             <!-- remux container only, to minimize server CPU overhead and quality loss -->
             <Video targetContainer="mpegts">
                <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi -->
                <!-- remove all matroska transcoding matches if you stream over a wired connection and want mkv subtitle support and alt audio tracks -->
                <!-- remux mp4 container files to mpeg-ts to allow seeking -->
                <!-- this also fixes the renderer's jerky playback of mov container files such as iPhone 4 HD video recordings -->
                <Matches container="mp4" vCodec="h264" />
             </Video>
             <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
                <Matches container="asf" />
                <Matches container="flv" />
                <!-- digital camera video formats -->
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="mp4" vCodec="mjpeg" />
             </Video>
          </Transcoding>
          <AutomaticImageRotation>true</AutomaticImageRotation>
          <LimitImageResolution>false</LimitImageResolution>
       </Profile>


Now the problem! I even can't get the Serviio service to start. I restart my PC, Serviio console is trying to build the media library but it can't cause the Serviio service can't start. If I try to start it manually it starts for a second or so and than it shuts down automatically.
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Wed Jun 29, 2011 10:08 pm

Re: mkv subtitle support in sony BDV-E370

I think I figured out why Serviio service wouldn't start. My guess is that the transcoding section of Sony's BD player profile was wrong. This is how it looks like now (I think matroska matches were properly removed):

  Code:
<Transcoding>
             <Video targetContainer="mpegts">
                <Matches container="mp4" vCodec="h264" />
             </Video>
             <!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
             <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
                <Matches container="asf" />
                <Matches container="flv" />
                <!-- digital camera video formats -->
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="mp4" vCodec="mjpeg" />
             </Video>
          </Transcoding>


Now Serviio service is working properly, also Serviio console can be started, but the problem remains. I can't watch mkv movies now. They appear in the folder as divx (under the name of the file the divx is written). When I try to play them the info about the audio codec, channels and audio bitrate pops up in the upper screen, than the screen goes black. :(
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jun 30, 2011 7:05 am

Re: mkv subtitle support in sony BDV-E370

Could you post "ffmpeg -i" result and MediaInfo result of your mkv file ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Thu Jun 30, 2011 9:32 pm

Re: mkv subtitle support in sony BDV-E370

ffmpeg -i:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Vse pravice pridržane.

C:\Users\MicoMaco>"C:\Program Files (x86)\Serviio\lib\ffmpeg.exe" -i F:\F.I.L.M.
I\metastaze.mkv
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 0109c0f0] max_analyze_duration reached
[matroska,webm @ 0109c0f0] Estimating duration from bitrate, this may be inaccur
ate

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1)
-> 500.00 (500/1)
Input #0, matroska,webm, from 'F:\F.I.L.M.I\metastaze.mkv':
Duration: 01:16:47.60, start: 0.000000, bitrate: 448 kb/s
Stream #0.0: Video: h264, yuv420p, 1920x980 [PAR 1:1 DAR 96:49], 25 fps, 500
tbr, 1k tbn, 50 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream #0.2: Subtitle: pgssub
Stream #0.3: Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified

C:\Users\MicoMaco>


MediaInfo:

General
Complete name : F:\F.I.L.M.I\metastaze.mkv
Format : Matroska
File size : 10.7 GiB
Duration : 1h 16mn
Overall bit rate : 19.9 Mbps
Encoded date : UTC 2011-06-22 19:52:46
Writing application : mkvmerge v4.8.0 ('I Got The...') built on May 24 2011 03:12:58
Writing library : libebml v1.2.0 + libmatroska v1.1.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 16mn
Bit rate : 19.0 Mbps
Width : 1 920 pixels
Height : 980 pixels
Display aspect ratio : 1.959
Frame rate : 25.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.404
Stream size : 10.2 GiB (96%)
Writing library : x264 core 115 r1995 c1e60b9
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=1 / crf=16.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=30000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 1h 16mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 246 MiB (2%)

Text #1
ID : 3
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : The same subtitle format used on BDs/HD-DVDs

Text #2
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text


Hope this info helps.

P.S. The movie plays fine with initial BD player (EU) profile settings. It's just the subtitle functionality that I'm missing.
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Tue Jul 05, 2011 8:44 am

Re: mkv subtitle support in sony BDV-E370

Any news? My guess is that it is the encoding settings I used for this video that make the file impossible to playback (after removal of mkv matches). But the fact that the very same movie is playable with the default sony bd player (EU) settings makes the whole thing very confusing. On top of that I can play some other mkv movie (The Rite) I downloaded from the net with these "enable subtitle support" settings. I'll try to mux some subtitle into this playable movie to see the outcome. I'll report the results as soon as possible.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 05, 2011 12:29 pm

Re: mkv subtitle support in sony BDV-E370

I think patters should be able to give you some answers
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Fri Jul 15, 2011 6:52 am

Re: mkv subtitle support in sony BDV-E370

I think I figured out what is wrong with my mkv files. All the MKVs I created were muxed with MKVMergeGui. The resulting files had this added feature called Muxing mode which was Header Stripping. This feature was absent at all the downloaded mkv movies from the net and all of them played fine (subtitles present) with Serviio's mkv subtitle support enabled profile. My guess is that header compression in MKVs for this player is not an option.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Jul 15, 2011 8:00 am

Re: mkv subtitle support in sony BDV-E370

MicoMaco wrote:My guess is that header compression in MKVs for this player is not an option.

Well, remux these file with TsMuxer and select "no compression" for each track.
viewtopic.php?f=6&t=1132
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Fri Jul 15, 2011 10:15 am

Re: mkv subtitle support in sony BDV-E370

I figured that out. Just one small correction. TsMuxer won't work in this case since it cannot mux into mkv. Besides after creating a mkv with MKVMerge GUI (not sure if it's because header compression) the very same mkv cannot be imported into TsMuxer. So the best way to remux is simply import the whole mkv back into MKVMerge GUI and in the Extra options set to "no compression". Header Stripping problem and solution should be mentioned in the FAQ for these players.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Jul 15, 2011 6:50 pm

Re: mkv subtitle support in sony BDV-E370

Illico wrote:Well, remux these file with TsMuxer and select "no compression" for each track.
viewtopic.php?f=6&t=1132

Of course its a mistake, I'm talking about MKVmerge option...not TsMuxer
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Fri Jul 29, 2011 6:21 pm

Re: mkv subtitle support in sony BDV-E370

I was wondering, does this mkv subtitle support include PGS subtitle type? If not, may the suupport be included in the new serviio version?
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Fri Aug 05, 2011 9:36 pm

Re: mkv subtitle support in sony BDV-E370

I've been away from these parts from a bit so I've only just spotted this thread. Why do people keep replacing the multiregion profile which comes with Serviio 0.5.2 with an older one from the forum! And despite a sticky post explaining all this clearly. ;)

Anyway, looks like you got there in the end. As for subtitle support - it's down to the renderer device not Serviio. Serviio only streams the content, the decoding is done by the TV/BDP.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

MicoMaco

Serviio newbie

Posts: 15

Joined: Thu Jun 23, 2011 4:52 pm

Post Tue Aug 16, 2011 9:37 am

Re: mkv subtitle support in sony BDV-E370

patters wrote:I've been away from these parts from a bit so I've only just spotted this thread. Why do people keep replacing the multiregion profile which comes with Serviio 0.5.2 with an older one from the forum! And despite a sticky post explaining all this clearly. ;)

Anyway, looks like you got there in the end. As for subtitle support - it's down to the renderer device not Serviio. Serviio only streams the content, the decoding is done by the TV/BDP.


thx for the clarification, apologies for being a nooblet regarding the profiles usage and reading the sticky :roll: ;)

Return to Sony

Who is online

Users browsing this forum: No registered users and 10 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.