[I have time for one easy question --- here's the easy answer:]

 >have a bit of captured interlaced video and a ppm picture. I want to 
 >combine them into a single interlaced MPEG2 stream that looks like this:
 ...
 >STEP 1:
 ...
 >cat picture.ppm | ppmtoy4m -F 25000:1000 -I t -L | yuv2lav -f a -q 98 -o 
 >single_picture.avi
 ...
 >STEP 2:
 >
 >I use lavtrans to 'grow' a new avi file by adding 'single_picture.avi' to 
 >itself and repeat that 100 times, like so (pseudo code):
 ...

Or,

  cat picture.ppm | ppmtoy4m -n 100 -r -F 25:1 -I t -L | ...


The manpage has an example of this.  Poor, lonely manpage.  Never gets read.


I gotta stop working some day,
-matt m.


ps:  "-I t" or "-I b" should make no difference if the input is a single
     progressive frame.  (But I cannot vouch for the back-n-forth to AVI...)





-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to