VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I was just wondering how I can convert an mpeg2 file that is 1280X720p within gordian knot or virtualdub down to 29.97. I am assuming that compression of the video with xvid would produce better results if it was 29.97 then 60p. Any help would be great. Thanks

    P.S. I am very new to writing avisynth scripts but I think I can learn with some help.
    Quote Quote  
  2. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    Originally Posted by mces97
    I was just wondering how I can convert an mpeg2 file that is 1280X720p within gordian knot or virtualdub down to 29.97. I am assuming that compression of the video with xvid would produce better results if it was 29.97 then 60p. Any help would be great. Thanks

    P.S. I am very new to writing avisynth scripts but I think I can learn with some help.
    Is this a movie or live? Makes a big difference. If a movie, shoot for a progressive 23.976 DVD.

    See this post
    https://forum.videohelp.com/viewtopic.php?t=308896&highlight=
    Quote Quote  
  3. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I did actually see that post before, I am a bit confused at what the person wrote here for converting 720p video
    BT709ToBT601()

    # Leave this alone. It will remove every other frame. Since 720p is 60 frames per second, this cuts it down to 30 #
    SelectEven()

    # Leave this alone. This will remove one out of every five frames, converting the fps to 24 fps. #
    Decimate()
    LanczosResize(720,480) #for 16:9 anamorphic DVD
    Sharpen(0.7)

    I am not sure what he means by leave this alone. If i want to cut down the framerate to 30, then dont i have to do something so that it doesnt cut it down to 24fps , since that also says leave this alone. thanks again
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Leave it alone = Do not change this part of the script.
    Read my blog here.
    Quote Quote  
  5. Member edDV's Avatar
    Join Date
    Mar 2004
    Location
    Northern California, USA
    Search Comp PM
    If it is a movie you do want it to be 23.976fps.

    If a football game, stop at 29.97fps.
    Quote Quote  
  6. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I think I understand, but correct me if I am wrong when it says leave it alone, if i want to convert to 29.97 then I just add
    SelectEven()
    LanczosResize(720,480) #for 16:9 anamorphic DVD
    Sharpen(0.7)

    but if i want 23.97 then i also add
    Decimate() , which i put under the SelectEven()

    see that is what I meant by I am confused. Confused on exactly how to write the script.
    Quote Quote  
  7. Hi-

    Using the GKnot generated script as the basis for your script, first edit the script, and add SelectEven(), like maybe here:

    # IVTC
    #Telecide(order=1,guide=1).Decimate()
    # or use
    #IVTC(44,11,95)
    #GreedyHMA(1,0,4,0,0,0,0,0)
    SelectEven()

    Then Save it and open the script in VDubMod. Scroll to a place with movement and start advancing a frame at a time. If you still see one duplicate frame in every 5 frames (as you probably will), then go back and add in Decimate:

    # IVTC
    #Telecide(order=1,guide=1).Decimate()
    # or use
    #IVTC(44,11,95)
    #GreedyHMA(1,0,4,0,0,0,0,0)
    SelectEven().Decimate()

    To use Decimate, you'll also have to load the Decomb plugin up at the top of the script (remove the "#" from in front):

    LoadPlugin("F:\Apps\AviSynth Stuff\AviSynth\plugins\decomb.dll")

    adjusted for your paths and names. All you'll have to do is to find the line up at the top of the script and delete the "#".

    Save it and check the script again in VDubMod, and it should be OK; no duplicate frames, and no "skips" from missing frames. Then go back into GKnot for the encoding.

    And I really don't think you'll need to use the Sharpen filter. It's not very good, will slow down the encoding, and make your video much less compressible. You're starting with an HD source, downsizing, and encoding for AVI. By definition you're going to lose detail and sharpness.
    Quote Quote  
  8. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    Thanks, I will try all the suggestions. This really is a great forum.
    Quote Quote  



Similar Threads

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