Page 1 of 1

Subtitles

PostPosted: Sun Dec 23, 2012 3:22 am
by salsa
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 :)

Re: Subtitles

PostPosted: Sun Dec 23, 2012 12:28 pm
by zip
Plugins don't support subtitles yet, but will in the next version.

Re: Subtitles

PostPosted: Mon Jan 28, 2013 10:18 pm
by ottomatic
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?

Re: Subtitles

PostPosted: Mon Jan 28, 2013 11:54 pm
by zip
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?

Re: Subtitles

PostPosted: Tue Jan 29, 2013 9:13 am
by ottomatic
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

Re: Subtitles

PostPosted: Tue Jan 29, 2013 9:31 am
by zip
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.

Re: Subtitles

PostPosted: Tue Jan 29, 2013 9:41 am
by mqojdn

Re: Subtitles

PostPosted: Tue Jan 29, 2013 11:45 am
by zip
I've thought about it before, but created the actual ticket now - https://bitbucket.org/xnejp03/serviio/i ... btitlesorg

Re: Subtitles

PostPosted: Tue Jan 29, 2013 12:37 pm
by ottomatic
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?

Re: Subtitles

PostPosted: Tue Jan 29, 2013 12:46 pm
by zip
Currently out of scope for 1.2 (plugin subs), but will have a look if I have some time during the beta testing stage.

Re: Subtitles

PostPosted: Wed Sep 25, 2013 7:32 am
by ottomatic
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

Re: Subtitles

PostPosted: Wed Sep 25, 2013 8:31 am
by zip

Re: Subtitles

PostPosted: Wed Sep 25, 2013 9:32 am
by ottomatic


OK.

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

/ O

Re: Subtitles

PostPosted: Wed Sep 25, 2013 12:30 pm
by zip
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.

Re: Subtitles

PostPosted: Wed Sep 25, 2013 3:27 pm
by ottomatic
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.