Posts: 785
Threads: 16
Joined: Mar 2020
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
Posts: 10.617
Threads: 57
Joined: May 2017
12.09.2021, 16:54
(This post was last modified: 12.09.2021, 16:58 by Selur.)
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.
Posts: 10.617
Threads: 57
Joined: May 2017
12.09.2021, 17:03
(This post was last modified: 12.09.2021, 17:09 by Selur.)
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.
Posts: 785
Threads: 16
Joined: Mar 2020
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.
Posts: 10.617
Threads: 57
Joined: May 2017
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.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 785
Threads: 16
Joined: Mar 2020
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.
Posts: 10.617
Threads: 57
Joined: May 2017
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.
Posts: 785
Threads: 16
Joined: Mar 2020
(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.
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
Posts: 10.617
Threads: 57
Joined: May 2017
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.
Posts: 785
Threads: 16
Joined: Mar 2020
Subler https://subler.org/ can read VobSub (.idx) seems like open source https://bitbucket.org/galad87/subler/src/master/
Also only for MP4?
|