On Sun, Jul 26, 2009 at 09:14:12AM -0700, nb85 wrote:
>
> Hi,
>
> Looking at spuunmux and spumux, it would appear that using these programs,
> it is possible to extract vob subtitles from a binary sub file, and then
> these from PNG graphics into a MPEG-2. The idx text file contains additional
> meta which could be used to guide the process.
>
> Is this possible, and if so, is there a program already to do this?
> Otherwise, what advice would you have to offer someone like me considering
> writing one based on the dvdauthor source code?
>
> Kind regards,
If for "a binary sub file" you mean a vobsub file, then yes
spuunmux can be used to extract the subtitle(s).
>From the .idx file you can extract a palette file with a command like:
grep "^palette:" <vobsubname>.idx | cut -f 2 -d: | tr -d ' ' | tr ',' '\012' >palette.rgb
and also you can retrive the index of the subtitle to extract.
Then use spuunmux in the standard way:
spuunmux <options> -o <subname> -s idx -p palette.rgb <vobsubname>.sub
Giacomo
------------------------------------------------------------------------------
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users