VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Oct 2007
    Location
    United States
    Search Comp PM
    I currently have:
    Code:
    MPEG2Source("C:\Desktop\ep1.d2v", cpu2="ooooxx")
    TFM()
    TDecimate()
    daa()
    ColorYUV(levels="TV->PC")
    Crop(6, 0, -10, -2)
    FreezeFrame(20876,20876,20877)
    FreezeFrame(33158,33158,33159)
    Spline36Resize(720,480)
    I am trying to just crop 4 pixels off of the bottom of frame 3508 and then resize it back to fix with the same frame size as the rest of the video. This frame has some green garbage at the bottom and FreezeFrame won't work because it differs to much from the frames around it.

    I tried ApplyRange, but don't think that will work with cropping, I thought maybe using trim but couldn't get it work properly.
    Quote Quote  
  2. You can use Trim():
    Code:
    part1=Trim(0,3507)
    part2=Trim(3508,3508).Crop(0,0,-0,-4).Spline36Resize(width,height)
    part3=Trim(3509,0)
    
    part1++part2++part3
    You could also use ReplaceFramesSimple():
    Code:
    patch=last..Crop(0,0,-0,-4).Spline36Resize(width,height)
    ReplaceFramesSimple(last, patch, Mappings="[3508 3508]")
    Or you can try replacing the particular frame with motion interpolated between the frame before and the frame after:
    Code:
    ReplaceFramesMC(3508, 1)
    You can find that filter somewhere in these forums.
    https://forum.videohelp.com/threads/352741-Frame-interpolation?p=2226119&viewfull=1#post2226119
    Quote Quote  
  3. Member
    Join Date
    Oct 2007
    Location
    United States
    Search Comp PM
    Thanks. The trim method worked perfectly!
    Quote Quote  



Similar Threads

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