Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th June 2022, 07:12   #1581  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Hello resolution!

It is tricky with colors, depending on which program you used, monitor, TV settings, etc. you can get weird results.
Check it out here, these are made in calibrated Photoshop, on a calibrated monitor.
You can try your colors here:
https://www.rapidtables.com/web/color/RGB_Color.html
The values you posted looks more "lime" to me than yellow.
213-235-57

213-235-59

These I have used when I wanted a more "yellow" color on my subtitles.
240-201-136

254-236-185

255-215-0

Kind regards,
varekai
varekai is offline   Reply With Quote
Old 30th June 2022, 07:33   #1582  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Quote:
Originally Posted by resolution View Post
I have noticed a possible issue that I thought I should mention.
Nice catch, I never noticed this. I can confirm slight changes in RGB (B actually) when exporting SUP to SUP.
SUP to XML/PNG export seems ok, but XML/PNG back to SUP suffers again.

[EDIT] You beat me to it, varekai. Will read.
von Suppé is offline   Reply With Quote
Old 30th June 2022, 12:16   #1583  |  Link
resolution
Registered User
 
Join Date: Apr 2022
Posts: 5
Quote:
Originally Posted by varekai View Post
Hello resolution!

It is tricky with colors, depending on which program you used, monitor, TV settings, etc. you can get weird results.
Check it out here, these are made in calibrated Photoshop, on a calibrated monitor.
You can try your colors here:
https://www.rapidtables.com/web/color/RGB_Color.html
The values you posted looks more "lime" to me than yellow.
Hi varekai, I think perhaps you did not understood the point of my post. My concern is that Subtitle Edit is changing is changing the color values after importing & exporting sup files, when it really shouldn't be affecting the color at all.

The subtitle I used as an example is taken straight from a DVD. I wish to edit the timing of it without altering the original color. Whether or not this subtitle is subjectively "yellow" or "lime" is not the issue.

Quote:
Originally Posted by von Suppé View Post
Nice catch, I never noticed this. I can confirm slight changes in RGB (B actually) when exporting SUP to SUP.
SUP to XML/PNG export seems ok, but XML/PNG back to SUP suffers again.
Thank you for confirming. It seems like a bug, right?
resolution is offline   Reply With Quote
Old 30th June 2022, 16:41   #1584  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Quote:
Originally Posted by resolution View Post
Thank you for confirming. It seems like a bug, right?
Yep, it seems so. I also quick & dirty checked srt export:

srt --> SUP also has slightly off "B" value
srt --> XML/PNG seems ok

So, my guess would be there is something not 100% correct with SUP export B-value.
I'm sure Nikse will respond.
von Suppé is offline   Reply With Quote
Old 30th June 2022, 21:06   #1585  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Quote:
Originally Posted by resolution View Post
Hi varekai, I think perhaps you did not understood the point of my post. My concern is that Subtitle Edit is changing is changing the color values after importing & exporting sup files, when it really shouldn't be affecting the color at all.

The subtitle I used as an example is taken straight from a DVD. I wish to edit the timing of it without altering the original color. Whether or not this subtitle is subjectively "yellow" or "lime" is not the issue.

Thank you for confirming. It seems like a bug, right?
Subjectively or not, the value you posted you called it "yellow",
213-235-57 and 213-235-59
Which one of the images I posted looks yellow in your opinion?
Also the difference in these values are veery small, hardly noticeable...

Last edited by varekai; 30th June 2022 at 21:09.
varekai is offline   Reply With Quote
Old 1st July 2022, 07:22   #1586  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Which one is which? Difficult isn't it, almost impossible, right?
Then use a colorpicker and find out...
Two free very useful apps (portable if you prefer) for colorpick.
https://annystudio.com/software/colorpicker/#download
http://www.den4b.com/products/colors
varekai is offline   Reply With Quote
Old 1st July 2022, 08:50   #1587  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Quote:
Originally Posted by varekai View Post
Two free very useful apps (portable if you prefer) for colorpick.
https://annystudio.com/software/colorpicker/#download
http://www.den4b.com/products/colors
Hey, never realized these existed. Very handy & direct for whatever's on-screen.
Thanks for pointing out.
von Suppé is offline   Reply With Quote
Old 2nd July 2022, 13:11   #1588  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 758
In shortcuts, we can't add any shortcuts to each items of remove formatting. Would be great if we could do to remove italics for example.

Last edited by Atlantis; 2nd July 2022 at 13:15.
Atlantis is offline   Reply With Quote
Old 3rd July 2022, 21:40   #1589  |  Link
resolution
Registered User
 
Join Date: Apr 2022
Posts: 5
Quote:
Originally Posted by varekai View Post
Subjectively or not, the value you posted you called it "yellow",
213-235-57 and 213-235-59
Which one of the images I posted looks yellow in your opinion?
What purpose does this discussion serve? Again -- I'm interested in how Subtitle Edit is altering color values of sup files.

I'm not interested in debating whether I used the most precisely correct color name to describe one example subtitle track. It is totally irrelevant.

