Tuesday, 11 January 2011

RE:How to use the script

Ok so you've got everything installed on your system and you should now be ready to run the script.

copy makedvd.sh into /usr/bin/ and

chmod 755 /usr/bin/makedvd.sh

not too difficult I hope now all you need to do is select a movie and find a blank dvd. Create a folder if it hasnt one already, and cd to that folder.

If you have a subtitle file you'd like to include with the movie enter its filename together with its directory as the 2nd argument to makedvd.sh

For example:

makedvd.sh nameofyourmovie.avi   subs/english.srt

If not dont bother just use:

makedvd.sh nameofyourmovie.avi

Now you should see everything start to happen. First the script creates a copy of your film in mpg format. This takes a while so be prepared to wait. In the meantime you can check its progress by opening the file browser and there you will see another movie in mpg format steadily growing in size.

But wait something else is there too its a dvd.xml file and this is very important for the next stage.

Dont worry the script does all this automatically you don't need to do a thing yet.
The dvd.xml file divides the film into chapters on a dvd.

Once it has finished creating the new mpg movie file makedvd.sh then starts creating a copy of the dvd to be burnt under the directory dvd this should take a while too. Now unfortunately I didnt mention the fact that makedvd.sh is not aware of the size of the dvd disc you have in the drive, so if it isnt big enough it will ask you if you wish to burn another say 'YES' if you have the correct size of dvd for the movie otherwise quit.

Normally most movies will burn to a 4gig dvd easily, so you shouldnt need to worry.

You can run this script simultaneously for each film you download and press yes to burn each to dvd. This is handy if you have limited disc space and you want to delete the files after burning BUT be sure

to check the dvd works first before deleting your files. Use mplayer for this :-


mplayer dvd://


Once makedvd.sh finishes writing the disc it automatically erases the files it created leaving you back at the start so if there is any problem with the burn wait to test the dvd first before saying no to burn another? the reason being you could save yourself the time of remaking the files it just made.

If for some reason it will not burn no matter how many times you say yes burn another say no to delete files and/or ctrl +d to quit from the program then do the following:-

mplayer dvd:// -dvd-device dvd      (to check the dvd copy is correct)

then check the size of the dvd isnt too much for the disc you are burning to using du dvd,

and finally rerun the script if it still don't work ask a friend..

No comments:

Post a Comment