FAQ  •  Register  •  Login

MKV with embedded subtitles

<<

NSB

Serviio newbie

Posts: 1

Joined: Fri Oct 28, 2011 8:34 pm

Post Fri Oct 28, 2011 8:38 pm

MKV with embedded subtitles

Hi

First of all thanks for as great DLNA server.

With that said, when will embedded subtitles be supported on Serviio?

My experience is that subs embedded in MKV are the most common way to fit subs to your files, so this is a pretty big issue in my perspective... :?
<<

MrUlmo

Serviio newbie

Posts: 8

Joined: Fri Oct 28, 2011 11:14 pm

Post Fri Oct 28, 2011 11:24 pm

Re: MKV with embedded subtitles

I think embedded subtitles works for me .. (Am I wrong?)

What format subtitles are you using? (.sub, .idx, .srt)

Might be your device not supporting subtitles?

Looked around a bit, and found this http://forum.serviio.org/viewtopic.php?f=3&t=3592#p23946, it seems only .srt is supported at the moment
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Oct 29, 2011 2:25 am

Re: MKV with embedded subtitles

Subtitles are added to a video ie: placed on top of the image, by the renderer. Serviio does not render. It only sends the video stream to the DLNA device for rendering. You will have to look at your device manual to see what subtitles it is capable of overlaying on the vide when it is rendered.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Nov 02, 2011 10:15 am

Re: MKV with embedded subtitles

Serviio only support "srt" external subtitles files.
But embedded subtitles is delivered in native format by serviio to your renderer, so look at your renderer-user-manual for subtitle format supported.
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
<<

Torgeir

Serviio newbie

Posts: 1

Joined: Sun Nov 06, 2011 7:02 pm

Post Sun Nov 06, 2011 7:11 pm

Re: MKV with embedded subtitles

I can confirm that embedded subtitles (multiple languages also) works very well with my Samsung UE46D7005. Multiple audio channels works also. I use http://handbrake.fr/ to encode DVD's to play through Serviio.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Nov 07, 2011 5:29 am

Re: MKV with embedded subtitles

I do not believe that is correct. Perhaps you are referring to subs you have burned into the video when you encoded with handbrake. These are called hard subs, not embedded files.

The subs embedded in .mkv files do not play. They must be extracted to external files and Serviio will only support .srt subs over DLNA.

USB will support the following external file types:
Supported Video Subitle Formats (for language subtiles, etc.)
Name File extension Format
MPEG-4 time-based text .ttxt XML
SAMI .smi HTML
SubRip .srt string-based
SubViewer .sub string-based
Micro DVD .sub or .txt string-based
<<

laz305

Serviio newbie

Posts: 13

Joined: Wed Nov 09, 2011 3:54 pm

Post Sun Nov 13, 2011 10:30 am

Re: MKV with embedded subtitles

Torgeir wrote:I can confirm that embedded subtitles (multiple languages also) works very well with my Samsung UE46D7005. Multiple audio channels works also. I use http://handbrake.fr/ to encode DVD's to play through Serviio.

Same here
<<

lazybones

Streaming enthusiast

Posts: 42

Joined: Mon Dec 12, 2011 2:49 am

Post Sat Feb 11, 2012 12:58 am

Re: MKV with embedded subtitles

This would basically be a trans-coding function much like how serviio depends on FFMPEG to extract audio and video this could be done with an external tool like http://www.bunkus.org/videotools/mkvtoolnix/ for mkv files... In-fact mkvtoolnix already supports extracting some sub formats to srt... Serviio could run this tool against files during its library scan when new files where found and auto generate the srt files if needed.

For those not afraid of command line you could also use this tool in advance of playback.

The problem is that some mkv files use subs in the SSA and ASS format, thus to be used for DLNA further conversion would be needed "if even possible"
<<

lazybones

Streaming enthusiast

Posts: 42

Joined: Mon Dec 12, 2011 2:49 am

Post Sat Feb 11, 2012 1:32 am

Re: MKV with embedded subtitles

Hmm did a quick test running the tool manually and found that dumping the SSA and ASS format subs to a srt file still worked IE when the video was played via DNLA an serviio it displayed correct subs)..... I am guessing there will be some loss such as the fonts not being embedded but it still works from what I can tell..

I hope the devs consider this, as without subs nearly all Anime release are unwatchable and direct MKV support and popularity seems to keep growing.

Edit: tested some of my other players and found it didn't work, that one player might just handle the incorrect format... Still worth investigating.

