Re: (dvix,avi) to (svcd,vcd) script
On Thu, Jun 17, 2004 at 07:44:44PM +0200, Frederik Dannemare wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 17 June 2004 12:39, Antonio Rodriguez wrote:
> > Does any one has any idea of how to convert an avi to svcd or vcd? Do
> > we have any scripts packaged as debs?
>
> Try something along the lines of:
>
> MOVIE="videofile.avi"
> ASPECT_RATIO="3" # Type '2' for 4:3 or '3' for 16:9.
>
> transcode -q 0 -i $MOVIE -V -y mpeg2enc,mp2enc -F 4 -E 44100 -b 128 \
> -o $MOVIE-SVCD -Z 480x576 --import_asr $ASPECT_RATIO
>
> mplex -v 0 -f 4 -o $MOVIE-SVCD%d.mpg $MOVIE-SVCD.m2v $MOVIE-SVCD.mpa
>
> i=1
> for x in $MOVIE-SVCD*.mpg; do
> vcdimager -q -t svcd -c $MOVIE-SVCD$i.cue -b $MOVIE-SVCD$i.bin $x
> ((i=$i+1))
> done
>
> I advise you to read the man pages of transcode, mplex, and vcdimager to
> get a better idea of what the above commands do.
Thank you for your help. I will try this small script. Let me ask you
one thing: What would happen if the original avi is large enough to
cause a bin larger than would fit in a CD?
Reply to: