Just thought I'd share my recent trauma.
(mjpegtools-1.6.1)

in the pipelist,  $n doesn't appear to get used.

--DEBUG: [lavpipe] Executing: 'lav2yuv +n -o 30 -f 0 ../hopefully-24fps.vid-only.avi'
--DEBUG: [lavpipe] spawned source 'lav2yuv +n -o $o -f $n 
../hopefully-24fps.vid-only.avi'

which is fine for lav2yuv because -f 0  is all frames.
but w/ jpeg2yuv  -n -1  is all frames, so when $n is replaced w/ zero here:

--DEBUG: [lavpipe] Executing: 'jpeg2yuv -v2 -f 24 -I p -b 30 -n 0 -j 
../longframes/00%06d.jpg'
--DEBUG: [lavpipe] spawned source 'jpeg2yuv -v2 -f 24 -I p -b $o -n $n -j 
../longframes/00%06d.jpg'

lavpipe dies w/
--DEBUG: [lavpipe] copied info
--DEBUG: [lavpipe] OSO:  '-'
--DEBUG: [lavpipe] SSF:  copied source header
--DEBUG: [lavpipe] output stream initialized
--DEBUG: [lavpipe] PSF:  segment 0,  initial frame = 0
--DEBUG: [lavpipe] read frame 000 > input 0, src 0  fd = 4
**ERROR: [lavpipe] ERRNO says:  Success
**ERROR: [lavpipe] lavpipe: input stream error in stream 0,sequence 0, frame 0


The easiest solution seems to be don't use $n and manually set  -n -1  
when using jpeg2yuv in a pipelist.


-- 
... oh yeah.  Blue.  The other white. -- Nick




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to