Geo650, please avoid using imageshack.
They filter images for domains and sourceforge.net is not registered.
Only Imageshack members could see the pictures.
Thanks
subtitles font
-
- Official SamyGO Developer
- Posts: 180
- Joined: Sun Feb 21, 2010 3:18 pm
- Location: Poland
- Contact:
Re: DVB-T stream with subtitles
Thanks for this research.geo650 wrote:My investigation:
Conclusion: These subtitles are stored in bitmaps only.
[...]
There are no visible text-encoded subtitles in that file. It's a pity.
But I hope, we know more about DVB subtitles now.
But now we must go back. We got 4 fonts files inside TV (2x .ttf - True Type and 2x .pfr).
After hex view .pfr files (they are very small - 42,7 KB & 17 KB) i found text Tiresias Screenfont v7.51
Sites about it:
- http://www.tiresias.org/fonts/screenfon ... screen.htm
- http://en.wikipedia.org/wiki/Tiresias_%28typeface%29
Could anyone record sample file with subtitles from UK
___
BTW
I got small idea for better readable subtitles look in Media Player.
geo650, you method for draw images on screen works perfect with 'standard' TV OSD. You images are show behind TV OSD.
So maybe use this method for draw half-transparent black box on screen bottom (at the same place so text shown).
This box can be show/hide using SUBT. button on remote.
.
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)
Re: subtitles font
@erdem_ua: thread's images have been moved to another server.
LATER:
Moras86, your idea has been realized. At least for MediaPlay subtitles.
I made an application which places black rectangles under subtitle texts. It is not very smart but works in my TV.
You can download this app here:
http://sourceforge.net/projects/samygo/ ... p/download
(Outliner 0.1)
or
http://sourceforge.net/projects/samygo/ ... p/download
(Outliner 0.1 alternative version - with different framebuffer address)
May not work properly on some devices. Uses hardcoded framebuffer address. Source code is also available.
http://sourceforge.net/projects/samygo/ ... p/download
(I have uploading error again and clearing cookies doesn't help... so I couldn't upload to Source subfolder...)
(Outliner 0.1 source code)
Good idea, but I suppose my functions use the same plane as subtitles. We need to make some tests.moras86 wrote:geo650, you method for draw images on screen works perfect with 'standard' TV OSD. You images are show behind TV OSD.
So maybe use this method for draw half-transparent black box on screen bottom (at the same place so text shown).
This box can be show/hide using SUBT. button on remote.
LATER:
Moras86, your idea has been realized. At least for MediaPlay subtitles.
I made an application which places black rectangles under subtitle texts. It is not very smart but works in my TV.
You can download this app here:
http://sourceforge.net/projects/samygo/ ... p/download
(Outliner 0.1)
or
http://sourceforge.net/projects/samygo/ ... p/download
(Outliner 0.1 alternative version - with different framebuffer address)
May not work properly on some devices. Uses hardcoded framebuffer address. Source code is also available.
http://sourceforge.net/projects/samygo/ ... p/download
(I have uploading error again and clearing cookies doesn't help... so I couldn't upload to Source subfolder...)
(Outliner 0.1 source code)
-
- Official SamyGO Developer
- Posts: 180
- Joined: Sun Feb 21, 2010 3:18 pm
- Location: Poland
- Contact:
Re: subtitles font
Thanks geo650
You application is a much better than my idea
After fast test I notice some things:
- Outliner show background rectangle moved something about 50-100px in left direction (reference subtitles)
- Alternative Version of Outliner show perfect fit background
- background is showing at same time so subtitles but sometimes blink (once or twice)
- some OSD element (Volume circle, Info bar...) also force show background
For me background should be little more visible (less transparent).
If I'm right it's only one parameter (AA) to change in outline.h source:
You application is a much better than my idea
After fast test I notice some things:
- Outliner show background rectangle moved something about 50-100px in left direction (reference subtitles)
- Alternative Version of Outliner show perfect fit background
- background is showing at same time so subtitles but sometimes blink (once or twice)
- some OSD element (Volume circle, Info bar...) also force show background
For me background should be little more visible (less transparent).
If I'm right it's only one parameter (AA) to change in outline.h source:
Code: Select all
#define BKG_COLOR ((Uint32)(0x80000000L)) // AARRGGBB color of background bar
.
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)
TV LCD: Samsung LE40B651T3W (CI) | Internet@TV | fw: 2005 (patched: SamyGO v0.24 + GMT2, ArFIX2, ADFIX) | matrix: SQ04
BluRay: Samsung BD-D5300-ZF | SamsungApps | fw: 1013
Android-Box: Zidoo X8 | Realtek RTD1295 64bit (QuadCore), Mali-T820 GPU, 2 GB RAM, HDMI IN record, Android 6.0 | ZDMC 17.1
my projects: Remote LAN Control - Desktop app (v0.8) | Signal checker for DVB-T (v0.3)
Re: subtitles font
I hoped it will work for you. That's exactly the same problem like in ScreenCap application. Can somebody explain why these pixel-shifts occur? Or how to get valid framebuffer address from system? BTW, I wonder also how to get surface resolution for DVB subtitles - as it can be different than FullHD/2.moras86 wrote:- Outliner show background rectangle moved something about 50-100px in left direction (reference subtitles)
- Alternative Version of Outliner show perfect fit background
I've noticed this effect as well. Can anybody explain why it happens? I think, there is better method for running background tasks in linux (than creating a thread with endless loop).moras86 wrote:- background is showing at same time so subtitles but sometimes blink (once or twice)
Yes, this is normal in such algorithm. It looks for non-empty areas and paints black rectangles below them.moras86 wrote:- some OSD element (Volume circle, Info bar...) also force show background
You're right. This constant value defines black bar transparency (and colour). It can be changed. First, it was set to E0... but it was too dark.moras86 wrote:For me background should be little more visible (less transparent).
If I'm right it's only one parameter (AA) to change in outline.h source:Code: Select all
#define BKG_COLOR ((Uint32)(0x80000000L)) // AARRGGBB color of background bar
Both values - pixel shift and BKG_COLOR will be set by INI file. Next version is coming (don't expect too much, though)...
Thank you for testing.
-
- Posts: 36
- Joined: Wed May 05, 2010 9:31 pm
- Location: Bucharest, Romania
- Contact:
Re: subtitles font
Hi,
Great work guys, I'm looking forward to this.
Now that we are able to alter the subtitle aspect, is there any chance of adding the feature of displaying internal MKV text subtitles (or even bitmap subtitles too) in the TV Media Player? I'm thinking of something like, instead of looking for an external subtitle file (sub, txt, srt), read that file from the MKV file, which most of the time contains text formated subtitles.
Thanks.
Great work guys, I'm looking forward to this.
Now that we are able to alter the subtitle aspect, is there any chance of adding the feature of displaying internal MKV text subtitles (or even bitmap subtitles too) in the TV Media Player? I'm thinking of something like, instead of looking for an external subtitle file (sub, txt, srt), read that file from the MKV file, which most of the time contains text formated subtitles.
Thanks.
Samsung LE37B653T5PXZG, T-CHLCIPDEUC 2008.2 firmware, Advanced Mode Patch
-
- Posts: 79
- Joined: Tue Oct 20, 2009 8:04 pm
Re: subtitles font
Works like a charm with the "normal" version on my B650T2W.
Really great with TV shows or films with hardcoded subtitles down.
Really great with TV shows or films with hardcoded subtitles down.
55B650 and 37B650 with patched firmware
Re: subtitles font
Here you are: Outliner 0.2 with two methods of text enrichment (black bars and shadows), and configurable through INI file:
http://sourceforge.net/projects/samygo/ ... p/download
BTW, you'll see my tool for teletext subtitles in a few weeks, I hope. Testing phase continues...
http://sourceforge.net/projects/samygo/ ... p/download
I think it is possible, but requires very hard work. Sorry, please don't count on me.gchirtoaca wrote:...is there any chance of adding the feature of displaying internal MKV text subtitles...?
BTW, you'll see my tool for teletext subtitles in a few weeks, I hope. Testing phase continues...
Re: subtitles font
great work !geo650 wrote:Here you are: Outliner 0.2 with two methods of text enrichment (black bars and shadows), and configurable through INI file:
http://sourceforge.net/projects/samygo/ ... p/download
I think it is possible, but requires very hard work. Sorry, please don't count on me.gchirtoaca wrote:...is there any chance of adding the feature of displaying internal MKV text subtitles...?
BTW, you'll see my tool for teletext subtitles in a few weeks, I hope. Testing phase continues...
can you post sources for that version ?