Page 1 of 2
MKV with embedded subtitles

Posted:
Fri Oct 28, 2011 8:38 pm
by NSB
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...

Re: MKV with embedded subtitles

Posted:
Fri Oct 28, 2011 11:24 pm
by MrUlmo
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
Re: MKV with embedded subtitles

Posted:
Sat Oct 29, 2011 2:25 am
by jhb50
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.
Re: MKV with embedded subtitles

Posted:
Wed Nov 02, 2011 10:15 am
by Illico
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.
Re: MKV with embedded subtitles

Posted:
Sun Nov 06, 2011 7:11 pm
by Torgeir
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.
Re: MKV with embedded subtitles

Posted:
Mon Nov 07, 2011 5:29 am
by jhb50
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
Re: MKV with embedded subtitles

Posted:
Sun Nov 13, 2011 10:30 am
by laz305
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
Re: MKV with embedded subtitles

Posted:
Sat Feb 11, 2012 12:58 am
by lazybones
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"
Re: MKV with embedded subtitles

Posted:
Sat Feb 11, 2012 1:32 am
by lazybones
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.
Re: MKV with embedded subtitles

Posted:
Sat Feb 11, 2012 1:57 am
by lazybones
Apparently converting ASS to SRT isn't that hard.
Python
http://doom10.org/index.php?topic=916.0Shell
http://zegmaarwim.blogspot.com/2011/04/ ... o-srt.htmlSo using the examples above it and the extraction tools it would be possible to generate srt files.
Re: MKV with embedded subtitles

Posted:
Sat Feb 11, 2012 11:35 am
by kairoh
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).
Re: MKV with embedded subtitles

Posted:
Sat Feb 11, 2012 11:37 am
by kairoh
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...
Re: MKV with embedded subtitles

Posted:
Mon Feb 13, 2012 4:58 pm
by kairoh
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.
Re: MKV with embedded subtitles

Posted:
Tue Feb 14, 2012 7:22 am
by lazybones
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.
Re: MKV with embedded subtitles

Posted:
Tue Feb 14, 2012 5:29 pm
by Larzendk
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
Re: MKV with embedded subtitles

Posted:
Tue Feb 14, 2012 6:41 pm
by ragefuljoe
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.
Re: MKV with embedded subtitles

Posted:
Tue Feb 14, 2012 7:09 pm
by zip
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
Re: MKV with embedded subtitles

Posted:
Wed Feb 15, 2012 7:09 am
by Larzendk
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>
Re: MKV with embedded subtitles

Posted:
Wed Feb 15, 2012 8:36 am
by Illico
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>
Re: MKV with embedded subtitles

Posted:
Wed Feb 15, 2012 8:48 am
by Larzendk
Ehh, he he,

i am totaly lost there