Quantcast Restore VHS: bad frames, bad colors noise? - digitalFAQ Forum
  #1  
09-05-2021, 04:48 PM
NASS NASS is offline
Free Member
 
Join Date: Aug 2021
Posts: 5
Thanked 1 Time in 1 Post
hello thanks for reading this post

I did not find a way to solve it is three problem, bad frames, bad colors noise, horizontal line color,

here are some examples of these problems

help me with avs scripts or something else thank you very much,


Attached Files
File Type: avi BAD COLOR.avi (5.79 MB, 17 downloads)
File Type: mpg horizontal line color.mpg (8.48 MB, 17 downloads)
File Type: mp4 bad frames.mp4 (4.31 MB, 15 downloads)
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-06-2021, 06:12 AM
themaster1 themaster1 is offline
Free Member
 
Join Date: Feb 2011
Posts: 261
Thanked 57 Times in 46 Posts
for bad colors (chroma noise use this

Quote:
AVISource("BAD COLOR.avi")
SpotLessUV()
SpotlessUV.avsi

og.jpg
You must be logged in to view this content; either login or register for the forum. The attached screen shots, before/after images, photos and graphics are created/posted for the benefit of site members. And you are invited to join our digital media community.


Reply With Quote
The following users thank themaster1 for this useful post: Hushpower (09-06-2021), lollo2 (09-06-2021), lordsmurf (09-13-2021), NASS (09-06-2021)
  #3  
09-06-2021, 06:54 AM
NASS NASS is offline
Free Member
 
Join Date: Aug 2021
Posts: 5
Thanked 1 Time in 1 Post
thank you very much sir , it reduces the problem, do you have a solution for the other problem?
,
Reply With Quote
The following users thank NASS for this useful post: lordsmurf (09-13-2021)
  #4  
09-06-2021, 06:54 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 210
Thanked 44 Times in 41 Posts
Excellent results for bad colors, congratulations!

To OP, for horizontal disturbance try:
https://forum.doom9.org/showthread.php?t=159914

or
https://forum.doom9.org/showthread.php?t=121197&page=6

or
https://forum.videohelp.com/threads/395600-fixing-damaged-frames-%28as-if-the-video-was-captured-from-a-bad-tape%29

or
Code:
FixRipsp2.RemoveDirtMC
or
many others.
Reply With Quote
  #5  
09-06-2021, 09:47 AM
Hushpower Hushpower is online now
Premium Member
 
Join Date: Apr 2020
Posts: 254
Thanked 34 Times in 34 Posts
Quote:
Originally Posted by THE Master
for bad colors (chroma noise use this
Wow! That's outstanding!
Reply With Quote
  #6  
09-06-2021, 11:00 AM
NASS NASS is offline
Free Member
 
Join Date: Aug 2021
Posts: 5
Thanked 1 Time in 1 Post
hi, thanks for your answer, unfortunately I did not find any script, I am new in the restoration try to help me with script please! ! thank you very much
Reply With Quote
  #7  
09-12-2021, 12:32 PM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 210
Thanked 44 Times in 41 Posts
Code:
hi, thanks for your answer, unfortunately I did not find any script, I am new in the restoration try to help me with script please!
Concerning horizontal line color.mpg the grey lines defect stays/moves across a large number of frames, is difficult to repair it.

Using FixRipsp2() 4 times I was able to obtain this, not satisfying for all frames:

some small result:
c.jpg

bad result:
You must be logged in to view this content; either login or register for the forum. The attached screen shots, before/after images, photos and graphics are created/posted for the benefit of site members. And you are invited to join our digital media community.


Here the script, it's very "heavy, you may want to split the operations using only 2 FixRipsp2() calls at the time:
Code:
# interlaced  fields TFF
# problem: horizontal stripe
# solution: repair with FixRipsp2

# FFmpegSource
loadPlugin("C:\Users\giuse\Documents\VideoSoft\MPEG\AviSynth\extFilters\ffms2_87bae19\x86\ffms2.dll")

#video_org=FFmpegSource2("horizontal line color.mpg")
#video_org_trim=video_org.trim(10,100)

video_org_trim=AviSource("1_rep_sequence.avi").convertToYV16()

# plugins directory
plugins_dir="C:\Users\giuse\Documents\VideoSoft\MPEG\AviSynth\extFilters\"

	# FixRipsp2
Import(plugins_dir + "FixRipsp2.avs")
	# RgTools
loadPlugin(plugins_dir + "RgTools-v1.0\x86\RgTools.dll")
	 # DePanEstimate
loadPlugin(plugins_dir + "depanestimate110\DePanEstimate.dll")
	# FFTW
loadPlugin(plugins_dir + "LoadDll\LoadDll.dll")
loadDll(plugins_dir + "fftw3_20040130\fftw3win32mingw\fftw3.dll")
	# DePan
loadPlugin(plugins_dir + "depan1131\DePan.dll")
	# MaskTools2
loadPlugin(plugins_dir + "masktools2-v2.2.23\x86\masktools2.dll")
	# MVTools
loadPlugin(plugins_dir + "mvtools-2.7.41-with-depans20200430\x86\mvtools2.dll")

### separate fields
video_org_trim_sep=video_org_trim.AssumeTFF().separateFields()

### select even fields
video_org_trim_sep_even=SelectEven(video_org_trim_sep)

### select odd fields
video_org_trim_sep_odd=SelectOdd(video_org_trim_sep)

### repair
video_org_trim_sep_even_rep=video_org_trim_sep_even.FixRipsp2().FixRipsp2().FixRipsp2().FixRipsp2()
video_org_trim_sep_odd_rep=video_org_trim_sep_odd.FixRipsp2().FixRipsp2().FixRipsp2().FixRipsp2()

### interleave
video_interleaved=interleave(video_org_trim_sep_even_rep,video_org_trim_sep_odd_rep)

### weave
video_restored=video_interleaved.Weave()

return(video_restored)
For a similar problem on a file captured by a friend in the past, we also experimented a frame by frame restoration with Photoshop, where you can rebuild the corrupted lines from adjacent lines or lines from previous frames. Result was better but still not excellent. The first frames were good, but in the latest the proportions in the body of the girl and the table were altered. If you switch fast between the 2 images you will see. More work would have been required!

good result:
d.jpg

bad result:
You must be logged in to view this content; either login or register for the forum. The attached screen shots, before/after images, photos and graphics are created/posted for the benefit of site members. And you are invited to join our digital media community.


Attached Images
File Type: jpg a.jpg (37.1 KB, 4 downloads)
File Type: jpg b.jpg (36.9 KB, 2 downloads)
Reply With Quote
The following users thank lollo2 for this useful post: NASS (09-13-2021)
  #8  
09-13-2021, 05:58 AM
NASS NASS is offline
Free Member
 
Join Date: Aug 2021
Posts: 5
Thanked 1 Time in 1 Post
thank you very much sir, you are the best ^^
Reply With Quote
  #9  
09-13-2021, 09:45 AM
lollo2 lollo2 is offline
Free Member
 
Join Date: Mar 2013
Location: Italy
Posts: 210
Thanked 44 Times in 41 Posts
Not really, I did not solve the problem.

About the bad frames in the third video a quick fix is replacing them with previous or following frames (very basic AviSynth script). Some frames have bad color, must be fixed with restoration.

Code:
loadPlugin("C:\Users\giuse\Documents\VideoSoft\MPEG\AviSynth\extFilters\ffms2_87bae19\x86\ffms2.dll")

video_org=FFmpegSource2("bad frames.mp4")

video_frames_replaced=video_org.trim(0,34)++video_org.trim(34,34)++video_org.trim(36,37)++video_org.trim(37,37)\
                    ++video_org.trim(39,116)++video_org.trim(116,116)++video_org.trim(118,129)\
		    ++video_org.trim(129,129)++video_org.trim(131,209)++video_org.trim(209,209)\
		    ++video_org.trim(211,303)++video_org.trim(303,303)++video_org.trim(305,316)\
		    ++video_org.trim(316,316)++video_org.trim(319,319)++video_org.trim(319,409)\
		    ++video_org.trim(409,409)++video_org.trim(412,412)++video_org.trim(412,492)\
		    ++video_org.trim(492,492)++video_org.trim(494,585)++video_org.trim(585,585)\
		    ++video_org.trim(587,597)\
		    ++video_org.trim(597,597)++video_org.trim(599,599)++video_org.trim(599,599)\
		    ++video_org.trim(601,610)

return(video_frames_replaced)
Result here: video_restored.mp4


Reply With Quote
The following users thank lollo2 for this useful post: lordsmurf (09-13-2021), NASS (09-13-2021)
  #10  
09-13-2021, 11:02 AM
NASS NASS is offline
Free Member
 
Join Date: Aug 2021
Posts: 5
Thanked 1 Time in 1 Post
thank you very much sir
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Distorted colors during capturing? EmielBoss Capture, Record, Transfer 19 01-16-2021 10:14 AM
Hi8 playback and capture colors not right? colony Capture, Record, Transfer 9 03-06-2020 07:19 PM
Why does red block more in video than other colors? premiumcapture General Discussion 12 07-15-2016 09:43 PM
Diagonal line noise on VHS video? Luma noise? bilditup1 Capture, Record, Transfer 66 10-17-2015 01:03 AM

Thread Tools



 
All times are GMT -5. The time now is 10:35 PM