Here's a version of the script that in-fills only one line of each field, except for the right ~1/4 of the frame where 5 lines are filled after deinterlacing (as before).
You can hardly see that two lines have been infilled on the left 3/4 of the frame.Code:########################################################################## # # Infill a number of lines with data interpolated from the line above # and the line below. For example, InFilllines(4, 2) will fill lines # 4 and 5 with data interpolated from lines 3 and 6. # ########################################################################## function InFillLines(clip v, int ypos, int yheight, float "opacity") { opacity = default(opacity, 1.0) v24 = ConvertToYV24(v) top = v24.Crop(0, ypos-1, -0, 1) bot = v24.Crop(0, ypos+yheight, -0,1) patch = StackVertical(top,bot).BilinearResize(v.width, yheight+2).Crop(0,1,-0,-1).Blur(1.5) Overlay(v24, patch, x=0, y=ypos, opacity=opacity) ConvertToYV12() } ########################################################################## LWlibavVideoSource("Recording - 0002.mpg") AssumeTFF() SeparateFields() e = SelectEven().InFillLines(282, 1) o = SelectOdd().InFillLines(281, 1) Interleave(e,o) Weave() QTGMC(preset="fast") right = InFillLines(561,5).Crop(560, 560, -0, 6) Overlay(last, right, x=560, y=560)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 31 to 34 of 34
Thread
-
-
I can play all of the options on standard VHS tapes. I can't see the quality of the 3D DNR.
S-VHS ON on frontside, S-Video Out on backside, is the same as
S-VHS ON on frontside, Normal on backside, is the same as
S-VHS OFF on frontside, S-Video Out on backside, is the same as
S-VHS OFF on frontside, Normal on backside
and also 3D DNR=ON is the same as 3D DNR=OFF
jagabo:
1. AmarecTV 3.10 and output to test.avi
2. AvsPmod 2.7.3.2 -> deinterlacing.avs.
deinterlacing.avs is the same folder as test.avi video file
3. Failed on LWlibavVideoSource("test.avi"): Script error: There is no function named 'LWlibavVideoSource' -
Any time you get that message it means you need a 3rd party filter. Google for "AviSynth filtername" and you'll usually find the missing filter.
https://www.google.com/search?q=avisynth+lwlibavvideosource
In this case it's the LSMASHSource filter:
http://avisynth.nl/index.php/LSMASHSource
Download it and put the dll or avsi file(s) in AviSynth's plugins folder(s). -
- On the SVHS player on a TV it is just fine on the video (from SCART SVHS to SCART TV), but noisy bottom on converting to computer with different cables.
- On playing SVHS player on a computer, it is exactly the same on connecting to a) AV1(TV1)/S-Video Out, b) AV1(TV1)/Normal and c) AV2(DECODER/EXT).
- All the plugins in 64-bits and all the version numbers is the newest, if I understand it correctly.
- On QTGMC preset, I am using Slower variable, for I had to stress about it again with Very Slow and Ultra Fast.
- Using deinterface on QTGMC, not deinterlace on QWinFF
- Input is "Recording - 0003.mpg", output is "out.mp4".
What is the command you use for AviSynth? Can I use 'ffmpeg -i InFillLines.avs out.mp4' ?
How can I record the video on AvsPmod?
It is still disturbing bottom in the video on out.mp4. And there is no sound on out.mp4.
InFillLines.avs:PHP Code:##########################################################################
#
# Infill a number of lines with data interpolated from the line above
# and the line below. For example, InFilllines(4, 2) will fill lines
# 4 and 5 with data interpolated from lines 3 and 6.
#
##########################################################################
function InFillLines(clip v, int ypos, int yheight, float "opacity")
{
opacity = default(opacity, 1.0)
v24 = ConvertToYV24(v)
top = v24.Crop(0, ypos-1, -0, 1)
bot = v24.Crop(0, ypos+yheight, -0,1)
patch = StackVertical(top,bot).BilinearResize(v.width, yheight+2).Crop(0,1,-0,-1).Blur(1.5)
Overlay(v24, patch, x=0, y=ypos, opacity=opacity)
ConvertToYV12()
}
##########################################################################
#running LWlibavVideoSource
LoadPlugin("C:\Users\johnnie\Documents\video\L-SMASH-Works-r1129.0.1.0\x64\LSMASHSource.dll")
LWlibavVideoSource("Recording - 0003.mpg")
AssumeTFF()
SeparateFields()
e = SelectEven().InFillLines(282, 1)
o = SelectOdd().InFillLines(281, 1)
Interleave(e,o)
Weave()
#running QTGMC
LoadPlugin("C:\Users\johnnie\Documents\video\masktools2_v2.2.30\x64\masktools2.dll")
LoadPlugin("C:\Users\johnnie\Documents\video\RgTools-v1.2\x64\RgTools.dll")
LoadPlugin("C:\Users\johnnie\Documents\video\mvtools-2.7.45-with-depans20210608\x64\mvtools2.dll")
LoadPlugin("C:\Users\johnnie\Documents\video\NNEDI3_v0_9_4_62\x64\Release_W7\nnedi3.dll")
Import("C:\Users\johnnie\Documents\video\Zs_RF_Shared.avsi") #V1.161
Import("C:\Users\johnnie\Documents\video\QTGMC.avsi") #3.384
QTGMC(preset="Slower")
right = InFillLines(561,5).Crop(560, 560, -0, 6)
Overlay(last, right, x=560, y=560)
Last edited by Johnnie; 9th Sep 2023 at 07:43.
Similar Threads
-
JVC HR-S7600AM S-VHS VS. HM-DH5U D-VHS Capturing a VHS Tape
By dellsam34 in forum CapturingReplies: 26Last Post: 25th Aug 2023, 11:18 -
advice re vapoursynth cleaning up old noisy vhs/super8 footage
By hydra3333 in forum Newbie / General discussionsReplies: 14Last Post: 21st May 2021, 02:23 -
Removing noisy lines in VHS captured DV video, perhaps with Atom Inspector
By celsoac in forum EditingReplies: 0Last Post: 27th Apr 2019, 08:55 -
vhs tape question, 1/2 tape is fine and 1/2 way thru gets lines
By tomthetank in forum Newbie / General discussionsReplies: 8Last Post: 13th Jan 2019, 08:14 -
Tape converted perfectly, but tried again and now output has diagonal lines
By pinkfan in forum CapturingReplies: 3Last Post: 6th Jan 2019, 03:36