On Wednesday 11 February 2004 01:30, Steven M. Schultz wrote:
>       How are you processing the files?   If you are doing something like
>       this:
>               command file1 file2 file3 file4 ... file1066 | mpeg2enc ...
>       then yes, there is a system imposed limit of ARG_MAX.
I thought so. I wasn't doing it that way, though. 
It was more like your following example, but without the backslashes and new 
lines. 

I changed it to look closer to your example, but I still get the same result 
of 32512 for the system call. 

>           (command file1; \
>            command file2 | skip1; \
>            ...
>            command file1066 | skip1 ) | mpeg2enc
I think so. Here is how it looks:


(lav2yuv +p /vcdtemp/lump/_cd11_dong_bei_and_HK_1of6___dscf0003.avi | yuvfps 
-v 0 -r 25:1 | yuvscaler -v O -O SVCD   ; \
jpeg2yuv -v 0 -I p -f 25 -n 25 -j 
/vcdtemp/lump/_cd11_dong_bei_and_HK_1of6___dscf0004.jpg | yuvfps -v 0 -r 25:1 
| yuvscaler -v 0 -O SVCD  | /vcdtemp/strip_1.sh  ; \
jpeg2yuv -v 0 -I p -f 25 -n 25 -j 
/vcdtemp/lump/_cd11_dong_bei_and_HK_1of6___dscf0005.jpg | yuvfps -v 0 -r 25:1 
| yuvscaler -v 0 -O SVCD  | /vcdtemp/strip_1.sh  ; \
.
.
.
many, many, many lines later (there are 1062 files in total)
.
.
.
lav2yuv +p /vcdtemp/lump/_cd11_dong_bei_and_HK_6of6___dscf0341.avi | yuvfps -v 
0 -r 25:1 | yuvscaler -v O -O SVCD   | /vcdtemp/strip_1.sh  ; \
jpeg2yuv -v 0 -I p -f 25 -n 25 -j 
/vcdtemp/lump/_cd11_dong_bei_and_HK_6of6___dscf0342.jpg | yuvfps -v 0 -r 25:1 
| yuvscaler -v 0 -O SVCD  | /vcdtemp/strip_1.sh ) | mpeg2enc -v 0 -f 4 -o 
/vcdtemp/sum.m2v

(n.b. your skip is my strip)

>       then the limit is the amount of space (and your patience for the
>       shell to parse the script ;)) available.
It does take a while. I usually use the time for sleep, or social activities. 

>       It sounds like you're passing all the filenames as arguments to
>       a single "convert from jpeg to yuv4mpeg" command rather than using
>       multiple convert commands each with but a single argument.
I don't think so. But, you can determine this more accurately from above. 




-------------------------------------------------------
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