Streaming subtitles [@VALIB]

Developers forum for Univeral Media Server-related development (only for programmers)
Post Reply
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Streaming subtitles [@VALIB]

Post by ExSport »

Hi all
@Valib spotted on his ASUS that it can stream subtitles directly to Panasonic TV.
If he will be able to capture network traffinc, maybe it will be also compatible with other renderers.
For now there is a support for ALLSHARE renderer via special header "CaptionInfo.sec":

Code: Select all

SubtitleHttpHeader=CaptionInfo.sec
I am not sure if changing it to something else will work with other renderers but anyway noone knows this special "header string".
More info in discussion:
https://github.com/UniversalMediaServer ... c8b6741013
Hopefully Valib will make some network capture so will will be able to stream subs one day 8-)
I have 2 PanTV but without any network capture between TV and ASUS or ASUS and PC, I can't help or test it.
Anyone has a more info for this topic? Some SW DLNA servers which supports external subs to be streamed without transcoding so we can test it?
Thanks 8-)
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Streaming subtitles [@VALIB]

Post by ExSport »

I found the info that MiniDLNA supports soft subs so checked the Changelog and found it has support for LG, Panasonic, Samsung etc....
I have a Panasonic TV so I will try to compare source code of 1.0.22/23 versions what made the subs support for Panasonic TV because I don't have Linux to trace network traffic directly.
Who is interested:
http://sourceforge.net/projects/minidln ... na/1.0.23/
Version 1.0.23 added support for soft subs so comparing it with 1.0.22...maybe we should find something 8-)
- Enable the subtitle menu on some Samsung TV's.
- Add subtitle support for Panasonic TV's.
- Fix subtitles on LG TV's for items whose titles don't have a dot in them.
- Add subtitle support for LG TV's and Blu-Ray players.
Wolfgan
Posts: 370
Joined: Fri Feb 08, 2013 12:33 am

Re: Streaming subtitles [@VALIB]

Post by Wolfgan »

IIIRC it's based on 3GPP/MPEG4 Timed Text support on MP4 streams (http://en.wikipedia.org/wiki/MPEG-4_Part_17). Too bad is not supported across the board in most renderers...
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted :D )
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Streaming subtitles [@VALIB]

Post by ExSport »

Thx for info. But in code I also spotted that subs are sent as URI - external file so it seems subs are not embedded to MP4 only but also sent as a separate stream...
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Streaming subtitles [@VALIB]

Post by ExSport »

Some other sources:
Seviio changelog: It brings support for different subtitles formats as well as delivery methods (hardsubs, softsubs).
Seems some new features were added two months ago, including "soft subs":
http://www.serviio.org/index.php?option ... icle&id=33

Some tips how to do it:
Add subtitles support for Panasonic Vieira:
https://bitbucket.org/xnejp03/serviio/i ... nic-vieira
Support subtitles on Samsung C-series TV:
https://bitbucket.org/xnejp03/serviio/i ... -series-tv
add subtitles support for LG BD-390:
https://bitbucket.org/xnejp03/serviio/i ... -lg-bd-390
add support for subtitles embedded in containers (e.g. mkv):
https://bitbucket.org/xnejp03/serviio/i ... mbedded-in
Post Reply