Thank you very much, Bernhard, You seem have the good ideas. I will try to absorb and try the options. One thing Im facing is that, the concatenated MPEG file has to be able to play back from both PC and recorded to DVD. To have several files on the DVD is fine, but how can I have the MPEG files playback together?
Maybe I can look into dvdauthor to see what they did to make the separate files recorded to DVD while can playback as a whole. The reason I first chose cat is because it doesnt require double the disk space. Cat tempfile >> finalfile, instead of cat tempfile1 tempfile2 > finalfile. Just briefly looked at mpegtx, it seems to require double the space to concatenate the files. I would like to be able to just put all the files together using just a small sized temporary file, without using a totally separate file. Is it possible with mpegtx like what I did with cat >>? Thanks again for all your help, Cindy --- Bernhard Praschinger <[EMAIL PROTECTED]> wrote: > Hallo > > > Each MPEG 2 file has added sequence headers in > > front of each GOP for record to DVD. Each Audio > file > > was compressed from WAV data with identical header > > files. I can NOT concatenate the video or audio > files > > > > before multiplex with timing and limited space. > So, I > > have to do > > Mplex -f 9 Video1.MPG Audio1.MP2 -o TempMplex.MPG > > Cat TempMplex.MPG >> Mplex.MPG > [...] > > Mplex -f 9 Video3.MPG Audio3.MP2 -o TempMplex.MPG > > Cat TempMplex.MPG >> Mplex.MPG > > > > The result Mplex.MPG can NOT be recorded to > DVD. > > I looked at the video files using MPEG inspector, > > Video*.MPG are the right format with 15 frames / > GOP. > That problem was descussed often. > > The problem ist that mpeg has run- in/out sequences, > and maybe buffer > problems. And most HW player can't play back such a > concenated stream. > They might play back the first part. > > There are 2 correct sollutions: > renecode the video and Audio to a single long file. > > Add several files to the dvd, with dvdauthor the > simples way to end up > with 3 files on a DVD which can be played back ist > with a commmand like > that: > dvdauthor -o output/ file1.mpg file2.mpg file3.mpg > > A not so clean solution would be using programms > like mpgtx > (http://mpgtx.sourceforge.net/). That programm > should be able to cat > mpeg's together. That might work or not. mpegtx is > better than cat. > I would still preffere to have several files on the > DVD. > > > auf hoffentlich bald, > > Berni the Chaos of Woodquarter > > Email: [EMAIL PROTECTED] > www: http://www.lysator.liu.se/~gz/bernhard > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Mjpeg-users mailing list > Mjpeg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mjpeg-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users