All pastes #480152 Raw Edit

sdghdf

public text v1 · immutable
·published 2007-05-10 03:04 UTC
rendered paste body
#!/bin/bash
echo "Hello Im Ryan, I will help you to convert any video file into a DVD and burn it to a disc if you would like"
echo "First Please make sure you have mencoder, dvdauthor, and if you want to burn to a disc growisofs installed"
echo "Where is your video located at?"
read location
echo "What type of dvd do you want enter NTSC or PAL"
read dvdtype
echo "Now, how about what aspect please enter WIDE or FULL"]
read -n 4 aspect
echo "Do you want to add chapters? YES or NO"
read -n 3 chapters
echo "Would after encoding you like me to burn to a DVD? answer YES or NO"
read -n 3 burn
if "$burn" == "YES"; then 
	echo "What is is the full path to your DVD burner? (/dev/dvd)" && read dvdpath
fi
echo "OK, im ready to start the temp files will be in ./your_video.mpg and ./dvd/ so dont remove them"
if "$dvdtype" == "NTSC" 




this is the command but without varables 

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup \
-srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:\
acodec=ac3:abitrate=192 -ofps 25 -o your_video.mpg your_video.avi