Converting AVI to DVD with High Quality

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by putter, Nov 21, 2005.

  1. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    I downloaded a movie yesterday. It came in two parts in AVI format. I have
    joined both of the files to one using VirtualDub. Here are the specs of the
    newly created AVI file.

    Audio:
    44100Hz 128 kb/s

    Video:
    25 FPS
    640 x 272 Resolution

    If I was to guess, I'd say this is a PAL format video. This is the highest quality
    version of the movie I could find. What I need to do is convert this video to
    standard NTSC DVD-compliant format with the highest quality possible. I
    would like to output file to have the resolution of 720x480. But I don't want the
    video to be jumpy when converting to 23.976 FPS or 29.97 FPS (whichever
    would produce the best quality). I also need the audio to stay in sync with the
    video. I tried using Cucusoft AVI/MPEG to DVD/VCD/SVCD/MPEG Creator,
    but the output video was kinda blotchy. What software can I use for QUALITY?

    I have had more luck with converting NTSC AVI files. Maybe I could change
    the resolution of the AVI while keeping the original video size pretty much
    intact. If I can do that, then I could convert that AVI file to a DVD-compliant
    MPEG. Please help me on this.

    -PutterPlace
     
    Last edited: Nov 22, 2005
  2. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    Extract the audio to .wav in virtualdub.
    Convert it to 48khz AC3 or MP2 in Ffmpeggui.
    Save it aside.
    Load the avi into your encoder, and encode it to NTSC aspect (by adding black borders where needed, so you don't stretch or squash the picture), but DO NOT change the framerate. Leave it at 25fps.
    Encode it to m2v/mpv with NO audio.
    Load the resulting video into DGPulldown, and change the framerate flag to 29.97fps.
    Load the previously saved AC3/MP2 and the dgpulldown.m2v into your authoring program. Author and burn.
     
  3. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    What exactly do I use to encode it to m2v/mpv with no audio?
     
  4. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Try Tmpgenc??

    You could also use "Canopus Procoder" to encode it directly to a NTSC Mpeg-2 file.....

    Or what I do is Install AVISynth and write a Script like this:

    AVISource("C:/Movie files/My Movie.avi")
    AssumeFPS(23.976,True)
    LanczosResize(720,304)
    AddBorders(00,88,00,88)

    Then save it with an .avs extention and Load it into an encoder Like Tmpgenc and encode it to 23.976fps with 3:2 Pulldown which will leave you with a Perfectly fine NTSC Video/Audio files that are in Perfect sync which you then just author to DVD...

    This is Probably More Difficult to do that RebootJims way but it does make for a Perfect NTSC File.....

    Cheers
     
  5. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    I will try both of the ways to find the best result. Thanks Minion. Since I'm already working on the other way, though, I'll finish that one first, then I'll try it the other way. What software do I need to "encode it to m2v/mpv with no audio'?

    -PutterPlace
     
    Last edited: Nov 22, 2005
  6. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    Tmpgenc, Canopus Procoder (Express), Mainconcept, or CCE (Basic), would be the top 4 choices.
     
  7. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    Thanks very much. I'll post back here with my results.

    -PutterPlace
     
  8. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    I'm going to be needing more help than I thought. How do I encode the resulting MPEG to m2v/mpv with no audio using TMPGEnc?

    -PutterPlace
     
  9. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    Load the avi, click on ES Video only.
     
  10. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    "Load the AVI into your encoder, and encode it to NTSC aspect (by adding black borders where needed, so you don't stretch or squash the picture), but DO NOT change the framerate. Leave it at 25fps."

    For this step, was the video supposed to stay in AVI format? If so, what encoder would you suggest I use because my encoder will only encode to MPEG, it won't keep it in AVI format.
     
  11. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    "Load the AVI into your encoder, and encode it to NTSC aspect (by adding black borders where needed, so you don't stretch or squash the picture), but DO NOT change the framerate. Leave it at 25fps."

    For this step, was the video supposed to stay in AVI format? If so, what encoder would you suggest I use because my encoder will only encode to MPEG, it won't keep it in AVI format.
     
  12. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    No.
    Encode the avi to mpg, using black borders (look on the advanced tab) to keep aspect ratio, then select ES video only on the settings tab.
    Tmpgenc will output an .m2v file. (or mpv)
    You now have a 25fps m2v that's actually at 720x480, and an ac3 (or mp2) audio file.
    Load the m2v into dgpulldown, and change it's fps to 29.97
    Load the resulting dgpulldown.m2v and the ac3 into your authoring program.
     
  13. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    I don't know why I'm having the worst time with this. I'm in TMPGEnc, and I've loaded the unprocessed AVI, selected ES (Video Only). I clicked on the "Setting" button, and changed the stream type to MPEG-2 Video. In the advanced tab, I selected "Full Screen (keep aspect ratio)" as the video arrange method. What other settings do I need to change, if any, in the setting window?

    Do I leave source aspect ratio (in the advanced tab) at "1:1 (VGA)"?
    Do I need to leave the size (in the video tab) at "640x272"?
    Do I need to leave the aspect ratio (in the video tab) at "1:1 (VGA)"?
    etc...

    Please help me with this. Thank you very much for being so patient with me. I'm sorry about all of the questions. I'm just learning how to do most of this stuff.

    -PutterPlace
     
  14. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    On the settings tab:
    Stream type, mpeg-2 video.
    Size 720x480.
    Aspect ratio 4:3 TV
    Framerate 25fps.

    On the Advanced tab:
    Source aspect ratio 1:1 VGA
    Video arrange method, fullscreen keep aspect ratio 2.
     
  15. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    Cool, thanks. I will post back here with anymore questions I have or when I finish encoding. Thanks again.

    -PutterPlace
     
  16. putter

    putter Member

    Joined:
    May 18, 2003
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    16
    I've finished burning the DVD, and everything was fine until it got to the Movie. The video was very jumpy. Probably from the framerate conversion. I'll keep trying different methods though. Thanks for your help.

    -PutterPlace
     
  17. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    If the original avi is 25fps, then you should encode it to 25fps, and using dgpulldown, it should not be jumpy.
    Are you playing this back on the computer, or on a standalone?
    What did you use to author it?
     
  18. psikandar

    psikandar Guest

    Sir, what is dgpulldown?
     

Share This Page