Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

sdghdf
Thursday, May 10th, 2007 at 3:04:00am UTC 

  1. #!/bin/bash
  2. 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"
  3. echo "First Please make sure you have mencoder, dvdauthor, and if you want to burn to a disc growisofs installed"
  4. echo "Where is your video located at?"
  5. read location
  6. echo "What type of dvd do you want enter NTSC or PAL"
  7. read dvdtype
  8. echo "Now, how about what aspect please enter WIDE or FULL"]
  9. read -n 4 aspect
  10. echo "Do you want to add chapters? YES or NO"
  11. read -n 3 chapters
  12. echo "Would after encoding you like me to burn to a DVD? answer YES or NO"
  13. read -n 3 burn
  14. if "$burn" == "YES"; then
  15.         echo "What is is the full path to your DVD burner? (/dev/dvd)" && read dvdpath
  16. fi
  17. echo "OK, im ready to start the temp files will be in ./your_video.mpg and ./dvd/ so dont remove them"
  18. if "$dvdtype" == "NTSC"
  19.  
  20.  
  21.  
  22.  
  23. this is the command but without varables
  24.  
  25. mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup \
  26. -srate 48000 -af lavcresample=48000 \
  27. -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=16/9:\
  28. 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right