Jump to content


Photo

Subtitle background from teletext tuxtxt


  • Please log in to reply
75 replies to this topic

Re: Subtitle background from teletext tuxtxt #61 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 19 September 2015 - 10:14

I just added the option...

 

https://github.com/O...b131ed24910c004

 

In our next nightly builds it will be included.... Please test if this is sufficiant!!


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


Re: Subtitle background from teletext tuxtxt #62 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 19 September 2015 - 11:24

note that for the srt/text subtitles for MKVs etc... I still need some additional research....


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


Re: Subtitle background from teletext tuxtxt #63 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 19 September 2015 - 12:36

@Littlesat please see internal topic.


Edited by Erik Slagter, 19 September 2015 - 12:36.

* 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: Subtitle background from teletext tuxtxt #64 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 20 September 2015 - 17:23

Works fine now, apart from a slight issue.

With 'Use original teletext position = no', the vertical size of the background is fixed (too large, not adjusted to the size of the text).

 

Attached File  ST1.jpg   122.68KB   3 downloads   Attached File  ST2.jpg   103.57KB   3 downloads



Re: Subtitle background from teletext tuxtxt #65 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 20 September 2015 - 17:28

Shoot.... I fixed that for the srt subs.... But for teletext not at orriginal position I have to do the same trick as i did with the srt's....
All was finetuned for borderd subs....
Work in progress I suggest.... ;)

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


Re: Subtitle background from teletext tuxtxt #66 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 20 September 2015 - 17:44

also, for srt subs, when you have 'rewrap subtitles' option set to yes, in two liners only bottom line has a background, and in addition with fixed (max) width...

as soon as you disable rewraping, everything is displayed correctly

Attached Files


True sarcasm doesn't need green font...

Re: Subtitle background from teletext tuxtxt #67 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 20 September 2015 - 20:18

As far I can see we have to many options for subtitles... ;)

I need to add code when teletext subs are not displayed on the orriginal locafion... And I need to rewrap when required when the boundary needs to be calculated...

Edited by littlesat, 20 September 2015 - 20:19.

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


Re: Subtitle background from teletext tuxtxt #68 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 20 September 2015 - 20:23

As far I can see we have to many options for subtitles... ;)

 

well,  you reap what you sow :P


True sarcasm doesn't need green font...

Re: Subtitle background from teletext tuxtxt #69 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 20 September 2015 - 21:44

Hihi.... I need to add something for the teletext subtitles... And when I check for the bounday I need to add rewrap when it is enabled.... And the third wat may be add background/drop to the blit text function....
As soon I have time I try to fix het the way I went know....

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


Re: Subtitle background from teletext tuxtxt #70 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 21 September 2015 - 18:38

I hope the two mentioned topics are fixed...

 

https://github.com/O...0809ef6362ee561

 

But I can still make the code much easier and more universal by moving the background to grc.cpp and let renderText arrange the background... -or- should we rename it to backdrop...

 

But I need time to improve it... so I choose for a quickfix for now (sorry)....


Edited by littlesat, 21 September 2015 - 18:41.

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


Re: Subtitle background from teletext tuxtxt #71 kkm

  • Senior Member
  • 25 posts

0
Neutral

Posted 22 September 2015 - 07:08

thanks you very much! I love this programm definitely and I will recommend for my friend and deafies world..

when can I this image test?

 

@developer,

I forget to tell, I need this option for transparent alpha e.g 10%, 20%, 30%,..etc..Is that a lot of work?


Edited by kkm, 22 September 2015 - 07:11.


Re: Subtitle background from teletext tuxtxt #72 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 22 September 2015 - 07:46

I have a fixed transparent value now as I did not want to add more configs.... I hope the default is good enough.... I made it now 12.5% transparant.

 

Basically it is not a lot of work... but an extra (or more difficult) parameter... So I would only prefer to change it when it is really needed for some good reason. (e.g. I can change on/off to 0, 10, 20, 30... 100% - when 0% do not draw it at all)


Edited by littlesat, 22 September 2015 - 07:47.

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


Re: Subtitle background from teletext tuxtxt #73 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 22 September 2015 - 14:24

also, for srt subs, when you have 'rewrap subtitles' option set to yes, in two liners only bottom line has a background, and in addition with fixed (max) width...

as soon as you disable rewraping, everything is displayed correctly

This is exactly what I feared would happen. The problem is that at several stages the outline of the text is changed. So it isn't that easy to "just" draw a rectangle behind it.


* 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: Subtitle background from teletext tuxtxt #74 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 22 September 2015 - 15:14

In between all reported issues were solved ;) Also the rewrapping topic, which was actually an easy fix...


Edited by littlesat, 22 September 2015 - 15:14.

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


Re: Subtitle background from teletext tuxtxt #75 kkm

  • Senior Member
  • 25 posts

0
Neutral

Posted 1 October 2015 - 00:06

Can I try this image now? Still in Dev?

thanks for reply



Re: Subtitle background from teletext tuxtxt #76 kkm

  • Senior Member
  • 25 posts

0
Neutral

Posted 14 September 2016 - 16:50

I want to upgrade to new version of openpli. But I want to know this feature still get on newer version or remove? I hope hope this feature still includes.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users