Results 1 to 4 of 4

Thread: from .avi file to DVDdisc howto

Hybrid View

  1. #1
    Member registered user
    Join Date
    Aug 2003
    Posts
    46

    from .avi file to DVDdisc howto

    DVD movie howto (from .avi file to DVDdisc)

    Having a DVD drive, and some movies, I have always wished to create DVDs that I could watch on my stand alone DVD player. I was successful today and thought I would share this information in the event that it is useful to anyone. I have done this using a existing AVI file. What you will need:

    1. Transcode. Available at: http://zebra.fh-weingarten.de/~transcode/
    2. mjpegtools. Available at: http://mjpeg.sourceforge.net.
    3. Latest dvd+rw-tools. Available at:http://fy.chalmers.se/~appro/linux/DVD+RW/
    4. mkisofs. Available at: http://freshmeat.net/projects/mkisofs/
    5. Mencoder (comes with the mplayer package). Available at: http://www.mplayerhq.hu
    6. dvdauthor. Available at:http://dvdauthor.sourceforge.net/
    7. K3b if you use KDE is quite nice. Avialable at: http://www.k3b.org/

    To make things read easier , I'll use a real filename : matrix.avi

    Create a new dir ( I use movies )
    mkdir movies

    here you can sore the ...avi files you want to burn to DVD

    Encoding the movie:

    Know or find out what TV format you will be using.
    For most of Europe & Australia, use PAL.
    For America (and others?), use NTSC.

    For PAL:
    transcode -i matrix.avi -V -y mpeg -F d -Z 352x288 --export_fps 25 --export_asr 2 -E 48000 -b 224 -o matrix

    For NTSC:
    transcode -i matrix.avi -V -y mpeg -F d -Z 352x240 --export_fps 29.970 --export_asr 2 -E 48000 -b 224 -o matrix

    Replace matrix.avi with the .avi file you want to encode and replace matrix with the name you want to give to the encoded files.

    We now have 2 new files: matrix.m2v (video) and matrix.mpa (audio)

    Combine the new audio & video files into one DVD mpg.

    mplex -f 8 -o matrix-dvd.mpg matrix.m2v matrix.mpa

    This will result in a file : matrix-dvd.mpg

    You should test this file by playing it ( with xine or kaffeine) and see if it looks good and if audio/video synchronizion is ok.

    If audio/video(AV) sync is not correct, try overriding transcode's AV Sync auto correction with '-D 0' like so:

    transcode -i matrix.mpg -V -y mpeg -F d -Z 352x288 --export_fps 25 --export_asr 2 -E 48000 -b 224 -D 0 -o matrix

    If all is ok , we can proceed.

    In order for our disc to be played in a stand alone DVD player, the directory structure HAS to be perfect, so please make sure you type the next several commands exactly as shown, in the order shown:

    mkdir dvd

    Now we have to use the program "dvdauthor" ,which can create the file and dir structure for a DVD. It has many features to create menus and picturebackgrounds for DVDs , but I'll not go in to that, we keep it simple (we just wanna watch the movie on DVDplayer)
    Dvdauthor requires a simple configuration file. This is a xml file that you create.
    Here is an example from the dvdauthor website:

    <dvdauthor>
    <vmgm />
    <titleset>
    <titles>
    <pgc>
    <vob file="matrix-dvd.mpg" />
    </pgc>
    </titles>
    </titleset>
    </dvdauthor>


    You can copy and paste this file into your favorite editor ( I use Kedit) and save it as "dvdauthor.xml .
    The only line you need to change is the "vob file"line, replace matrix-dvd.mpg with the .mpg file you created before.
    ps this is all done in the same dir (~/movies )

    Now let dvdauthor do its work with this command:

    dvdauthor -o /path-to-dvd-dir -x dvdauthor.xml

    in my case:

    dvdauthor -o /home/jack/movies/dvd -x dvdauthor.xml

    IF all went well, you have in the dvd dir 2 new dirs : VIDEO_TS and AUDIO_TS

    Now we need to create an .iso file of the dvd dir so we can burn it to DVD.

    Still in movies dir type:

    mkisofs -dvd-video -udf -o matrix.iso dvd/

    replace matrix.iso with yout-title.iso

    And finaly, start up K3B Tools/DVD/burn dvd iso image
    and select the iso file you just created before, and burn your DVD.

    Happy viewing.

    Jack renders

    ps I made this howto from several different howtos I found on the net , but they didn't work for me ,I had to take info from several
    howtos and combine it , so it would work for me.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Of course you could just do it the easy way and use lxdvdrip

    Transcode is a very good encoder but very slow. Streamdvd is amazingly fast and is implemeted by lxdvdrip.

    It makes 1:1 copies of dvd's in about an hour on my XP2200 w/ 1G system RAM. No fuss no muss. Only drawback - no menus yet just the main title of the movie which is sufficient for my tastes.

  3. #3
    Member registered user
    Join Date
    Aug 2003
    Posts
    46
    so can I use lxdvdrip to convert the .avi files I downloaded from internet to .mpg files and burn them to DVD?
    and If so, is here a deb package available for lxdvdrip?

  4. #4
    Junior Member registered user
    Join Date
    Apr 2004
    Location
    Italy
    Posts
    18
    Quote Originally Posted by jackren
    so can I use lxdvdrip to convert the .avi files I downloaded from internet to .mpg files and burn them to DVD?
    and If so, is here a deb package available for lxdvdrip?
    As far as I know, lxdvdrip is only meant to rip a DVD, not to convert from .avi to .mpg, but I could be wrong.
    I'm not aware of .deb packages for lxdvdrip, but simple configure/make/make install worked fine for me. Please have a look at README before compiling: there are some pre-steps in order to build dvdauthor and vamps.

Similar Threads

  1. HOWTO: Customising/Upgrading the Kernel - An Evolving HowTo
    By firnsy in forum Customising & Remastering
    Replies: 56
    Last Post: 09-11-2009, 01:52 PM
  2. File recovery / File permissions help needed?
    By sepekte in forum General Support
    Replies: 0
    Last Post: 05-11-2005, 11:48 PM
  3. APT howto
    By lotech in forum General Support
    Replies: 2
    Last Post: 04-20-2005, 12:48 AM
  4. howto make only one file to boot ?
    By larrycow in forum Customising & Remastering
    Replies: 1
    Last Post: 11-24-2004, 10:23 PM
  5. Replies: 0
    Last Post: 10-05-2004, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2667V4 8-Core 3.20GHz SR2P5 CPU Processor *km picture

Intel Xeon E5-2667V4 8-Core 3.20GHz SR2P5 CPU Processor *km

$17.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



HP Proliant ML110 G6 Server Xeon X3450 8 GB Ram 250 GB Hard drive NO OS picture

HP Proliant ML110 G6 Server Xeon X3450 8 GB Ram 250 GB Hard drive NO OS

$199.95



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98