resonator
18th December 2002, 13:45
Hi there!
I've tried to use AviSynth to do sort of a manual IVTC. I captured my copy of the Star Wars Laserdisc at full NTSC resolution to put it on a DVDR.
The video is structured this way:
Frame1 - Progressive
Frame2 - Interlaced
Frame3 - Interlaced
Frame4 - Progressive
Frame5 - Progressive
and then the loop starts over.
I wanna keep the progressive frames and just use the resized bottom field from Frame2 to get the video at 23.976 progressive, so I wrote this script:
LoadPlugin("D:\TEST_SW\MPEG2DEC.DLL")
Clip=MPEG2Source("D:\TEST_SW\GRAB1.d2v")
Clip2=ShowSMPTE(Clip, 29.97)
Frame1=SelectEvery(Clip2,5,1)
Frame2=SelectEvery(Clip2,5,2,3)
Frame3=SelectEvery(Clip2,5,4,5)
Frame2Sep=SeparateFields(Frame2)
Frame2Sel=SelectEvery(Frame2Sep,4,2)
Frame2RIn=BicubicResize(Frame2Sel,720,480)
ProgOut=Frame1 + Frame2RIn + Frame3
return(ProgOut)
But that doesn't work because that way I get all the Frames from "Frame1" first, after that "Frame2RIn" and so on.
So my question is: How would a script look like that returns a structure like this -
Frame1
Resized Bottom Field of Frame2
Frame4
Frame5
Any ideas?
I've tried to use AviSynth to do sort of a manual IVTC. I captured my copy of the Star Wars Laserdisc at full NTSC resolution to put it on a DVDR.
The video is structured this way:
Frame1 - Progressive
Frame2 - Interlaced
Frame3 - Interlaced
Frame4 - Progressive
Frame5 - Progressive
and then the loop starts over.
I wanna keep the progressive frames and just use the resized bottom field from Frame2 to get the video at 23.976 progressive, so I wrote this script:
LoadPlugin("D:\TEST_SW\MPEG2DEC.DLL")
Clip=MPEG2Source("D:\TEST_SW\GRAB1.d2v")
Clip2=ShowSMPTE(Clip, 29.97)
Frame1=SelectEvery(Clip2,5,1)
Frame2=SelectEvery(Clip2,5,2,3)
Frame3=SelectEvery(Clip2,5,4,5)
Frame2Sep=SeparateFields(Frame2)
Frame2Sel=SelectEvery(Frame2Sep,4,2)
Frame2RIn=BicubicResize(Frame2Sel,720,480)
ProgOut=Frame1 + Frame2RIn + Frame3
return(ProgOut)
But that doesn't work because that way I get all the Frames from "Frame1" first, after that "Frame2RIn" and so on.
So my question is: How would a script look like that returns a structure like this -
Frame1
Resized Bottom Field of Frame2
Frame4
Frame5
Any ideas?