Yesterday I was processing a capture that I recorded to a VHS tape from a Panasonic PV-810 Camcorder and after running an AviSynth Script and saving my file with
VirtualDub my new AVI contained a specific and frequent bizarre visual error.
My capture chain is as follows:
1. JVC SR-V10U S-VHS VCR
2. DataVideo TBC-1000
3. Windows XP PC with an ATI All in Wonder 9200 and a Turtle Beach Santa Cruz soundcard
All of these devices are connected with S-Video cables and RCA audio cables.
In
VirtualDub 1.9.11 I captured the tape to AVI using the
Huffyuv lossless codec at 720x480 resolution.
Then I transferred the capture to my Windows 7 editing PC to start filtering and restoration with AviSynth. My first AviSynth Script resulted in a file without visual errors and was written as follows:
Code:
avisource("G:\AviSynth Projects\2019-05-17 Tape 01\2019 Magnifico's EDIT\July 2019 Magnificos 01.avi")
### Color Correction ###
#ColorYUV(gamma_y=64)
#ColorYUV(off_u=+2, off_v=-1)
### Colorspace Conversion for AviSynth ###
ConvertToYV12(interlaced=true)
AssumeTFF()
#Histogram("Levels")
### Deinterlacing Settings ###
QTGMC(preset="medium",EZDenoise=6,denoiser="dfttest",ChromaMotion=true,\
ChromaNoise=true,DenoiseMC=true,GrainRestore=0.3,border=true)
### Additional Filtering ###
RemoveDirtMC(40,false)
### Overscan Masking ###
Crop(12,0,-4,-12)
AddBorders(8,6,8,6)
### Colorspace Conversion for VirtualDub ###
#ConvertToRGB32(interlaced=true,matrix="Rec601")
### Video Resize for h.264 delivery ###
#SelectEven() ### For 29.97 fps Progressive output ###
#Spline36Resize(640,480)
#Return last
Along with this script I used the Camcorder Denoise filter in VirtualDub at level 30 with 4 threads.
Below is a screenshot from the de-interlaced video file that was produced by this script:
At this point I was satisfied with how the video appeared but I wanted to resize to 640x480 resolution before encoding to h.264 for online distribution.
For the resize I used the following script:
Code:
avisource("G:\AviSynth Projects\2019-05-17 Tape 01\2019 Magnifico's EDIT\[Deinterlaced] 2019 Magnificos EDIT.avi")
#SelectEven() ### For 29.97 fps Progressive output ###
Spline36Resize(640,480)
Return last
Below is a screenshot from the AVI that was produced from this code. It appears at the same frame as the screenshot above:
I'm not sure how to describe this distortion, but it would happen for a single frame every few minutes in the AVI. At times this distortion would appear multiple times in the same minute.
Can anyone help me identity what this distortion is called and how I can prevent it from happening in future AviSynth exports?