Jump to content


Photo

WebVTT subtitles support

VTT WebVTT subtitle subtitles SRT

  • Please log in to reply
30 replies to this topic

#1 pizzel

  • Senior Member
  • 63 posts

+1
Neutral

Posted 13 March 2025 - 14:00

I have many stream services in my lists which use VTT subtitles. As this format is not yet supported in E2, I think that adding this new feature would be a great and functional idea as WebVTT subtitles are becoming more and more popular for streaming services, and these in turn are more and more present in our lists.

Could it be possible to have this feature in our receivers?

Thanks.


Octagon SF8008 · DVB-T2 /// IPTV /// Toroidal T90: 12.5W, 8.0W, 7.0W, 5.0W, 0.8W, 7.0E, 9.0E, 10.0E 13.0E, 16.0E, 19.2E, 23.5E, 25.5E and 26.0E /// 60cm Dish: 30.0W /// 135cm Dish: 28.2E

Octagon SF8008 · channels streamed from the first Octagon SF8008


Re: WebVTT subtitles support #2 DimitarCC

  • PLi® Contributor
  • 1,977 posts

+202
Excellent

Posted 13 March 2025 - 14:08

That are text subtitles that have extensive HTML type formatting with styles and so on.

It will be not easy to be implemented. Besides there is no example streams that use this.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: WebVTT subtitles support #3 littlesat

  • PLi® Core member
  • 58,310 posts

+730
Excellent

Posted 13 March 2025 - 14:58

Is it possible to convert them to srt?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: WebVTT subtitles support #4 WanWizard

  • PLi® Core member
  • 72,633 posts

+1,935
Excellent

Posted 13 March 2025 - 15:20

Please avoid any solutions that require client side rendering, like nodejs, an STB is not a powerful desktop.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: WebVTT subtitles support #5 WanWizard

  • PLi® Core member
  • 72,633 posts

+1,935
Excellent

Posted 13 March 2025 - 15:24

Is it possible to convert them to srt?

 

Yes, very easy, just strip all the HTML5 nonsense, and anything after the from-until timestamps, and you're left with a valid SRT file.

 

So the quickest way to support it, is to strip these things on the fly, while reading and processing the VTT file. Obviously, you would lose al the fancy-pants HTML5 stuff, which you don't need anyway ( good for video presentations etc, not for movie subs ).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: WebVTT subtitles support #6 DimitarCC

  • PLi® Contributor
  • 1,977 posts

+202
Excellent

Posted 13 March 2025 - 15:32

The problem would be if that is sent embedded to the stream...Then there is no file to process. For local files i can agree.


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: WebVTT subtitles support #7 WanWizard

  • PLi® Core member
  • 72,633 posts

+1,935
Excellent

Posted 13 March 2025 - 16:01

If it is embedded in the stream, it is a separate pid that need processing as well, either in serviceMP3, or by gstreamer itself (which seems to have support for VTT)?

 

Step 1 is to get a video file that has VTT embedded, without it, there's nothing to test.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: WebVTT subtitles support #8 littlesat

  • PLi® Core member
  • 58,310 posts

+730
Excellent

Posted 13 March 2025 - 16:17

FYI

 

https://www.dittotra...t media players.

 

Basic looks the same... but they can do multiple languages in one line and have html style things for italic etc....

 

When the multiple language is not used we only need to strip of the html stuff (all between <>)... as far I remember from long time ago we already do (and replace italic e.g. by specific colors in the first place and now I think this should work).

 

I'm not sure if this should work within a 'stream' as it depends on how it was 'packed' within the stream.


Edited by littlesat, 13 March 2025 - 16:21.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: WebVTT subtitles support #9 WanWizard

  • PLi® Core member
  • 72,633 posts

+1,935
Excellent

Posted 13 March 2025 - 16:20

Yeah, that is what I wrote, VTT = SRT + HTML5 extensions (which basically allows overrides to alter the look and feel, colour, size, positioning, etc).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: WebVTT subtitles support #10 littlesat

  • PLi® Core member
  • 58,310 posts

+730
Excellent

Posted 13 March 2025 - 16:30

Then first thing is... do we see the html style code already?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: WebVTT subtitles support #11 DimitarCC

  • PLi® Contributor
  • 1,977 posts

+202
Excellent

Posted 13 March 2025 - 16:33

that is the specs

 

https://www.w3.org/TR/webvtt1/

 

There are a lot of variants....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: WebVTT subtitles support #12 littlesat

  • PLi® Core member
  • 58,310 posts

+730
Excellent

Posted 13 March 2025 - 16:38

OMG


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: WebVTT subtitles support #13 WanWizard

  • PLi® Core member
  • 72,633 posts

+1,935
Excellent

Posted 13 March 2025 - 17:23

Yup. It was never designed for TV video close caption, but for web-based video, as a means to have HTML markup linked to video timing (for example in online training, you can overlay text, pointers, move things as the video plays, etc).

 

Hence my remark that for "our" use, the best thing would be to dumb them down to SRT level when we encounter one.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: WebVTT subtitles support #14 littlesat

  • PLi® Core member
  • 58,310 posts

+730
Excellent

Posted 13 March 2025 - 18:39

As far I know we already remove all between the < and >....

 

But I'm not 100% sure as it also could be that we only filter out <i> </i> <b> </b> etc.... and arranged that at least these are correctly shown...

 

It is too long ago I'm in every detail (I'm afraid more than 10 years ago).... a time I worked on subtitles with pieterg... I remember initially I color coded italics etc... 


Edited by littlesat, 13 March 2025 - 18:42.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: WebVTT subtitles support #15 rantanplan

  • PLi® Contributor
  • 2,072 posts

+94
Good

Posted 14 March 2025 - 00:49

https://github.com/s...198246cdbee8605



Re: WebVTT subtitles support #16 ruai4

  • Member
  • 7 posts

+1
Neutral

Posted 30 June 2025 - 20:53

Would it be possible to get ideas from here please?

 

https://github.com/o...2932c5e108e4c12



Re: WebVTT subtitles support #17 Rick Hunter

  • PLi® Core member
  • 9,081 posts

+57
Good

Posted 1 July 2025 - 20:17


The AFN tv channels at 9.0 east has subtitels just like the tv channels in the USA. Do they use VTT also?

Re: WebVTT subtitles support #18 Rick Hunter

  • PLi® Core member
  • 9,081 posts

+57
Good

Posted 1 July 2025 - 20:19

Also when I stream these channels to a vlc client I can watch the subtitles, so you can check is a program has subtitles.

Re: WebVTT subtitles support #19 kalehrl

  • Senior Member
  • 511 posts

+9
Neutral

Posted 2 July 2025 - 06:22

Pluto and Samsung TV Plus services use VTT AFAIK.



Re: WebVTT subtitles support #20 ruai4

  • Member
  • 7 posts

+1
Neutral

Posted 2 July 2025 - 07:56

Using open atv 7.6 beta which includes the patch https://github.com/o...2932c5e108e4c12

 

on pluto services https://vuplus-suppo...plutotv-plugin/

 

for example pluto tv spotlight, the timing is wrong and it can not be corrected with delays.





Also tagged with one or more of these keywords: VTT, WebVTT, subtitle, subtitles, SRT

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users