This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] DVD Subtitles Color and Aspect Ratio Problems
#11
Extracted subtitles with VSRip.exe show the same problem. So it could be some global mistake during subtitle extaction or some global mistake in video players, or some global macOS related bug. I tested in iina and vlc players.

iina player show embed original subtitles in black color with yellow outline (not sure if i need to adjust something in preferences or it reads some hidden color metadata from subtitles)
iina player show external subtitles in same low brightness white color as they shown in VLC.

Here are extracted subtitles so you may try to test them somehow else https://www.dropbox.com/s/l31ad9ic6qms4f...t.zip?dl=0

[Image: GVo1UoQ.jpg]
[Image: 8UhHAa8.jpg]
Reply
#12
Read https://download.videohelp.com/DVDSubEdi.../Guide.htm to understand the coloring of .idx/.sub subtitles.

Looking at the idx parameters:
size: 720x480
palette: 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 838383, bfbfbf, 101010
# ON: displays only forced subtitles, OFF: shows everything
forced subs: OFF

# Language index in use
langidx: 0

hex 101010 is basically black = 16/16/16 rgb
hex 838383 is darker gray = 131/131/131 rgb
bfbfbf is lighter gray = 191/191/191 rgb

So judging by these values, the colors vlc uses are correct and mpv seems to overwrite the values.

Since I never had a problem with the extracted subtitle colors I suspect either something changed in mplayer (with is rather unlikely since it hasn't really changed for years) or there is some problem/confusion around the dvd.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#13
Try how the subtitles look if you change:

palette: 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 838383, bfbfbf, 101010
to
palette: 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, bfbfbf, ffffff, 000000
in the idx file.

Cu Selur

Ps.: instead of 'ffffff' (= 255/255/255) you could also try 'ebebeb' (=235/235/235)
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#14
I guess those " palette:" color values just generated by subtitle extraction tool because original subtitles inside VOB file don't have "palette" values at all. I deleted all those lines from extracted idx file:
palette: 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 838383, bfbfbf, 101010
and now VLC show bright black and white color subtitles. Exact same as they where looking in VOB file.

Guess INNA player also use some default "palette" colors if there is no "palette" in idx file. This is why they look yellow there.

So problem with dull subtitles may be easy fixed by manual editing idx file and set palette colors to pure black and pure white.
Reply
#15
Quote:I guess those " palette:" color values just generated by subtitle extraction tool because original subtitles inside VOB file don't have "palette" values at all.
Which should not be the case for standard conform DVDs afaik.

So all in all not a bug in Hybrid and nothing Hybrid could have done about it.

Do you know an whether there is another command line tool (preferably small), besides mplayer/mencoder, which can extract vobsub subtitles from DVDs that runs on MacOS?
On Windows one could use a few different tools, but no clue about MaOS. Smile

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#16
Small update: seems INNA player can't read .idx linked to .sub file at all. It only accept .sub format and always use same yellow-black color for it.
Reply
#17
Okay, that's unexpected. Not sure whether this is a missing feature in mpv (iina is a mpv gui) or a bug in iina.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#18
(12.09.2021, 17:18)Selur Wrote: Do you know an whether there is another command line tool (preferably small), besides mplayer/mencoder, which can extract vobsub subtitles from DVDs that runs on MacOS?
On Windows one could use a few different tools, but no clue about MaOS. Smile

Cu Selur

Maybe MP4box can do it? GPAC provides tools to process, inspect, package, stream playback and interact with media content. Such content can be any combination of audio, video, subtitles, metadata, scalable graphics, encrypted media, 2D/3D graphics and ECMAScript. GPAC is best-known for its wide MP4 capabilities and is popular among video enthusiasts, academic researchers, standardization bodies, and professional broadcasters. MP4Box is a multimedia packager, with a vast number of functionalities: conversion, splitting, hinting, dumping and others. It is a command-line tool.

I don't know if that tool exists but can search for it. Guess perfectly it shoud be also able to convert image based subtitles to text based .SRT format
Reply
#19
No MP4Box is for MPEG-4 based containers not for DVD input,..

Quote: Guess perfectly it shoud be also able to convert image based subtitles to text based .SRT for
OCR is a totally different pot of worms and won't be possible in a 'small tool'.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#20
Subler https://subler.org/ can read VobSub (.idx) seems like open source https://bitbucket.org/galad87/subler/src/master/
Also only for MP4?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)