source : http://www.cyberciti.biz/tips/howto-linux-create-video-dvds.html
Sometimes when we download movies like in http://m2cinema.blogspot.com the movies are separated into many file. It is reasonable cause the size huge. There are several way they split the file. By rar program, means they compressed and split it, by splitter program means they just split it.
To join the file is not very hard. For rar program, use the rar to decompressed and join them. I will write about install rar later.
See the command? Define only the first part of the file, rar will determine the next part.
That’s a new kind of rar, it is the same way to decompress them.
Now how about the splitter program? They usually using windows base program to split the file. Like the splitter or many more program like it. In linux we simply use console command to join them back.
Okey now we need to convert one movie format to another. Let say create mpg file from avi. I need mpg format to burn them into cd/dvd.
Using movie encoder to create output.avi from ccmovie.avi (option -ovc and -oac sets no encoding, just streamcopy)
Next run FFmpeg video converter to set aspect ratio, by ntsc dvd or pal dvd television standard etc:
At a high level, a DVD is a collection of menus and titles. Conceptually, a menu contains buttons which can be assigned actions and provides a list of choices to the end user, while a title contains the main content of the DVD. However, in reality many of the features available in menus (including buttons, pausing, and looping) are also available in titles. Use dvdauthor assembles multiple mpeg program streams into a suitable DVD filesystem. You should see DVD filesytem in dvd directory:
This is how to use dvdauthor.
Creates the table of contents file instead of a titleset:
Burn dvd.iso to DVD disk:
These are sources to get ffmpeg, mencoder and dvdauthor
http://www.mplayerhq.hu (for mencoder that come with mplayer)