Bernhard and Chen,
Here is what I did, for example,
I have 3 separate video and audio files.
Video 1.MPG Audio 1.WAV
Video 2.MPG Audio 2.WAV
Video 3.MPG Audio 3.WAV
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
Mp2enc < Audio1.WAV -o Audio1.MP2
Mp2enc < Audio2.WAV -o Audio2.MP2
Mp2enc < Audio3.WAV -o Audio3.MP2
Mplex -f 9 Video1.MPG Audio1.MP2 -o TempMplex.MPG
Cat TempMplex.MPG >> Mplex.MPG
Mplex -f 9 Video2.MPG Audio2.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.
Is there any time stamp issue or something? Can
anyone let me know what is the "single pass" is about,
sorry, I'm new to this.
thanks, Cindy
--- Bernhard Praschinger <[EMAIL PROTECTED]> wrote:
> Hallo
>
> > Can you simply concatenate the video streams
> as "realtime"?
> [...]
> > Is there anyone know how to stream mplex? Or,
> how
> > can I make the "single-pass"? I can't find any
> answer
> > from the mail. Thanks in advance, Cindy
> Single pass is the default for a long time.
>
> I think stream is not possible. But my understanding
> of stream might be
> wrong.
> Mplexing video and audio as you encode them without
> the temporair audio
> and video file should be possible with fifo files
> like that:
> mkfifo audio
> mkfifo video
> lav2wav file.eli | mp2enc -o audio &
> lav2yuv file.eli | mpeg2enc -o video &
> mplex -f 8 audio video -o test.mpg
>
> 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
> [email protected]
>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users