On Tue, 10 Jun 2003, Steven M. Schultz wrote:

> Hi -
> 
>       Anyone used ppmtoy4m to create composited from PPM images 
>       (for example from a scanner/camera) for a DVD?
> 
>       It's working - but what I'm ending up with is 720x480 progressive
>       and that's not, as far as I know, legal for use in making a DVD.
> 
>       What I'm doing so far is:
> 
> (generate 720x540 PPM frames) | ppmtoy4m -F 30000:1001 | \
> y4mscaler -O size-720x480 -S option=sinc8lan -O chromass=420_MPEG2 | \
> mpeg2enc -f 8 -o intro.m2v 
> 
>       Am I correct that I need to generate interlaced PPM frames for input?

As the source is progressive ppm frames, better keep it that way. 
Use -F 24000:1001 and encode with pull down flag:

 ..|ppmtoy4m -F 24000:1001 -S 420_mpeg2 | y4mscaler -O size-720x480 
    -S option=sinc8lan | mpeg2enc -I 0 -f 8 -p -o .. 

-L option to ppmtoy4m will not make any difference in this case as the
input is progressive. Its used to indicate interleaving when the 
source is interlaced (ie with -I b or -I t).

I would use -S 420_mpeg2 at the ppmtoy4m stage instead of 
resampling by y4mscaler as above. 

Selva 



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to