
Gunter Georgi wrote:

>
>
>tcmplex (transcode package) is limited to two audio tracks per mpeg-2 video stream.
>
>tcmplex -i MultiTrack_6000kbit_PAL-720.m2v -p soundTrack1-60s.mpa -s soundTrack2-60s.mpa -m d -d 3 -o DoubleTrack.mpg
>mplayer -vid 0 -aid 1 ./DoubleTrack.mpg - sound track 0
>mplayer -vid 0 -aid 0 ./DoubleTrack.mpg - sound track 1
>or xine does it too, of course!
>
>file characteristics:
>
>[tcprobe] summary for DoubleTrack.mpg, (*) = not default, 0 = not detected
>import frame size: -g 720x576 [720x576] 
>     aspect ratio: 4:3 (*)
>       frame rate: -f 25.000 [25.000] frc=3 
>                   PTS=0.0676, frame_time=40 ms, bitrate=6000 kbps
>      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
>                   PTS=0.2200, bitrate=192 kbps
>                   -D -3 --av_fine_ms -32 (frames & ms) [0] [0]
>      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
>                   PTS=0.2200, bitrate=192 kbps
>                   -D -3 --av_fine_ms -32 (frames & ms) [0] [0]
>
>help of tcmplex:
>
>tcmplex (transcode v0.6.13) (C) 2001 Thomas Oestreich
>
>Usage: tcmplex [options] [-]
>         -i name        video stream filename
>         -p name        audio stream (track 0) filename
>         -s name        audio stream (track 1) filename (optional)
>         -o name        muliplexed program/system stream filename
>         -m mode        predefined settings [1]
>                        1 = mpeg1 vbr, buffer 46Kb (*** default XVCD)
>                        b = mpeg1 vbr, buffer 224Kb (experimental)
>                        2 = mpeg2 vbr
>                        d = DVD
>                        s = SVCD
>                        v = VCD
>         -D v[,a[,a1]]  sync correction for video,audio0,audio1 in ms
>         -c a-b         multiplex selected time interval in seconds [all]
>         -B             generates a profile template on stdout [off]
>         -F filename    user profile filename [off]
>         -d verbosity   verbosity mode [1]
>         -v             print version
>
>
>
><dvdauthor dest="/home/geo/DVD-Processing/exampleDVD" jumppad="yes" >
> <vmgm>
>  <menus>
>   <video format="pal" resolution="720x576" />
>   <pgc entry="title" >
>    <vob file="/tmp/SingleTitleDVD/Main Menu VMGM_menu.mpg" pause="inf" />
>    <button name="1" >jump title 1; </button>
>   </pgc>
>  </menus>
> </vmgm>
> <titleset>
>  <titles>
>   <pgc>
>    <vob file="/home/geo/DVD-Processing/exampleDVD/DemoMultiTrack/DoubleTrack.mpg" />
>    <post> call vmgm menu 1; </post>
>   </pgc>
>  </titles>
> </titleset>
></dvdauthor>
>
>
>
><!DOCTYPE QDVDAuthor>
><QDVDProject ProjectName="SingleTitleDVD" >
> <DVDAuthor>
>  <XMLVersion>0.0.5</XMLVersion>
>  <CurrentPath>/home/geo/DVD-Processing/exampleDVD/DemoMultiTrack/SingleTitleDVD.xml</CurrentPath>
>  <DVDAuthorPath>/usr/local/bin</DVDAuthorPath>
>  <TempPath>/tmp</TempPath>
>  <ProjectPath>/home/geo/DVD-Processing/exampleDVD</ProjectPath>
>  <ConvertPath>/usr/local/bin</ConvertPath>
>  <MpegToolsPath>/usr/local/bin</MpegToolsPath>
>  <ImageMagickPath>/usr/bin</ImageMagickPath>
>  <SourceEntry DisplayName="DoubleTrack.mpg" >
>   <File>/home/geo/DVD-Processing/exampleDVD/DemoMultiTrack/DoubleTrack.mpg</File>
>  </SourceEntry>
> </DVDAuthor>
> <MainVMGM MenuWidth="720" MenuHeight="576" MenuFormat="5" >
>  <MenuVariables>
>   <MenuSound>/home/geo/DVD-Processing/soundprocessing/stille.mp2</MenuSound>
>   <MenuBackround>/home/geo/DVD-Processing/exampleDVD/backgroundOneTitle</MenuBackround>
>   <MenuName>Main Menu VMGM</MenuName>
>  </MenuVariables>
>  <PreviewVariables>
>   <ButtonObject Down="vmgm" Left="vmgm" Action="jump+-+DoubleTrack.mpg+-+00:00:00.000" Right="vmgm" ButtonName="Button 1" Up="vmgm" SourceEntry="DoubleTrack.mpg" >
>    <NormalState>
>     <TextObject TextAlign="4,16" Font="Arial,36,-1,5,50,0,0,0,0,0" Text="Now!" >
>      <MenuObject Width="134" X="429" Y="396" Height="74" />
>     </TextObject>
>    </NormalState>
>    <SelectedState>
>     <TextObject TextAlign="4,16" ForegroundColor="#ff1414" Font="Arial,36,-1,5,50,0,0,0,0,0" Text="Now!" >
>      <MenuObject Width="134" X="429" Y="396" Height="74" />
>     </TextObject>
>    </SelectedState>
>    <HighlightedState>
>     <TextObject TextAlign="4,16" ForegroundColor="#fa9632" Font="Arial,36,-1,5,50,0,0,0,0,0" Text="Now!" >
>      <MenuObject Width="134" X="429" Y="396" Height="74" />
>     </TextObject>
>    </HighlightedState>
>    <MenuObject Width="134" X="429" Y="396" Height="74" ObjectName="Button 1" />
>   </ButtonObject>
>  </PreviewVariables>
> </MainVMGM>
></QDVDProject>
>

