Advertising
- sdghdf
- Thursday, May 10th, 2007 at 3:04:00am UTC
- #!/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
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.