"Allan N. Snider" wrote: > Yes, one would think the subtitle index designation (and color) must > be specified somewhere. The standalone dvd players (almost) always get > it right. Wouldn't this task be more suited for dvd::rip, instead of > transcode though? Transcode knows only where the vob files exist, while > dvd::rip understands the entire dvd structure, (and location of the > IFO's etc).
Yes you're right. dvd::rip would determine the colors (by using an external program, because dvd::rip and personally me don't know how to get the colors from the IFO files... ;) and then pass these to transcode. > Even so, dvd::rip uses subtitle2pgm (from subtitleripper), > and it also seems to guess the index components. The subtitle previewer > will show solid text for some, outlined text for others, etc. > > I'll do a little hunting on it. subtitle2pgm (resp. subtitle2vobsub) uses the IFO files, so it should be possible to grab the colormap determination code from there. AFAIRC some time ago there was a thread on the dvdrip-users mailing list about this topic [... searching in the archive ...] and, hey, I see _we_ talked about this already ;) (although it was about forced subtitles): http://www.exit1.org/archive/dvdrip-users/2006-02/msg00000.html I would be happy to make the corresponding changes to dvd::rip, as soon as we have a program to extract the colormap and a transcode filter, which processes this colormap (either as command line options or as an external configuration file or something like that). Regards, Jörn -- LINUX - Linux Is Not gnU linuX
pgpzrNqim5RGS.pgp
Description: PGP signature