Also it appears it is possible to raw dump the subtitle stream with ffmpeg as well but there is more work to format the text.
<<

lazybones

Streaming enthusiast

Posts: 42

Joined: Mon Dec 12, 2011 2:49 am

Post Sat Feb 11, 2012 1:57 am

Re: MKV with embedded subtitles

Apparently converting ASS to SRT isn't that hard.

Python
http://doom10.org/index.php?topic=916.0

Shell
http://zegmaarwim.blogspot.com/2011/04/ ... o-srt.html

So using the examples above it and the extraction tools it would be possible to generate srt files.
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Sat Feb 11, 2012 11:35 am

Re: MKV with embedded subtitles

jhb50 wrote:USB will support the following external file types:
Supported Video Subitle Formats (for language subtiles, etc.)
Name File extension Format
MPEG-4 time-based text .ttxt XML
SAMI .smi HTML
SubRip .srt string-based
SubViewer .sub string-based
Micro DVD .sub or .txt string-based

This is only for Samsung devices, isn't it?
If so, this would be easy to support them (cause Samsung has specific behaviour).
Serviio WebUI console developer : New Homepage | Support | Project | Issues

Samsung UA32C6600 | WinXP / Ubuntu 11.10 | Samsung Galaxy S | Freebox v6
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Sat Feb 11, 2012 11:37 am

Re: MKV with embedded subtitles

lazybones wrote:Apparently converting ASS to SRT isn't that hard.

do you know if ass subtitles are supported by USB? Maybe no convertion is necessary, just to allow DLNA to share them...
Serviio WebUI console developer : New Homepage | Support | Project | Issues

Samsung UA32C6600 | WinXP / Ubuntu 11.10 | Samsung Galaxy S | Freebox v6
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

kairoh

DLNA master

Posts: 180

Joined: Sun Aug 08, 2010 10:41 am

Location: France

Post Mon Feb 13, 2012 4:58 pm

Re: MKV with embedded subtitles

Based on your links, i've coded something to convert SSA -> SRT and SUB -> SRT.

It works in memory but may be written to a new srt file (maybe others transcoding option should be added).
See tickets #246 and #63.
Serviio WebUI console developer : New Homepage | Support | Project | Issues

Samsung UA32C6600 | WinXP / Ubuntu 11.10 | Samsung Galaxy S | Freebox v6
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

lazybones

Streaming enthusiast

Posts: 42

Joined: Mon Dec 12, 2011 2:49 am

Post Tue Feb 14, 2012 7:22 am

Re: MKV with embedded subtitles

kairoh wrote:
lazybones wrote:Apparently converting ASS to SRT isn't that hard.

do you know if ass subtitles are supported by USB? Maybe no convertion is necessary, just to allow DLNA to share them...


I have various devices, so that really depends, I haven't gone around and tested via USB, but since serviio already supported srt it was worth just targeting it.

I am less interested in converting external subs than I am with this threads original request to extract subs from MKV files, as it stands I can't watch any Anime via serviio due to this and rely on watching from other devices I have that can direct mount the shares.
<<

Larzendk

Serviio lover

Posts: 62

Joined: Sun Feb 05, 2012 9:57 am

Post Tue Feb 14, 2012 5:29 pm

Re: MKV with embedded subtitles

I dont know if i am missing something, but, i make MKV files from ISO files with MKVmaker and select the sub i want (Danish) the file plays fine with subs in VLC, but when i run it from my NAS via Serviio there is no sub. My unit is a Sony SMP-N100, is it not possible to get subs at MKV files via Serviio?

Best regards
Morten
Denmark
<<

ragefuljoe

Streaming enthusiast

Posts: 21

Joined: Wed Jan 25, 2012 9:05 am

Post Tue Feb 14, 2012 6:41 pm

Re: MKV with embedded subtitles

ive been using mkvtools to extract .ass, then jubler to convert to srt. I couldnt figure out how to automate it tho..kind of a huge PITA when I have an entire series.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Feb 14, 2012 7:09 pm

Re: MKV with embedded subtitles

Larzendk wrote:I dont know if i am missing something, but, i make MKV files from ISO files with MKVmaker and select the sub i want (Danish) the file plays fine with subs in VLC, but when i run it from my NAS via Serviio there is no sub. My unit is a Sony SMP-N100, is it not possible to get subs at MKV files via Serviio?

Best regards
Morten
Denmark

Check his thread for subs support viewtopic.php?f=11&t=2004
<<

