Export Video menjadi DVD

From OnnoWiki
Revision as of 18:51, 9 March 2010 by Onnowpurbo (talk | contribs) (New page: Kino akan mengenerate mp2 & mpv file misalnya menggunakan script berikut ffmpeg -i $1 -vcodec copy -an -f rawvideo foo.mpv ffmpeg -i $1 -vn -acodec copy -f mp2 foo.mp2 mplex -...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Kino akan mengenerate mp2 & mpv file misalnya menggunakan script berikut

   ffmpeg -i $1 -vcodec copy -an -f rawvideo foo.mpv
   ffmpeg -i $1 -vn -acodec copy -f mp2 foo.mp2
   mplex -f 8 -o $2 foo.mpv foo.mp2
   rm foo.mpv foo.mp2

Jalankan menggunakan perintah misalnya

   mpgfix file.mpg file-fixed.mpg

So file.mpg is remuxed and saved as file-fixed.mpg. You can save the file with the same name of course, then the original one will be replaced with the remuxed one. Mind that there is no quality loss here, no recoding.

And here comes the nice part DVD authoring, I just launch one of the tovid scripts (todisc):

   todisc -loop 0 -chain-videos -menu-length 2 -thumb-shape normal -aspect 16:9 -menu-title "My DVD" -pal -files *.mpg -titles *.mpg -out DVD

And after a while in the DVD directory there is a complete authored DVD :) with nice animated menus. You can generate an ISO image out of it:

   mksiofs -dvd-video -o dvd.iso DVD/

And you'll get a file dvd.iso which is a complete ISO image ready to burn. Enjoy.


Referensi

Pranala Menarik