Re: passing multiple frames through xvid_encraw
Christoph Lampert <[email protected]> Thu, 5 Aug 2004 19:55:02 +0200 (CEST)
| Newsgroups | gmane.comp.video.xvid.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 5 Aug 2004, Matt Newcomb wrote: > Hi, I'm trying to figure out xvid and the encraw program out a little > bit more, and I would like to be able to take multiple .pgm files and > create one video out of them. I though that's what the cactus example > did, but is there a way to specify multiple input file names for the > encoding program? You cannot specify more than 1 input file, but (of course) you can encode several images into one MPEG-4 file: First way is to concatenate all .pgm files into one big one. # cat *.pgm > all.pgm # xvid_encraw -i all.pgm ... Second and more elegant way is to use standard input as xvid_encraw's input (which is default) and 'cat' the files into a pipe. # cat *.pgm | ./xvid_encraw ... chl