On Mon, 6 Jan 2003 16:30:22 -0500 [EMAIL PROTECTED] wrote:

> Dealing with multiple files because they have a 2G limit is just too
> much of a pain.  mencoder cannot deal with more than one avi file at
> a time.
> 
> > [Richard Ellis]
> > If you give lavrec a filename with a %d (e.g., %02d for two digits
> > zero filled) expansion in it, lavrec will make multiple 2G files
> > for you as it goes along, all automatically.
> 
> I know, but then what do I do with them to get mencoder to "cat"
> them all together and transcode them to (say) mpeg4?

Create an editlist with all your files in then
lav2yuv editlist.edl | mencoder - .....

Or cat all your avis together and run the output file through
mencoder -ao copy -ovc copy -o newfile.avi -forceidx outfile.avi
then encode newfile.avi

Doing this before all files are at least created is a bit trickier.
Maybe you could write a script that spots when a new segment is
created and sends its name through a named pipe to lav2yuv.
Something like:

mkfifo fifo
new_file_spotter | fifo
lav2yuv fifo | mencoder - ...

Or maybe it could be simpler. Presumably you know roughly how many
segments will be created so you could try
lav2yuv seg1.avi seg2.avi ... segN.avi segN+1.avi | mencoder - ...

The first two ideas work, I've not tried the second two :-)

Martin


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