VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member rkr1958's Avatar
    Join Date
    Feb 2002
    Location
    Huntsville, AL, USA
    Search Comp PM
    1. I have an NTSC 4:3 720x480 capture of a 16:9 widescreen show in letterbox (top & bottom black bars).
    2. I captured using my Happague USB-2 card using a CBR at 13000 kps. So I need to reencode regardless of what I plan to do. I will use dgindex along with AVISynth to edit and frameserve to my encoder (CCE-basic or TMPGEnc-Plus).
    3. I'd like to convert this capture to true 16:9 widescreen.
    4. If I've done my math correctly (please check), the true image should be centered in 720x360 of the 720x480 image. I arrive at this by 480*(.909/1.212) = 360, where .909 and 1.212 are the 4:3 and 16:9, respectively, pixel width/height ratio.
    5. Given the correct math above, if I crop the top and bottom by 60 pixels each then I'm left with the true image.
    6. Now for my question, should I just then frameserve the cropped 720x360 video to my encoder and let it encode to NTSC 16:9 720x480 widescreen or is there a more correct or easier way?
    Quote Quote  
  2. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    The numbers are correct but if your capture comes from TV, it is probably interlaced and to prevent unpleasant artifacts, resizing should be performed a special way: either after deinterlacing (this kills half of motion phases in original video) or (better) using the so-called 'smart bob' function - with temporary conversion to double-framerate progressive video. At this stage you crop+resize to target values, then combine fields of resulting video into new interlaced frames and frameserve to encoder. This can be done in AviSynth, I'm sure in couple of posts you'll find a script here ready to use .
    Quote Quote  
  3. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    You'll need a script like this:

    LoadPlugin("path\DGDecode.dll")
    LoadPlugin("path\LeakKernelDeint.dll")
    MPEG2Source("path\your movie.d2v")
    #info()
    LeakKernelBob(Order=1)#if your video is TFF, Order=0 if BFF
    Crop(0,60,-0,-60)
    LanczosResize(720,480)
    AssumeTFF()
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()
    ConvertToYUY2(Interlaced=True)#for CCE, ConvertToRGB24(Interlaced=True) for TMPGEnc

    The script uses external deintelace filter LeakKernelDeint (google it) + MPEG decompressor from package with your DGIndex
    use info line (disabled now) to determine field order in your video; output will be TFF. In CCE use 'output TFF' and offset line =0.
    Quote Quote  
  4. Member rkr1958's Avatar
    Join Date
    Feb 2002
    Location
    Huntsville, AL, USA
    Search Comp PM
    Originally Posted by Alex_ander
    You'll need a script like this:

    LoadPlugin("path\DGDecode.dll")
    LoadPlugin("path\LeakKernelDeint.dll")
    MPEG2Source("path\your movie.d2v")
    #info()
    LeakKernelBob(Order=1)#if your video is TFF, Order=0 if BFF
    Crop(0,60,-0,-60)
    LanczosResize(720,480)
    AssumeTFF()
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()
    ConvertToYUY2(Interlaced=True)#for CCE, ConvertToRGB24(Interlaced=True) for TMPGEnc

    The script uses external deintelace filter LeakKernelDeint (google it) + MPEG decompressor from package with your DGIndex
    use info line (disabled now) to determine field order in your video; output will be TFF. In CCE use 'output TFF' and offset line =0.
    Thanks for the script. I'll give it a go. The capture is TFF. That's a good tip about offset line = 0. I went through finding out about that six months ago. see, https://forum.videohelp.com/topic317973.html and http://forum.doom9.org/showthread.php?t=120000
    Quote Quote  



Similar Threads

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