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

Re: (dvix,avi) to (svcd,vcd) script



-----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.
- -- 
Frederik Dannemare | mailto:frederik@dannemare.net
GnuPG key: search for 'dannemare' on http://pgpkeys.mit.edu
Key fingerprint: BB7B 078A 0DBF 7663 180A  F84A 2D25 FAD5 9C4E B5A8
http://frederik.dannemare.net | http://www.linuxworlddomination.dk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA0diPLSX61ZxOtagRAjq3AJ0UDhXF74is0MdmRMfY3QWgXwRIXgCgimy5
Hbg0hq3Z15MsBzeFCtj/Z6E=
=q+Ld
-----END PGP SIGNATURE-----



Reply to: