03-14-2022, 08:00 AM
|
|
Invalid Email / Banned / Spammer
|
|
Join Date: Mar 2022
Posts: 1
Thanked 0 Times in 0 Posts
|
|
I bought a bunch of old stuff being cleaned from an old building and in it was a personal film from the vietnam war. in it is an 8mm film that i have viewed and have captured with an hd dslr camera and my iphone at 60 fps did a better job of not much flicker. ive used virtualdub and am novice at that but the film is dirty and i wish i could clean it up with something like videofred's script ive read about. i've read and tried to use avisynth but nothing works or it says the plugin is incorrect or something is wrong. any help would be appreciated and also the film is not of gore or killing its some helicopters and guys preparing food and then maybe a jeep ride through a small town and can see the people living there. thanks if anyone has time to assist me.
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
03-14-2022, 12:36 PM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
In their basic, the videofred scripts are quite simple. An example (no stabilization):
1- download his file and place it somewhere
2- create this script:
Code:
video_org=AviSource("<your file>.avi")
#example:
# video_org=AviSource("C:\Users\giuse\Videos\Acquisizioni\ufo_sII2a_spot_amtv_2_cut.avi")
# plugins directory
plugins_dir_videofred="<the absolute path where you placed the plugins from videofred downloaded zip file>"
# example:
# plugins_dir_videofred="C:\Users\giuse\Videos\Acquisizioni\avs_scripts\videoFred\20)Film_Restoring_vs_06_2012\scripts\plugins\"
# RemoveDirtMC
Import(plugins_dir_videofred + "03_RemoveDirtMC.avs")
# MVTools
LoadPlugin(plugins_dir_videofred + "MVTools2.dll")
# RemoveGrain
Loadplugin(plugins_dir_videofred + "RemoveGrain.dll")
# RemoveDirt
LoadPlugin(plugins_dir_videofred + "RemoveDirt.dll")
# WarpSharp
Loadplugin(plugins_dir_videofred + "warpsharp.dll")
# MVTools
LoadPlugin(plugins_dir_videofred + "MVTools.dll")
# parameters
# cleaning and pre-sharpening
# cleaning
dirt_strenght=30 # set this lower for clean films
# sharpening
USM_sharpness=40 # this is the start value for the unsharpmask sharpening
USM_radius=3 # do not set radius less then 3; the script will automatically add two other steps with lower radius
USM_sharpness1=USM_sharpness
USM_sharpness2=USM_sharpness+(USM_sharpness/2)
USM_radius1=USM_radius
USM_radius2=USM_radius-1
USM_radius3=USM_radius2-1
# degraining and sharpening
# degraining
block_size=16 # block size of MVDegrainMulti()
block_size_v=16
block_over=8 # block overlapping of MVDegrainMulti()
denoising_strenght=300 # denoising level of second denoiser: MVDegrainMulti()
denoising_frames=3 # number of frames for averaging (forwards and backwards) 3 is a good start value
# sharpening
USM_sharpness3=USM_sharpness*2
USM_radius3=USM_radius2-1
# final sharpening
last_sharp=0.1 # final sharpening step
last_blur=0.2 # this smooths out the heavy sharpening effects
### convert to YV12
noise_baseclip_yv12=video_org.ConvertToYV12()
### cleaning and pre-sharpening
cleaned=RemoveDirtMC(noise_baseclip_yv12,dirt_strenght).unsharpmask(USM_sharpness1,USM_radius1,0).unsharpmask(USM_sharpness2,USM_radius2,0)
### degraining and sharpening
vectors=cleaned.MVAnalyseMulti(refframes=denoising_frames,pel=2,blksize=block_size,blksizev=block_size_v,overlap=block_over,idx=1)
denoised=cleaned.MVDegrainMulti(vectors,thSAD=denoising_strenght,SadMode=1,idx=2)
### final sharpening
sharpened=denoised.sharpen(last_sharp,mmx=false).sharpen(last_sharp,mmx=false).blur(last_blur,mmx=false)
### convert to YUY2
video_restored=sharpened.ConvertToYUY2()
### restored video
#eval("video_restored")
### comparison between original video and restored video
stackhorizontal(\
subtitle(video_org,"video_org",size=20,align=2),\
subtitle(video_restored,"video_restored",size=20,align=2)\
)
3- open the script in VirtualDub
Any question, just ask
|
03-14-2022, 03:16 PM
|
|
Free Member
|
|
Join Date: Sep 2020
Location: Perth, Western Australia
Posts: 536
Thanked 100 Times in 90 Posts
|
|
Capturing reversal cine film with any fidelity is difficult. There are some special problems to deal with. Much of the picture detail is often lost or distorted at the camera sensor. Software cannot bring back what was not captured.
Last edited by timtape; 03-14-2022 at 04:00 PM.
|
03-14-2022, 07:19 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 13,508
Thanked 2,449 Times in 2,081 Posts
|
|
This was a spammer, fake question, copy/paste from another site.
|
All times are GMT -5. The time now is 12:38 AM
|