Selur's Little Message Board

Full Version: DVD Subtitles Color and Aspect Ratio Problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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]
Read https://download.videohelp.com/DVDSubEdi.../Guide.htm to understand the coloring of .idx/.sub subtitles.

Looking at the idx parameters:
Code:
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
Try how the subtitles look if you change:

Code:
palette: 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 101010, 838383, bfbfbf, 101010
to
Code:
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)
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:
Code:
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.
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
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.
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
(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
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
Subler https://subler.org/ can read VobSub (.idx) seems like open source https://bitbucket.org/galad87/subler/src/master/
Also only for MP4?
Pages: 1 2 3 4