Jump to content


Photo

dvb subtitle broken

et4000

  • Please log in to reply
21 replies to this topic

#1 mge

  • Senior Member
  • 102 posts

0
Neutral

Posted 24 February 2014 - 19:42

 made an online update, now dvb subtitles are broken

 

anybody confirm?

 

tested:

ard hd

zdf hd

 

Attached File  subt.jpg   58.07KB   54 downloads


Edited by mge, 24 February 2014 - 19:42.

ET4000
PLi-HD Skin

Re: dvb subtitle broken #2 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 25 February 2014 - 21:56

I can observe that too.

Quick solution: go to subtitles settings and set 'center DVB subtitles' to 'no'.

Littlesat has decided to change that default setting in the image for some reason and it seems that this feature is broken.

BTW, I always thought that DVB subtitles can position themselves.

Regards.

Re: dvb subtitle broken #3 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 3 March 2014 - 15:18

Has this been fixed in the meantime?


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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: dvb subtitle broken #4 Frogman

  • Senior Member
  • 389 posts

+67
Good

Posted 13 April 2014 - 20:15

No, has not been fixed. Same with todays update... :(


Most problems can be solved simply by a closer look.

Re: dvb subtitle broken #5 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 13 April 2014 - 20:56

Problem could be there in clearing rests of outlines in 2nd region. When are left aligned subtitles wrongly divided into in 2 regions by provider, then are this regions centered and outllines of first lines in 2nd region are still on bottom of first region. For this was added stere in subtitle.cpp clearing this rests:

 

	if( subcentered && region->region_id && line < 3 ) 
	{
		for (int i = 0; i < len; i++ )
			if( data[i] <= 8)
			{
//				eDebug("[SUB] !!!! Clearing rest of last region");
				data[i] = 0;
			}

Do not know, how is broadcasted DVB subtitles on ZDF HD, because "yellow subtitles" is not always yellow subtitles too.


Kdo nic nedělá, nic nezkazí!

Re: dvb subtitle broken #6 littlesat

  • PLi® Core member
  • 49,475 posts

+531
Excellent

Posted 13 April 2014 - 21:34

Usually center dvb subs do give a better look... But when the provider made strange thinks than strange things might happen...

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


Re: dvb subtitle broken #7 littlesat

  • PLi® Core member
  • 49,475 posts

+531
Excellent

Posted 13 April 2014 - 22:30

When align leff these subs are already centered and then indeed they are correctly displayed.

No idea why there are broken somehow... But I suggest ims is close to the issue. Ims can you help here?

As work-a-round there are still teletext subs on these channels who even look better...

Edited by littlesat, 13 April 2014 - 22:34.

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


Re: dvb subtitle broken #8 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 14 April 2014 - 07:49

May be, add into DVB subtitles - "Remove rest outlines for DVB subtitles", default as False, visible only, when is set Centered DVB subtitles and this clearing use only, when user need use it ? Or use it only, when subtitles are not centered by provider. But It is not possible to know so easy.

I think, there on ARD will be bad regions too - i will not to have time this week for investigate it. For adding options is not problem..

 

Or - remove this clearing

 

You must tell, what you will accept. Clearing was used for upc's provider some years ago. I do not know now, if they still so badly broadcasting subtitles


Edited by ims, 14 April 2014 - 08:25.

Kdo nic nedělá, nic nezkazí!

Re: dvb subtitle broken #9 littlesat

  • PLi® Core member
  • 49,475 posts

+531
Excellent

Posted 14 April 2014 - 09:40

I think this clearing should not damaged the graphs...

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


Re: dvb subtitle broken #10 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 14 April 2014 - 09:53

I do not understand...


Kdo nic nedělá, nic nezkazí!

Re: dvb subtitle broken #11 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 14 April 2014 - 10:34

We can at least try it. This part of the code is all gibberish to me anyway.

 

Littlesat, I don't understand the "center DVB option" actually. DVB subs are sent as bitmaps with a specific location on the page. I don't understand how you can either "
"center" or "not center" that.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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: dvb subtitle broken #12 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 14 April 2014 - 10:50

Yes, it is bitmap, but it is created from text by provider.

Center is possible, when bitmap is true divided into region = 1st text line as bitmap in one region and 2nd text line as bitmap in second region. Providers make it well, when they broadcasting "left aligned" subtittles usualy = location of region is left on screen for both line.  Then is possible make centering very easy.

 

But some providers place this bitmap and do not see on text lines and regions - fortunately, he making centering theirself in most cases.

 

Ok, this code for "clearing rest" will be removed...


Kdo nic nedělá, nic nezkazí!

Re: dvb subtitle broken #13 littlesat

  • PLi® Core member
  • 49,475 posts

+531
Excellent

Posted 14 April 2014 - 10:56

Why can't you center them??? Its done for years and I never saw issues with that... Until this thread pops up... And e.g. Travell hdd cannot br centered as the bpm covers more then only the characters...
I'm afraid that the remove the rest of last region possibly removes to much...

Edited by littlesat, 14 April 2014 - 10:57.

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


Re: dvb subtitle broken #14 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 14 April 2014 - 11:45

Why can't you center them??? Its done for years and I never saw issues with that... Until this thread pops up... And e.g. Travell hdd cannot br centered as the bpm covers more then only the characters...
I'm afraid that the remove the rest of last region possibly removes to much...

Exactly like IMS says + the regions are marked with a location on the screen. To implement something like "centering" you'd have to ignore (part of) the location information. I can imagine that gives problems with maybe some providers, because they might not account for that.

 

I think you can rationally do two things: either honour all of the location information or discard all of it and complete reformat the subs (like we do with teletext subs). Ignoring half of it, I don't think that will work really well. It reminds me of the way DMM implemented teletext subtitles originally, real ugly.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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: dvb subtitle broken #15 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 14 April 2014 - 11:46

I'm afraid that the remove the rest of last region possibly removes to much...

If this makes subtitling works for all of the French channels, I think it's worth a workaround setting.


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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: dvb subtitle broken #16 littlesat

  • PLi® Core member
  • 49,475 posts

+531
Excellent

Posted 14 April 2014 - 12:13

First the real cause of detroying those dvb graph subs from these german channels should be found,.. At least center does trigger something...

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


Re: dvb subtitle broken #17 Erik Slagter

  • PLi® Core member
  • 45,353 posts

+498
Excellent

Posted 14 April 2014 - 12:21

They're broken (sometimes) on French channels as well, they appear and disappear within a second, while the timeout is set to seven seconds, so apparently they're overwritten with empty ones. I failed to find the cause and gave up. DVB subs are way more complicated than text subs.


Edited by Erik Slagter, 14 April 2014 - 12:21.

* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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: dvb subtitle broken #18 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 14 April 2014 - 12:27

I think, on ARD/ZDF HD it is in this clearing (made by me some years ago for upc and centered subs ... it was useful for dutch too)... "rests" in first 3 lines in region 2 are cleared => missing 3 lines. I think, ARD/ZDF using smaller subtitles => when is generated bitmap, it seems, as 1 1/2 lines is placed into region 1 and 0.5 is in region 2 => 3 lines removed from top of region 2 make this effect.

 

As I saw, there on History HD on 23.5E are still time to time DVB subtitles ( in Dutch) , which are aligned left.  There you can see, that centering works and I think, without this "clearing" there will be wisibled rests of "j,p,y"...

 

When subtitles are centered, then is nonsence use it.


Edited by ims, 14 April 2014 - 12:30.

Kdo nic nedělá, nic nezkazí!

Re: dvb subtitle broken #19 janejak

  • Senior Member
  • 282 posts

+11
Neutral

Posted 14 April 2014 - 18:20

it somting weerd in DVB subtitle on NRK HD when the are Subtitle`s in live sending when it the new word the it written the word before it cut out, on orginal CD box i can se the subtitle all words it flicer when the new word is displayed

NRK is on Thor satelite on 0,8W

 

Attached Files



Re: dvb subtitle broken #20 ims

  • PLi® Core member
  • 11,164 posts

+168
Excellent

Posted 18 April 2014 - 22:35

I think this clearing should not damaged the graphs...

This "clearing" corrupt this ARD/ZDF subtitles...  because this subtitles are broadcasted differently.

 

How this clearing works: for DVB subtitles I set transparency for font's edges (outlines) in first 3 lines in region 1 (subtitles are broadcasted in region 0 and region 1) ...

Edges are black ( I do not know if this feature for edges is made by PLi) => all black rests in lines 0,1,2 in second region (region1) are set as full transparency  ( for data[i] <= 8  set data[i] to 0) => rest are "cleared". 

data[i] :  bits 0-3 ... transparency  ... 0 = full transparency,  7 = no transparency

              bits 4-7 ... color info, 8 = darkest color (still black) to 15 = full color 

 

And on HD ARD/ZDF's subtitles ... when I tried use "clearing" for cca 10 lines in region, then i saw, there is not removed lines, but is "removed" (= set to max. transparency) yellow color from fonts in this lines.

Tried replaced values and: 0 = full transparency, 1 = full color,  ...  and each next value make color darkest and little more transparency. 15 is some as semitransparency black.

Used cca 8 regions for 2 subtitle lines.  "Yellow DVB subtitles" does not work for this subtitles too.

 

But it are 4bpp subtitles too.  Some new definition which is not in E2 yet ?


Kdo nic nedělá, nic nezkazí!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users