help-vcdimager
[Top][All Lists]
Advanced

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

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


From: Herbert Valerio Riedel
Subject: Re: [VCDImager] Re: SVCD still image generation -- testers wanted...
Date: Tue, 28 Aug 2001 15:52:08 +0200 (CEST)

On Tue, 28 Aug 2001, Shanker Balan wrote:

> 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
ppmntsc is optional btw... I don't even know whether it really improves
anything :-)

>   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? )
-f 7 tells mpeg2enc to use the SVCD still encoding profile ...

-T 120 tells mpeg2enc to use a 120kb framesize... (the more the higher the
quality...)

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

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

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

DONT!

those still images are not supposed to be put as sequence items, still
picture streams are only allowed as segment-items!!!!

i.e. you have to make your hands dirty with XML... :-)

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

> Have i understood it correctly?
yes, except for the vcdimager part...

-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: address@hidden       /    Finger address@hidden for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142




reply via email to

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