VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hi!

    I am converting my captured AVI file to DVD format, since it capured from VHS tape a wana crop some pixels around frames.

    I am using Pinnacle DV500 to capture from VHS at (720-576).
    and for convertion I am using DVD2SVCDwith CCE 250, how should my AVIsynth script look like if i want to Crop:
    Top: 10, Bottom: 9, Left: 8, Right 7.
    And then addborders to fill in the crop area so that output is DVD format (720-576) .

    Here is script ganerated by DVD2SVCD what should i add:
    _________________________________________________
    LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg 2dec\MPEG2D~1.DLL")
    AVISource("D:\MOVIES~1\Test.avi",False)
    ConvertToYUY2()
    BicubicResize(720,576,0.0,0.6)
    __________________________________________________

    and one more question:
    how can I check if my AVI is progressive or not.

    THANX
    Quote Quote  
  2. Member
    Join Date
    Sep 2002
    Location
    Australia
    Search Comp PM
    YUY2 requires that you deal in even numbers so your crop will need to be
    Left: 8, Top: 10, Right 8, Bottom: 10 (in that order).
    Also since you're putting back with the borders step the same as you cropped, you won't need the resize step, because the size will stay 720x576.

    So the script should be..

    Code:
    LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL") 
    AVISource("D:\MOVIES~1\Test.avi",False) 
    ConvertToYUY2() 
    Crop(8, 10 ,-8,-10).AddBorders(8, 10, 8, 10)
    By default interlacing is applied if the height is greater than 288 (PAL) - loading the AVI in TMPGenc will tell you if it's interlaced.
    Quote Quote  



Similar Threads

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