help-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VCDImager] Re: SVCD still image generation -- testers wanted...


From: Shanker Balan
Subject: [VCDImager] Re: SVCD still image generation -- testers wanted...
Date: Tue, 28 Aug 2001 18:46:54 +0530
User-agent: Mutt/1.2.5i

Hello:

Herbert Valerio Riedel wrote,
> for A in 30 60 120 160 200
>  do
>     pnmscale -xsize=704 -ysize=480 mozilla.ppm | \
>     ppmntsc | \
>     ppmtoyuv4mpeg | \
>     mpeg2enc -f 7 -T $A -o mozilla_ntsc_$A.m2v
> 
>     pnmscale -xsize=704 -ysize=576 mozilla.ppm | \
>     ppmntsc --pal | \
>     ppmtoyuv4mpeg | \
>     mpeg2enc -f 7 -T $A -o mozilla_pal_$A.m2v
> done

> for A in *.m2v
>        do mplex -f 7 $A -o `basename $A .m2v`.m2p
> done
                 
Ok, i have everything in place. Let me see whether i have got the
procedure For creating a (S)VCD from a still images right:

- Start with a JPEG of size say 1152x864 ( babe.jpg )
> babe.jpg

- Convert babe.jpg to PPM format with PAL SVCD resolution (704x576)
> for A in 30 60 120 160 200
> do
> cat babe.jpg | pnmscale -xsize=704 -ysize=576 babe.ppm | \

- Do the RGB to PAL color conversion using "ppmntsc", convert it to MPEG
  using "ppmtoyuv4mpeg" and pipe it thru mpeg2enc
> ppmntsc --pal | \
> ppmtoyuv4mpeg | \
> mpeg2enc -f 7 -T $A -o babe_pal_$A.m2v
> done

(Question:
What do the "-f 7" and "-T $A" do?. Its a new option i suppose? )

- At the end of this, i have the following new files sizes :
> babe_pal_30.m2v  35230  Bytes
> babe_pal_60.m2v  61201  Bytes
> babe_pal_120.m2v 120196 Bytes
> babe_pal_160.m2v 150792 Bytes
> babe_pal_200.m2v 163415 Bytes

- Now i multiplex them (I can add sound at this stage...?)
> for A in *.m2v
>    do mplex -f 7 $A -o `basename $A .m2v`.m2p
> done

- Which creates 5 new .m2p file which can be used with vcdimager!
> babe_pal_30.m2p  41832  Bytes
> babe_pal_60.m2p  67396  Bytes
> babe_pal_120.m2p 127820 Bytes
> babe_pal_160.m2p 158032 Bytes
> babe_pal_200.m2p 171976 Bytes

- All that is left now is to create a .bin and .cue using "vcdimager"
> vcdimager -tsvcd *.m2p 

- I then write it using cdrdao
> cdrdao write videocd.cue

Have i understood it correctly?


-- 
 ------------------------------------------( Shanu )-------------------
 Shanker Balan                          http://people.exocore.com/shanu
    A Microsoft Certified Systems Engineer is to computing what a 
        McDonalds Certified Food Specialist is to fine cuisine
 ----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]