#aptitude install mencoder
1. Locate your avi file(s). #mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
-vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
-o movie.vob movie.avi
(Change output file as movie.vob and keep input as an existing name.-vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
-o movie.vob movie.avi
2. Install dvdauthor
#aptitude install dvdauthor
3. Paste the following code in Text Editor/Notepad and save it as movie.xml.
<dvdauthor dest="/home/jrabgay/Desktop">
<vmgm>
<menus>
<video format="pal"></video>
<pgc entry="title">
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<pgc entry="root">
</pgc>
</menus>
<titles>
<pgc>
<vob file="movie.mpg"></vob>
<post>call vmgm menu;</post>
</pgc>
</titles>
</titleset>
</dvdauthor>
<vmgm>
<menus>
<video format="pal"></video>
<pgc entry="title">
</pgc>
</menus>
</vmgm>
<titleset>
<menus>
<pgc entry="root">
</pgc>
</menus>
<titles>
<pgc>
<vob file="movie.mpg"></vob>
<post>call vmgm menu;</post>
</pgc>
</titles>
</titleset>
</dvdauthor>
After converting to dvd, rename movie.vob to movie.mpg as above.
Note: All your files including movie.xml and movies should be in a single folder. It will be best if you could change the destination folder to /home in the xml.
4. Now, run dvdauthor
#dvdauthor -x movie.xml
Enjoy watching dvd movie from a single (avi) file!
Greetings from Santa Marta, Colombia. I have a blog journal on philosophy, literature, film and photography. I am interested in learning about the new literature of that country as it is very difficult to find references by here. If you can help me, I'd like to write. The blog address is: http://alvarogomezcastro.over-blog.es
ReplyDeleteI appreciate your attention and interest. Thank you very much