Jump to content


Photo

Coloured subtitle tags

external subtitles srt

  • Please log in to reply
37 replies to this topic

#1 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 16 January 2015 - 10:31

I have recently updated to the latest oPLi version and I miss the option "alternative" for colouring external subtitles. I believe this has been dropped when the new fonts have been added.

 

I am not happy at all with the way how subtitle tags are handled now by font switching.

 

Can you please reactivate the colouring option?

 

 



Re: Coloured subtitle tags #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 16 January 2015 - 10:43

What has happened, iirc, is that the unofficial html tags <i> <b> and <u> where displayed as certain colours in the past. Now they are replaced by subfonts. Is that what you mean?

 

The disadvantage (as you already found out probabably) is that enigma2 only allows one font per text render call, so the whole line is shown as italic or bold (underlined is not supported at all). I also liked the coloured variant, but it seems many people dislike it, we've have had many requests to do it this way, even though it's imperfect.

 

The best option would be an option, indeed. But it's not that simple to implement (yes everything is, given you have enough time, but at least my spare time is already spent, maybe another dev likes to have a look).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Coloured subtitle tags #3 WanWizard

  • PLi® Core member
  • 68,552 posts

+1,737
Excellent

Posted 16 January 2015 - 10:45

Me too. I think we all are used to English subtitles, where colour is used all the time... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Coloured subtitle tags #4 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 16 January 2015 - 11:02

Dutch subtitles for the hearing impaired is also coloured. But apparently nobody ever sees them ;)

 

I could imagine we'd want to switch to a less intrusive colour scheme though, like light yellow and light cyan, less saturated.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Coloured subtitle tags #5 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 16 January 2015 - 11:31

It was called alternative coloring pointing it replaces font changes (italic bold etc...) as work-a-round to colors... As we now after years can change the font (not exactly following all srt specs, but for 99.9% of the subtitles is should perform well) the alternative coloring work-a-round became obsoleted... That is why it is removed....


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


Re: Coloured subtitle tags #6 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 17 January 2015 - 09:40

Well you call it obsoleted, but some people apparently prefer it (including me).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Coloured subtitle tags #7 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 17 January 2015 - 09:43

Lets put a configuration to select mode and everyone will be happy once again :)
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Coloured subtitle tags #8 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 17 January 2015 - 09:45

Yes that would be nice, but I've the code and it will make the code a lot less clean. Because e.g. the <b> tag now makes the whole element render in bold subfont and then all the <b> and </b> tags are removed. With colouring that is not what you want.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Coloured subtitle tags #9 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 10:16

Would be even nicer If both modes could co-exist, with separate on / off option...

 

That way, every personal preference would be considered, including a combined style (i.e. coloured and bold font).


Edited by Stan, 17 January 2015 - 10:21.


Re: Coloured subtitle tags #10 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 17 January 2015 - 12:39

It was obsoleted because coloring italic, bold etc,., was a work-a-round at the moment I implemented it years ago. Dmm did start code to do this right but never finished it...

Of course the alternative coloring mode could be (re)added.. This is relativaly simple patch... I actually like it that you get used and like something that was actually intended as work-a-round....

Edited by littlesat, 17 January 2015 - 12:41.

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


Re: Coloured subtitle tags #11 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 17 January 2015 - 14:49

FYI: http://sourceforge.n...00184dac6b4783/


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


Re: Coloured subtitle tags #12 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 17:03

Thanks littlesat. Good to see that "alternative" is back. :)

 

In a way, the coloured <u> tag and the new dialog colouring are also "alternative". In fact they complete this style.
May I suggest to include/move them into the "alternative" option? If there aren't any objections, of course...



Re: Coloured subtitle tags #13 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 17:38

One last thing... Could you please set up "alternative" as a separate option? By that, one would still have access to selecting the default subtitle colour. (white or yellow).

 

Also some colours would have to be re-defined:

 

 - default: white or yellow (as is)

 - dialog: yellow, cyan (as is)

 - italic: green (suggested)

 - bold: magenta (suggested)

 - underlined: red (suggested)

 


Edited by Stan, 17 January 2015 - 17:41.


Re: Coloured subtitle tags #14 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 17 January 2015 - 17:41

Sorry I really do not understand...

 

I analyzed a lot of subtitles I never found bold... ;)

 

When making yellow I could only consider to fallback on a different alternative method...

 

I do not want to make too much options... I suggest you should simply be happy with alternative... all white and all yellow....


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


Re: Coloured subtitle tags #15 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 18:01

I agree. No more than 3 (separate) options:

 

 - default colour

 - coloured tags (including <u> and dialogs)

 - font switching



Re: Coloured subtitle tags #16 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 17 January 2015 - 18:06

Default color is only for teletext???


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


Re: Coloured subtitle tags #17 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 18:21

There are separate settings for teletext and external subtitles.

 

You may have a point there to select either white, yellow or alternative. I'll leave that up to you.

 

I'd be more than happy if you could make the other changes mentioned above.


Edited by Stan, 17 January 2015 - 18:26.


Re: Coloured subtitle tags #18 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 17 January 2015 - 18:44

Teletext subtitles can have orriginal colors... Pango (srt) external subtitles not... they can have color change tags in the srt format, but this is rarely used and enigma2 does not decode them at all....


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


Re: Coloured subtitle tags #19 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 19:03

Yeah, I never encountered those colour tags either, I think we can ignore them for now. Or maybe, to be on the safe side, simply filter them out.


Edited by Stan, 17 January 2015 - 19:04.


Re: Coloured subtitle tags #20 Stan

  • Senior Member
  • 312 posts

0
Neutral

Posted 17 January 2015 - 21:25

BTW: Why do you call these subtitles Pango? I believe the correct name of this format is SubRip.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users