VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Don't know if anyone has been following this thread:
    http://www.vcdhelp.com/forum/viewtopic.php?t=112328

    But, I was wondering what the AVISynth command would be to resize video to 720x480 but add letterboxing so the video would only cover say 720x360. I've figured out how to do it with Virtualdub, just wondering the syntax to do it with AVISynth. Thanks.
    Quote Quote  
  2. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Morning Bel.

    I'm no expert at AVIsynth, but I'll take a stab at it. I just quickly did some
    calculation, and here's how I arrived at my figures below.

    * 480 - 360 = 120
    * now, take the 120 and device by 2, you get 60, so...
    * assuming you haven't added any boarders, and that your clip HAS NO
    boarders, then using:

    LetterBox(60,60)

    ...wouldn't hurt to try. Just make sure their's no boarders already, ie, don't
    create any in vdub.

    Let us know if this worked.
    -vhelp
    Quote Quote  
  3. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    The Letterbox filter simply blackens out parts of the frame. If you want to add borders, use the AddBorders filter.

    If you want to resize to 720*360 (hope you have calculated correctly), the script looks like this:
    Avisource()
    BilinearResize(720,360)#or bicubic or simple resize
    AddBorders(0,60,0,60)# or (0,56,0,64) as you like

    http://www.vcdhelp.com/forum/viewtopic.php?t=99389
    Quote Quote  
  4. Gotcha, Thanks guys
    Quote Quote  



Similar Threads

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