Hello, On Fri, Nov 10, 2006 at 11:01:16AM +1000, Jan and Bertil Smark Nilsson wrote: > Greetings, > > Does anyone know a good console program which lets you convert bin/cue > files and avi files to dvd format? > I've made myself a script, all2dvd, to convert movie files into dvd. First you need some utils: - MJPEG - http://sourceforge.net/projects/mjpeg/ - dvdauthor - http://dvdauthor.sourceforge.net/ - mplayer - ftp://ftp2.mplayerhq.hu/MPlayer/releases - growisofs - probably it's on your system already In some cases, I've to tune it a bit. -------- my script ------ #!/bin/sh PID=$$ TMP="dvd.$$" trap "echo ; kill $PID" ERR if [ $# -lt 1 ]; then echo "Usage: `basename $0` <in-filename>" exit 1 fi ( mkdir $TMP cd $TMP for FILE in $@; do if [ ! `echo $FILE | cut -c 1` = '/' ]; then FILE=$PWD/../$FILE fi rm -f stream.yuv mkfifo stream.yuv cat stream.yuv | yuvscaler -v 0 -M WIDE2STD -n p -O DVD | \ yuvfps -r 25:1 | mpeg2enc -v 0 -f 8 -o file.m2v & mplayer -noframedrop -vo yuv4mpeg -ao pcm "$FILE" if [ -r audiodump.wav ]; then # Sometimes audiodump.wav has a bad header, so ensure for a good header: sox audiodump.wav -t cdr - | sox -t cdr - -r 48000 file.wav resample normalize file.wav ffmpeg -i file.wav -vn -ab 224 -ar 48000 -ac 2 -y file.ac3 rm -f audiodump.wav file.wav mplex -v 0 -f 8 file.m2v file.ac3 -o file.mpg else mplex -v 0 -f 8 file.m2v -o file.mpg fi rm -f file.m2v file.ac3 dvdauthor file.mpg -o dvd # rm -f file.mpg done dvdauthor -T -o dvd && echo -e "\nConverting has finished." && read -p "Insert a blank DVD-ROM and hit <ENTER>." && eject -t $SRC && growisofs -Z /dev/dvd -dvd-compat -dvd-video dvd/ ) 2>&1 | tee $TMP/log ------- end ------ Best luck, Jos. > Bertil Smark Nilsson > > _______________________________________________ > Blinux-list mailing list > Blinux-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/blinux-list -- _______________________________________________ Blinux-list mailing list Blinux-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/blinux-list