vobsub (.sub + .idx) mux

View: New views
3 Messages — Rating Filter:   Alert me  

vobsub (.sub + .idx) mux

by nb85 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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,

Nick

Re: vobsub (.sub + .idx) mux

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nb85 wrote:

> 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.

I don't know about binary sub files. As far as I know, spuunmux only
works on MPEG-2 files, and extracts the subpictures into PNG files and
XML descriptions that can be used as input to spumux to reverse the process.

------------------------------------------------------------------------------
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Re: vobsub (.sub + .idx) mux

by Giacomo Comes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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