Hi, I have flickering problem with multiple VHS captures and couldn’t find a solution which gives me the result I want. Here are two sample images:
[Attachment 55377 - Click to enlarge]
[Attachment 55378 - Click to enlarge]
The first one has good colors, the second has a purple/green tint and this goes on like this over the whole capture. I tried multiple avisynth scripts /cnr2, MCTemporalDenoise/, Neat Video’s antiflicker option, Virtualdub + chroma noise reduction filter. I could correct the flickering with all of them but the problem with these solutions is that the two frames simply meet in the middle and this results in incorrect colors. Is there a software or a script where I can set a frame as source and the second frame matches the first one?
Thanks in advance
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 6 of 6
			
		- 
	
- 
	I don't see a simple transform that will make the colors similar. But a video sample (no filtering, not reencoded) would be more usefule. 
- 
	ttempsmooth is the right tool for this, see below: 
 
 AVISource("capt10.avi")
 assumetff()
 ConvertToYV16(matrix="Rec601",interlaced=true)
 U = UToY().ttempsmooth(maxr=1,lthresh=150, strength=1)
 V=VToY().ttempsmooth(maxr=1,lthresh=150, strength=1)
 YToUV(U,V,last)
 converttoyv12(matrix="Rec601",interlaced=true)*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE
- 
	If the OP is correct that the even numbered frames have the right color and the odd numbered frames have wrong colors, it would work better if one could transform the odd frames to be closer in color to the even frames. This code crudely matches the odd frame colors to the even frame colors, then applies your color averaging. 
 
 Code:AviSource("capt10.avi") AssumeBFF() even = SelectEven() odd = SelectOdd() odd = odd.Tweak(hue=-30).ColorYUV(cont_u=80, cont_v=-40).Tweak(Hue=30) Interleave(even,odd) U = UToY().ttempsmooth(maxr=1,lthresh=150, strength=1) V=VToY().ttempsmooth(maxr=1,lthresh=150, strength=1) YToUV(U,V,last)
- 
	Here's another option: replace the chroma of the odd (bad color) frames, with chroma motion interpolated from the even (good color) frames. If this was progressive video it would be very easy. Being interlaced makes it a bit harder. 
 
 Motion interpolation often doesn't work well but it looks pretty good with this clip (we're using only the chroma anyway). You can tune Interframe() differently or try using other frame rate converters.Code:AviSource("capt10.avi") AssumeBFF() even = SelectEven() odd = SelectOdd() QTGMC(even) Interframe(GPU=false, Tuning="film", NewNum=75, NewDen=1, cores=4) #return(SelectEvery(6, 0,3,4,5)) # see full motion sequence SelectEvery(6, 4,5) SeparateFields() SelectEvery(4,0,3) oddchroma = Weave() odd = MergeChroma(odd, oddchroma) Interleave(even, odd) QTGMC()
Similar Threads
- 
  VHS Capture with Hauppauge HD PVR2 (No Color or Stereo Audio)By renarayne in forum Capturing and VCRReplies: 8Last Post: 22nd Sep 2019, 17:06
- 
  Help on a script that fix color only to specific frames of the videoBy Altruo in forum RestorationReplies: 7Last Post: 23rd Jul 2018, 07:51
- 
  Super 8 on VHS (Color Correction)By TONYFRANCE in forum RestorationReplies: 5Last Post: 16th Apr 2018, 09:14
- 
  I'm getting a flickering signal from Video Capture CardBy Grandpa2390 in forum Capturing and VCRReplies: 10Last Post: 4th Apr 2018, 15:21
- 
  Annoying VHS flickering on captureBy jonboyuk in forum Capturing and VCRReplies: 12Last Post: 8th Aug 2016, 13:08


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
 
			