On Mon, 21 Nov 2005, Michael Hanke wrote:

You can do something like this in Bash:

( <command that generates yuv4mpeg> ; <another command that generates
yuv4mpeg> ; ...  ) | mpeg2enc
How can I get rid of the headers of the individual streams?

Errmm... Is it necessary to remove the headers? If it is necessary to remove them, the header is the first line in the output stream. You could read this line into a variable and output the remaining data to stdout:

<command that outputs yuv4mpeg> | ( read -u0 Header ; cat /dev/stdin ) | ...

Now you have stripped the header from the stream.

Cheers!

Dik


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to