Larzendk

Serviio lover

Posts: 62

Joined: Sun Feb 05, 2012 9:57 am

Post Wed Feb 15, 2012 7:09 am

Re: MKV with embedded subtitles

Hi Zip

If i understand this right i have to do this to get subs on MKV files:

- If subtitle support is vital to you, you have a European or Canadian player, and you understand the native Matroska playback problems described above, then you can remove all matroska matches from the transcoding section of the Sony BDP device profile like so:

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>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
</Transcoding>
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Feb 15, 2012 8:36 am

Re: MKV with embedded subtitles

Simply comment line with "matroska".

  Code:
   <Profile id="10" name="Sony BD Player" extendsProfileId="1">
      <!-- Since Serviio 0.5.1 this profile is multiregion -->
      <Detection>
            <UPnPSearch>
               <FriendlyName>(Blu-ray Disc Player|.*Home Theat(re|er) System|Media Player)</FriendlyName>
               <Manufacturer>Sony Corporation</Manufacturer>
            </UPnPSearch>
            <HttpHeaders>
               <X-AV-Client-Info>.*cn="Sony Corporation"; mn="(Blu-ray Disc Player|.*Home Theat(re|er) System|Media Player)".*</X-AV-Client-Info>
            </HttpHeaders>
      </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>
         <!-- force DLNA profile names of supported formats -->
         <!-- e.g. though renderer should support wma, it only does so when disguised as mp3 (many other audio types are transcoded later in the profile) -->
         <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 for European and Canadian players -->
         <!-- This native mkv playback disabled by default - read comment in transcoding section for the reasons -->
         <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
         <!-- To avoid needing region-specific profiles, avi must be set to mpeg mime type (US players require this) -->
         <!-- AVI clips seems to be a little bit slower to start like this on European players. If that bothers you, delete the line below -->
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_MP_HD_720p_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_MP_HD_1080i_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_HP_HD_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">AVC_MP4_LPCM</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">MPEG4_P2_MP4_SP_L6_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="MPEG_PS_PAL,MPEG_PS_NTSC">MPEG4_P2_MP4_NDSD</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HD_DTS_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HD_DTS_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HD_50_LPCM_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AAC</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AAC_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AAC_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_MPEG1_L3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">MPEG4_P2_TS_ASP_MPEG1_L3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">VC1_TS_AP_L1_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">VC1_TS_AP_L2_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">VC1_TS_HD_DTS_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO">VC1_TS_HD_DTS_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- Sony BDP requests all formats except mpeg-ps and mpeg-ts in 32KB chunks which works badly over wifi, hence mkv files are remuxed to mpeg-ts by default in this profile. Natively played mkv files
            stutter irretrievably after seeks, which seems to be a DLNA firmware issue with the player. If you have a European or Canadian player (not US), you stream over a wired connection and want mkv subtitles,
            dts support, and multiple audio tracks - but don't care that you can't seek - remove all matroska transcoding matches below to have the player decode mkv natively. -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="320">
            <!-- FFmpeg cannot currently remux dts audio properly so it must be transcoded, but all other audio is left alone -->
            <!-- <Matches container="matroska" aCodec="dca" /> -->
            <!-- <Matches container="matroska" aCodec="vorbis" /> -->
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="mp4" aCodec="lpcm" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems -->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <!-- h264 videos with high/main profile level > 4.1 will be transcoded to mpegts with mpeg2video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="320">
            <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.1" />
            <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.1" />
            <!-- <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" /> -->
            <!-- <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.1" /> -->
            <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.1" />
            <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.1" />
            <Matches container="mpegts" vCodec="h264" profile="high" levelGreaterThan="4.1" />
            <Matches container="mpegts" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         </Video>
         <Video targetContainer="mpegts">
            <!-- <Matches container="matroska" /> -->
            <!-- 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" />
            <Matches container="avi" vCodec="h264" />
         </Video>
         <!-- unsupported codecs will be transcoded to mpegts with mpeg2video and ac3 audio -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="avi" vCodec="dvvideo" />
            <!-- digital camera video formats -->
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mjpeg" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
         </Audio>
      </Transcoding>
   </Profile>
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
<<

Larzendk

Serviio lover

Posts: 62

Joined: Sun Feb 05, 2012 9:57 am

Post Wed Feb 15, 2012 8:48 am

Re: MKV with embedded subtitles

Ehh, he he, :?: :oops: i am totaly lost there
Next

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 28 guests

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