VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I am having a really difficult time figuring out the last step on this first time project. I am reading doom9's AVI to DVD guide and am falling a little short. I am having a hard time figuring out what to do wiht at the AVisynth step. There are some calculations that I have to first perform in order to get the right aspect and that is where I have fallen short.

    This is the article
    Properties of Clip
    Aspect 640x272

    As you should know by having read the aspect ratio article movies mostly have 3 aspect ratios: 1:1.33, 1:1.85 and 1:2.35 (GSpot inverses the two numbers in its display). As you can see on the left this particular movie has an aspect ratio of 1:2.35 (the 2.353 is much closer to 2.35 than 1.85 and 1.33).


    First of all, since our AVIs have a DAR of 1:1 it makes not much sense encoding at 16:9 so we're going 4:3 instead. First let's deal with the NTSC case. DVD resolution for NTSC demands 720x480. With a 4:3 DAR the actual picture you'll be seeing is 480 x 4 / 3 = 640 so we have to ensure that at the resolution of 640x480 our picture doesn't look stretched. As 640 / 2.35 = 272 an 1:2.35 movie has to fill up 272 vertical lines to look correct. So, you resize such a movie to 720x272 and add 480 - 272 / 2 = 104 lines of black on each side. For an 1:1.85 picture you'd resize to 720x352 and add 480 - 352 / 2 = 64 black lines on each side and last but not least the 1:1.33 case where you resize to 720x480 and don't add any black lines.

    Now for PAL it's a tad bit more complicated as for a 4:3 PAL displays the actual resolution during playback is 768x576 (576 x 4 / 3 = 768). So, we have to make sure that the movie looks okay at that resolution. To spare you the calculations for an 1:2.35 movie this means that the vertical part of the picture has to take up 326 pixels, for an 1:1.85 movie the vertical part has to be 416 pixels, and for a 1:1.33 movie the vertical part has to take up the whole 576 horizontal lines. In practical terms this means that you resize an 1:2.35 movie to 720x326 and add (576 - 326 / 2 = 125 black lines on top and bottom of the picture), for an 1:1.85 movie you resize to 720x416 and add 80 pixels on each side, and for an 1:1.33 movie you resize to 720x576 and add 0 pixels.

    If these calculations are a bit confusing try to draw a picture of the TV screen and how the movie will look on it and you'll get the point.

    Now let's get to more simpler stuff. Here's the basic AviSynth script you'll be using:

    LoadPlugin("c:\windows\system32\vobsub.dll")
    avisource("moviename.avi")
    BicubicResize(720,272)
    AddBorders(0,104,0,104)
    vobsub("subname")
    ResampleAudio(44100)



    I won't be using any subs so the 1st line is out as well as the 5th. I'm a little lost on how to set the Addborders entry. Can I just leave it out? Can someone also check my calculations? My video is..

    Aspect 2x288 (1.78:1) (=16:9)

    What I get for proper sizing when trying to follow the guide above is a resolution of 720x479 (NTSC).

    Thanks and sorry for the long post.
    Quote Quote  
  2. I'm also have issues loading the file into CCE 2.5. The tutorial tells me to save the avisynth file as a avs but CCE doesn't seem to recognize that format.

    Thanks
    Quote Quote  
  3. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    monteie: That stuff always makes my head hurt. Personally, I suggest you do what I do. Get FitCD and simply load your avi file and tell it the output format you want. It will create the script for you.

    To load an AVS file into CCE right click on the white area and select add file. On the filetype change it to "all files" and then load the AVS. Or you can just drag and drop the .avs file onto the white are. There is also a patch somewhere out there that makes .avs one of the default filetypes for CCE.
    Quote Quote  
  4. What I get when I drop the file is...

    According to the registry, the tupe of tile specified in AVIFileopen does not have a handler to process it.

    Can anyone tell me how to resolve this?

    Thanks
    Quote Quote  
  5. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    Does the avi file play? If not you need to install an appropriate codec. Use Gspot to determine what codec the file was encoded with.

    If it plays, try opening the AVS file in media player. It will either play or give you an error. Let me know what the error says if there is one.

    Try adding this line to the end of your script:
    ConvertToYUY2
    Quote Quote  
  6. I'm a little confused.... I thought that the avs file was a script file for CCE? At least that is what the tutorial tells me. It said open notepad, add the script lines that I wrote in the original post then save the file wiht an avs ext.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!