Hello,
I processed a DVB-T stream with subtitles with ProjectX, then GFD, but I have problems to get correct subtitles.
The subtitles are displayed, but they are hardly readable, mainly because they are black in dark scenes. Sometimes one or 2 are white, then it goes back to black.
The demux comes with a .SUP and a .SUP.IFO file, so I inserted the IFO in the "special colors" of GFD (it warned me that there could be conversion problems)(??). I tried also a palette suggested by Borax in the thread https://forum.videohelp.com/viewtopic.php?t=319821, but the result was not much better.
I do not know if that comes from the original TS stream or from the processing by GFD, because I have not seen the subtitles when recording, and I have no software player which can play back raw TS streams or elemental streams with subtitles.
I can just forget it until the next recordings and look this time at the subtitles when receiving the DVB-T, but maybe I could try to understand what is going on with the subtitles' colors.
Maybe somebody could give me a link to a doc which explains how it works. Is each subtitle image endowed with 4 figures giving the proportion of the 4 colours of the palette ? Is it possible to give a palette to make all subtitles white, or yellow ?
Gabier
+ Reply to Thread
Results 1 to 9 of 9
-
-
I post this answer to move up the post in the list, as it was in the wrong forum for several days, and also because I have new informations about the problem.
I managed (thanks to manono) to converse my sup files to .Son files, andthus I could be able to load them in DVDLab. And there the subtitles are not black at all, they are white or yellow according to the color specified in DVDLab (these 2 colors are the only possible choices).
They are more readable, but they not very good either, because they are too tranparent.
The way the subtitles colors and other properties are set in authoring softwares is an unfathomable mystery.
Gab -
You can 'preview' the SUP file in my SUPViewer program. You can also load/manipulate and save the palette there. Maybe it helps.
To change transparency you can edit the alpha values with dvdsubedit on the final DVD structure (vob files from dvdlab). If the palette doesn't fit exactly to the SUP file, you will always get 'strange' results. My 'suggested' palette is ONLY suitable for SUP files created with txt2sup in the 'no ifo file mode'.
Technically each single subtitle can use 4 colors (one of them is always full transparent - so just three remain with variable transparency) from a palette of 16 colors. Therefore one subtitle can use colors 1,3,5,7 the next 1,2,4,6...
I have no idea what your DVB stream contains.GUI for dvdauthor:
https://www.videohelp.com/~gfd/ -
Originally Posted by borax
I think I understand now how the color of each subtitle is set. For instance : from the palette take colors 0, 3, 5, 12 with opacities 0, 4,D,D (hex values). Hence the importance of the palette.
Now, in the TS stream, the palette seems to be in the .SUP.IFO substream and not in the .SUP file. Correct ? Thus if a program uses only the .SUP file, it can only use a default palette with unpredictable results. Still correct ?
Now, concerning my test files, probably the subtitles colors are horrible from the beginning. However, in order to be able in other tests to track the palettes correctly along the processing chain, I would like to understand the details.
If with SupViewer I store the palette of my .IFO file I get the attached file. If I open the file with the Notepad, the first line is 1A79AB. Is that the first color of the palette ? Is it given in RGB codes ? Yet in SupViewer if I click the first color of the palette on the top of the panel I get a colour with RGB (0,0,97) which is in hex (0,0,61). ???
Last I displayed the subtitles with DVDSubEdit in the authored DVD (with GFD) and the subpics look strange (black with white left edge). I also opened the DVD with PGCEdit. It gives a 16 color "SubPicture Color Lookup Table" which looks very much like a palette, and it does not look at all like the original palette. What does GFD with the palette ?
Should I import in the final DVD the original IFO palette as stored by SupViewer ? How ?
Gab
palette_ifo.pal -
from the palette take colors 0, 3, 5, 12 with opacities 0, 4,D,D (hex values). Hence the importance of the palette.
Now, in the TS stream, the palette seems to be in the .SUP.IFO substream and not in the .SUP file. Correct ? Thus if a program uses only the .SUP file, it can only use a default palette with unpredictable results. Still correct ?
If with SupViewer I store the palette of my .IFO file I get the attached file. If I open the file with the Notepad, the first line is 1A79AB.
Concerning the 'final' DVD:
If you import/use the same palette in GfD as you have used in the SupViewer, the result should be the same everywhere: SupViewer, DVDSubEdit, softplayer, stand alone player... (if not, there's a bug!)
I have just made a test myself (with both engines: dvdauthor and MuxMan) and the palette shown in pgcedit is exactly the same. Make sure you have opened the 'SubPicture Color Lookup Table' for the movie (VTST) and not a menu, as the palette for a menu may be completely different. GfD does nothing with the palette except converting colorspaces (RGB<->YCrCb) which is necessary due to the used tools (sup2png+spumux or MuxMan).GUI for dvdauthor:
https://www.videohelp.com/~gfd/ -
Originally Posted by borax
I do not know how to get the reason why the subtitles are black where they should be yellow or white. I recorded another movie, and it looks the same. From ProjectX I output Sup and Son files. If I look at the SUP file with your SupViewer, the subtitles are black (or transparent grey). If I open the bmps of the Son files, they are yellow. If I import the Sup file in GFD, I get black subtitles. If I import the son files into DVDLab, it compiles the subtitles stream OK, but I do not see any subtitle.
I am realy confused. Could there be something wrong in the DVD-T TS stream (I get those subtitles from only one station, Arte), or in projectX, about those subtitles ?
Gab -
I do not know how to get the reason why the subtitles are black where they should be yellow or whiteGUI for dvdauthor:
https://www.videohelp.com/~gfd/ -
Originally Posted by borax
)
Thanks for spending some time trying to help me!
Gabier -
Just for anyone to be able to know the solution of this problem, which was solved thanks to Borax.
In projectX, if you intend to use SUP files for subtitles, do not choose the 16 colours or 256 colours option in the IRD setting of the Subtitles tab of the presettings, but only the 4 colours option. Else ProjectX tries to map a 16 colours palette (or 256) to a 4 colours palette (maximum for SUP files), and does it wrongly.
Good luck !
Gabier
Similar Threads
-
Help with ProjectX and Subtitles
By cyberfizz in forum DVB / IPTVReplies: 1Last Post: 26th Jan 2012, 11:38 -
Can Projectx rip text subtitles from TS without demuxing the other streams?
By Talayero in forum SubtitleReplies: 2Last Post: 31st May 2011, 14:29 -
GfD Subtitles - more than 3 streams
By GFDuser in forum SubtitleReplies: 1Last Post: 25th Apr 2010, 22:18 -
Problem with ProjectX - extraction of subtitles from TS with timing errors
By anthara in forum DVB / IPTVReplies: 1Last Post: 23rd Jan 2010, 08:26 -
Elp! Subtitles Projectx to Avidemux
By PIXCELBUS in forum SubtitleReplies: 1Last Post: 31st Mar 2009, 05:49