digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Capture, Record, Transfer (https://www.digitalfaq.com/forum/video-capture/)
-   -   8mm Vietnam film, capture in VirtualDub with Avisynth? (https://www.digitalfaq.com/forum/video-capture/12620-8mm-vietnam-film.html)

spammer_watersjim 03-14-2022 08:00 AM

8mm Vietnam film, capture in VirtualDub with Avisynth?
 
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.

lollo2 03-14-2022 12:36 PM

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 ;)

timtape 03-14-2022 03:16 PM

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.

lordsmurf 03-14-2022 07:19 PM

This was a spammer, fake question, copy/paste from another site. :spam:


All times are GMT -5. The time now is 08:57 AM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.