brett
10th January 2004, 08:08
This should be a fairly common situation, but searching didn't turn up anything.
I'm capturing some shows (and some old VHS stuff) and running them though DVD2SVCD. I would really like to be able to fill up a large drive capturing in huffy. The problem is that I need to do some cropping, take out commercials, etc, and I don't have the space to do a 100MB capture then copy the whole thing to a new file to edit.
So, simple enough, I can find the splice frames in VDub and use AlignedSplice to remove the commercials in my Avisynth script. I get what I want without having to have twice the disk space. My script looks like:
# CAPTURE IN 704x416 (704x480, cropped 30 top, 34 bottom)
AVISource("F:\capture.avi")
ConvertToYUY2(interlaced=true)
Trim(858,133451) #for trimming VHS
# AlignedSplice(Trim(1000,-500),Trim(2000,-500)) #for cutting commercials
SeparateFields()
clip = last.LanczosResize(352,208,0,0,704,208)
even = SelectEven(clip).Convolution3d(0, 32, 128, 16, 64, 10, 0)
odd = SelectOdd(clip).Convolution3d(0, 32, 128, 16, 64, 10, 0)
interleave(even,odd).weave()
AddBorders(0,32,0,32)
I can just take this script (minus the AVISource statement) and use it as my script on the Frameserver tab in DVD2SVCD. The problem is that I still have to point to the original AVI file on the
The problem Conversion tab. My video comes out great, but the audio is screwed up -- it doesn't get extracted right.
Any ideas?
p.s. Also, is there any benefit to LanczosResize when I'm just cutting the H res in half (from 704x480 to 352x480)?
I'm capturing some shows (and some old VHS stuff) and running them though DVD2SVCD. I would really like to be able to fill up a large drive capturing in huffy. The problem is that I need to do some cropping, take out commercials, etc, and I don't have the space to do a 100MB capture then copy the whole thing to a new file to edit.
So, simple enough, I can find the splice frames in VDub and use AlignedSplice to remove the commercials in my Avisynth script. I get what I want without having to have twice the disk space. My script looks like:
# CAPTURE IN 704x416 (704x480, cropped 30 top, 34 bottom)
AVISource("F:\capture.avi")
ConvertToYUY2(interlaced=true)
Trim(858,133451) #for trimming VHS
# AlignedSplice(Trim(1000,-500),Trim(2000,-500)) #for cutting commercials
SeparateFields()
clip = last.LanczosResize(352,208,0,0,704,208)
even = SelectEven(clip).Convolution3d(0, 32, 128, 16, 64, 10, 0)
odd = SelectOdd(clip).Convolution3d(0, 32, 128, 16, 64, 10, 0)
interleave(even,odd).weave()
AddBorders(0,32,0,32)
I can just take this script (minus the AVISource statement) and use it as my script on the Frameserver tab in DVD2SVCD. The problem is that I still have to point to the original AVI file on the
The problem Conversion tab. My video comes out great, but the audio is screwed up -- it doesn't get extracted right.
Any ideas?
p.s. Also, is there any benefit to LanczosResize when I'm just cutting the H res in half (from 704x480 to 352x480)?