Quote:
Originally Posted by varekai View Post
Also the difference in these values are veery small, hardly noticeable...
Yes, I acknowledged from the very beginning that the change introduced by Subtitle Edit is very small. Does that mean we can't discuss it?
resolution is offline   Reply With Quote
Old 4th July 2022, 07:16   #1590  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Quote:
Originally Posted by resolution View Post
What purpose does this discussion serve? Again -- I'm interested in how Subtitle Edit is altering color values of sup files.
I'm not interested in debating whether I used the most precisely correct color name to describe one example subtitle track. It is totally irrelevant.
Yes, I acknowledged from the very beginning that the change introduced by Subtitle Edit is very small. Does that mean we can't discuss it?
You've made 3 posts so far... chill man...
varekai is offline   Reply With Quote
Old 4th July 2022, 22:08   #1591  |  Link
resolution
Registered User
 
Join Date: Apr 2022
Posts: 5
Quote:
Originally Posted by varekai View Post
You've made 3 posts so far... chill man...
Yeah, I registered here so I could report this finding as my first post. You're the who wanted to have a debate with me about a color name, for some inexplicable reason. Now my post count is a problem too?

Perhaps it is you who needs to chill.
resolution is offline   Reply With Quote
Old 5th July 2022, 09:24   #1592  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528

Do we look yellow to you?

Last edited by varekai; 5th July 2022 at 09:31.
varekai is offline   Reply With Quote
Old 5th July 2022, 11:52   #1593  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
resolution, you may report your findings to Nikse555, maybe in PM.
In between you may test-run other colors to find if Blue offset stays constantly at +2 or moves with value,
this might help Nikse555 with troubleshooting
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 5th July 2022, 14:33   #1594  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528

Code:
Tried this.
started with srt set to color
blue
0
255
255
exported to sup
saved, color changed to
1
255
255
did time edit
saved, color changed to
3
255
255
varekai is offline   Reply With Quote
Old 5th July 2022, 18:19   #1595  |  Link
Nikse555
Registered User
 
Join Date: Feb 2004
Location: Mars
Posts: 428
Quote:
Originally Posted by resolution View Post
When I import a sup file to adjust times and durations only, and then save it as a new sup file, the resulting new file has subtly altered color values.
...
Is this something that could be tweaked, so that Subtitle Edit passes the colors through unaltered? Thanks!
SE will now try to keep colors (if possible) in latest beta: https://github.com/SubtitleEdit/subt...leEditBeta.zip

Does that work better?
Nikse555 is offline   Reply With Quote
Old 6th July 2022, 08:49   #1596  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Thanks for your effforts, Subtitle Edit is a true gem, one of its kind!
Couldn't do without it!

My humble opinion is that it is not worth wasting time on this so-called bug.
It is simply not possible to the human eye to determine the difference in these tiny color values on TV or the computer display.
However, if it is about commercial productions, such as photo printing, magazine art printing,
movie production, authoring and publishing Blu-ray and other multimedia,
then it is of course necessary with a near 100% correct color reproduction.
https://www.bbc.com/future/article/2...f-human-vision
Code:
Tried the beta
Created sup from srt, no color added in srt
For color used "blue"
0
255
255
Exported to sup

Used sup embedded in video (BD and mkv)
Used PowerDVD, PotPlayer, VLC and MPC-HC
VLC got the closest reading the others somewhat slightly different readings
1
254
255

Imported sup and edited time
Almost identical results.

Last edited by varekai; 6th July 2022 at 09:03. Reason: added image 1.254.255-0.255.255
varekai is offline   Reply With Quote
Old 6th July 2022, 10:30   #1597  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Quote:
Originally Posted by Nikse555 View Post
SE will now try to keep colors (if possible) in latest beta: https://github.com/SubtitleEdit/subt...leEditBeta.zip

Does that work better?
Testings show SUP export keeping exact color values. From srt, SUP and XML/PNG all three seem ok now.
Thanks for the fix, Nikse.

BTW is there a solution in sight to the bottom offset issue mentioned earlier?
https://forum.doom9.org/showthread.p...11#post1964911
https://forum.videohelp.com/threads/...ce#post2661661
von Suppé is offline   Reply With Quote
Old 6th July 2022, 10:50   #1598  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
How do you test?
I only tested in players.
Final test, export to png I get 1-254-255

Last edited by varekai; 6th July 2022 at 11:16. Reason: added info and picture
varekai is offline   Reply With Quote
Old 6th July 2022, 14:44   #1599  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 629
Quote:
Originally Posted by varekai View Post
How do you test?
Examining SUP images with colorpick tool. I have been doing greyscales only in the 148 - 200 range.

Further having checked with different values for R G and B, I can confirm discrepancies (and not only for B values). Both srt to SUP export and SUP to SUP still suffer from it.

Quote:
Originally Posted by varekai View Post
Final test, export to png I get 1-254-255
Which shows 2-254-255 in the colorpicker
von Suppé is offline   Reply With Quote
Old 6th July 2022, 15:25   #1600  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 528
Strange!? I see 1-254-255
In Colorpick and Colors apps and in Photoshop?!
Go figure...
varekai is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.