Re: [PATCH] enable mplex to multiplex subtitle streams

Bernhard Praschinger <[email protected]> Fri, 12 Mar 2010 18:35:40 +0100
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Hallo

> you may want to consider the attached patch for muxing subtitle streams for
> mplex:
I hope you have considered Andrews suggestion, I have added you to the 
mjpeg developers. So you can add the patch yourself. :)
So don't hesitate and add the patch to the CVS. (I can add it for you if 
you want)

> The patch enables mplex to work off private stream 1 (ps1) subtitles as 
> found
> when extracted from a dvd.
> 
> e.g.:$  tcextract -i chapter_5.vob  -a 0x21 -x ps1 > chp5_1.ps1
> 
> $ mplex -d 1000:32 -f 8 -o test.vob chp5.mpv chp5_0a.mpa chp5_0.ps1
> 
> The "-d 1000:32" parameter forces the ps1 stream to be delayed for 1000 
> 90kHz
> ticks before the first subtitle stream starts, and the mux'ed stream id 
> is 32
> instead of 33 (0x21)(syntax: -d <dts-shift>:<subtitle-streamid>] [,
> <dts>[:...] ...], see help for details)
I have one question about the patch (for the mjpeg-doku) when you have 
the sync offset (--sync-offset|-O) for video and audio offset. How do 
you add the correct value for the new --subpicture/-d option ?
Can I use the same value for the -O and -d option or do I need a 
different  value ?

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev