FAQ  •  Register  •  Login

Muxing soft subtitle track into transcoded video

<<

supersonic

Serviio newbie

Posts: 2

Joined: Sun Dec 08, 2013 8:48 pm

Post Sun Dec 08, 2013 9:28 pm

Muxing soft subtitle track into transcoded video

Hello,

Is it possible to mux soft-subtitle track(s) from original video file into the transcoded video as a soft-subtitle track?

I have some High10 profile video files that won't play natively on TV. The files have soft subtitle track(s).
When they are transcoded the output only contains the video and audio tracks. The subtitles are presented to the TV as a separate DLNA resource (Checked with "developer tools for upnp" AV media controller).
My TV is not recognizing the subtitle DLNA resource and is only playing back the video.

I'm wondering if it's possible to configure serviio to just mux the subtitle track into the transcoded video?

TV: Samsung smart TV UA40F7500
Serviio Profile: Samsung TV / player (C/D/E/F-series)

This is the DLNA resource of the subtitles that are not recognized by the TV:
contentURI = http://192.168.4.9:8895/resource/1809/SUBTITLE.srt
protocolInfo = http-get:*:smi/caption:*

This is the subtitle track data from MediaInfo:
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : subtitles & notes
Language : English
Default : Yes
Forced : No

Edit:
I wanted to add the "Trasnscoding" profile section that matches the High 10 profile files. I've modified it to use the targetVCodec=h264 and keep the audio as is.
<Video targetContainer="mpegts" targetVCodec="h264" forceVTranscoding="true">
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
<Matches container="mp4" vCodec="dvvideo" />
<Matches container="mp4" vCodec="mjpeg" />
</Video>

Could it be that for the mpegts container the Samsung TV doesn't attempt to load subtitles? just a thought...

Thanks!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 09, 2013 12:46 pm

Re: Muxing soft subtitle track into transcoded video

You can only add image based subtitles to mpegts, afaik. Not text based, which Serviio supports. So in your case you'll have to use the hardsubs option.
<<

supersonic

Serviio newbie

Posts: 2

Joined: Sun Dec 08, 2013 8:48 pm

Post Mon Dec 09, 2013 8:09 pm

Re: Muxing soft subtitle track into transcoded video

Thanks for the reply.

If I want to use the hardsubs option, how should I configure the profile so that only the Hi10p videos get transcoded and not all mkv files?
Currently I have the option "Enable burned-in subtitles" set to "Only when required".

I think it has to do with the "Subtitles" section of the profile:
In the Samsung profile it's as follows:
<Subtitles>
<SoftSubs mime-type="smi/caption" />
</Subtitles>


If I add:
<HardSubs>
<RequiredFor container="mkv" />
</HardSubs>

Will it transcode all mkv files? Are there additional attributes to the "RequiredFor" element that can specify the video profile level?

Thanks again.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Dec 10, 2013 5:10 pm

Re: Muxing soft subtitle track into transcoded video

No, it only checks the container.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 30 guests

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