FAQ  •  Register  •  Login

Subtitles

<<

salsa

Serviio newbie

Posts: 1

Joined: Sun Dec 23, 2012 3:18 am

Post Sun Dec 23, 2012 3:22 am

Subtitles

Hi guys,

Im new here and I wanna know if have any way to load a video url like:
www.mywebsite.com/myvideo.mp4

and get the srt file
www.mywebsite.com/myvideo.srt

and load the video with subtitle?

Thanks :)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 23, 2012 12:28 pm

Re: Subtitles

Plugins don't support subtitles yet, but will in the next version.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Mon Jan 28, 2013 10:18 pm

Re: Subtitles

zip wrote:Plugins don't support subtitles yet, but will in the next version.


Will this support be implemeted as a burn-in on the transcoded video stream, or as a DLNA container property which the client can elect to activate?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 28, 2013 11:54 pm

Re: Subtitles

It would be both. I currently haven't hooked subs into the plugin structure yet. I looked at 2 plugins and they both (youtube, iplayer) use a format that FFmpeg cannot decode, so i left it for now. I would either have to build some functionality to convert them to SRT or leave it up to the plugin devs.

What format do subs come in your plugin?
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Jan 29, 2013 9:13 am

Re: Subtitles

zip wrote:It would be both. I currently haven't hooked subs into the plugin structure yet. I looked at 2 plugins and they both (youtube, iplayer) use a format that FFmpeg cannot decode, so i left it for now. I would either have to build some functionality to convert them to SRT or leave it up to the plugin devs.

What format do subs come in your plugin?


"Both" sounds great. I take it you mean that the plugin can decide (by using a flag?) if it wants the subs burned in?
Client toggling is obviously sweeter for the user, in case the DLNA client supports it.

My plugin, SvtPlay, (or rather the source service http://www.svtplay.se) uses WSRT, e.g.:
http://media.svt.se/download/mcc/wp3/un ... 79169.wsrt

The corresponding high quality stream url is:
http://svtplay7k-f.akamaihd.net/i/world ... e1bf661c32
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 29, 2013 9:31 am

Re: Subtitles

ottomatic wrote:"Both" sounds great. I take it you mean that the plugin can decide (by using a flag?) if it wants the subs burned in?
Client toggling is obviously sweeter for the user, in case the DLNA client supports it.

No, it's up to the client to enable hardsubs (burn-in) in the console. It then can encode them either always or when required by the profile (another setting). If we do burn-in, the text softsubs resource is not served.

So it'll be totally transparent to the plugin.
<<

mqojdn

Streaming enthusiast

Posts: 44

Joined: Thu Jan 03, 2013 6:39 pm

Post Tue Jan 29, 2013 9:41 am

Re: Subtitles

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 29, 2013 11:45 am

Re: Subtitles

I've thought about it before, but created the actual ticket now - https://bitbucket.org/xnejp03/serviio/i ... btitlesorg
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Tue Jan 29, 2013 12:37 pm

Re: Subtitles

zip wrote:
ottomatic wrote:"Both" sounds great. I take it you mean that the plugin can decide (by using a flag?) if it wants the subs burned in?
Client toggling is obviously sweeter for the user, in case the DLNA client supports it.

No, it's up to the client to enable hardsubs (burn-in) in the console. It then can encode them either always or when required by the profile (another setting). If we do burn-in, the text softsubs resource is not served.

So it'll be totally transparent to the plugin.


Even better.

Will this be in 1.2 or the following release?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 29, 2013 12:46 pm

Re: Subtitles

Currently out of scope for 1.2 (plugin subs), but will have a look if I have some time during the beta testing stage.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Wed Sep 25, 2013 7:32 am

Re: Subtitles

Hi, I'm curious about what happened with this?

I don't see anything about subtitle support in the latest plugin development guide.

Regards!

/ O
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 25, 2013 8:31 am

Re: Subtitles

<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Wed Sep 25, 2013 9:32 am

Re: Subtitles



OK.

Any chance to bump the priority?
Anything I could do to help out?

/ O
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 25, 2013 12:30 pm

Re: Subtitles

the problem is that most of the sites I was looking at were either using their own formats or something FFmpeg doesn't support, so the plugin devs would have to write some code to transform the sub files to .srt.
<<

ottomatic

DLNA master

Posts: 224

Joined: Fri Nov 09, 2012 10:15 am

Post Wed Sep 25, 2013 3:27 pm

Re: Subtitles

zip wrote:the problem is that most of the sites I was looking at were either using their own formats or something FFmpeg doesn't support, so the plugin devs would have to write some code to transform the sub files to .srt.


OK, I understand.

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 14 guests

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