On Wed, 4 Feb 2004, Dragon_at_work wrote:

> Your scripting is a much better idea!

        I came up with that approach a long time ago when sections of a long
        capture needed different y4mshift parameters.

> > read junk
> Does junk refer to stdio in this case?

        To "stdin" to be precise.   That just read a line from stdin into
        a variable (which is never used).

> > (lav2yuv file1 ...; \
> >  lav2yuv file2 ... | skip1.sh; \
> >   lav2yuv file3 ... | skip1.sh) | mpeg2enc ...

> So the only limitation of this method is ARG_MAX?

        The only limitation is the amount of disk space you have to store
        the shell script.

        ARG_MAX has nothing to do with it - you're only passing 1 file argument
        per lav2yuv command and a few switches.  You can have as 
        many ';' separated commands as you want - each command line has 
        its own argument set.

        Steven Schultz



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to