View Full Version : avisynth - how to make a clip look 8mm
newbiechick
4th February 2010, 18:02
Sorry if this has been asked before, but all my searching seems to only find people wanting to clean up 8mm. I want to take a perfectly good hi res clip and make it look like Super8 (old film reel look, grungy, vintage, etc).
I have to do the same thing over and over so I need to script it with avisynth. I'm already using Tweak, addgrainc, Flicker, and GShake, but I can't find anything to add dust particles. Any ideas?
wonkey_monkey
4th February 2010, 18:20
Have you tried MSU's Old Cinema (http://compression.ru/video/old_cinema/index_en.html) filter? Although it's a VirtualDub filter, you might be able to apply to a blank clip, then overlay that clip in AviSynth.
David
newbiechick
4th February 2010, 18:22
I have not. Thanks for the suggestion, David. I'll try that now.
poisondeathray
4th February 2010, 18:31
Another option: it's not through avisynth directly, but you can also add noise effects, dust, scratches, shaking, etc.. through ffdshow's noise plugin
e.g. you could use directshowsource() and use ffdshow to decode the source then apply the noise filter
newbiechick
4th February 2010, 21:36
Old Cinema looks like it's going to do the trick, but does anyone know if the parameters are documented anywhere for use in avisynth?
They have this example on the download page:
LoadVirtualDubPlugin("..\VirtualDub\plugins\MSU Old cinema.vdf","Old_cinema", 0)
clip=AVISource("D:\work\video\film.avi", false, "RGB24")
return clip.ConvertToRGB32.Old_cinema(247, 223, 181, 0, 1, 10, 10, 15, 70, 3, 20, 5, 50, 150, 0, 1, 100)
I'm attaching an image that shows 17 of the parameters that look like they correspond with the numbers in parentheses above.
However, it doesn't show that the settings can be controlled.
Any ideas?
MatLz
4th February 2010, 21:57
Hi! Simply put your clip direct in Virtualdub, adjust the filter's settings to your need, after that save the parameters (ctrl+s) to a vcf file. Then open that file in a text éditor, it contains the config you will write in your script.
newbiechick
5th February 2010, 00:48
Thanks for the tip MatLz.
Unfortunately that only shows me the parameters for the 17 items I already knew about. It doesn't let me add parameters for noise or spots which is what I was really needing.
StainlessS
5th February 2010, 22:22
Hi NewbieChick,
Sorry to bring you bad news, but see below notes I just made on "MSU Old Cinema".
VirtualDub MSU OldCinema Filter 2.0
Filter parameters:- (Base relative 1)
COLOR CORRECTION:
16)
[0] No Changes - there is no color correction {parms 1-3 No Effect}
[1] Manual Linear - linear transform from color to black & white video
1) Red Correct red color {0-255}
2) Green Correct green color {0-255}
3) Blue Correction Blue parameter {0-255}
[2] Yellow Shift - colors are faded to yellow {parms 1-3,No Effect}
[3] Blue Shift - colors are faded to blue {parms 1-3, No Effect}
FADE EFFECT:
4) Fade color effects {0-1, Disabled,Enabled}
5) Fade Control - {0-1, Fade-Out,Fade-In <NOTE, seems BACKWARDS to graphic>}
If [0] Fade Out then transfer from "Old cinema" to "Color cinema"
If [1] Fade In then transfer from "Color cinema" to "Old cinema"
6) Frame No, Begin Fade - Whatever
7) Fade Frame Count - Whatever {Count, not end frame}
ROLLER'S TRACK:
8) Number of tracks {0-300, No Idea}
9) Clarity tracks {0-40, No Idea}
SCRATCH SETTINGS:
10) Scratches Amount {0-10, Number of scratches}
11) Scratch Probability {0-100, Probability of scratch}
12) Quantity Frame To Scratch {0-20, How many frames scratch will be shown}
13) Scratch Clearness {0-100, Clarity of scratch}
17) Scratch Width {0-200, Scratch thickness}
BORDER FADE:
14) Fade Power {0-255 Shape of ellipse. Increasing this parameter, ellipse transforms into rectangle}
15) Fade sharpness {0-255, Increasing this parameter, pixels outside ellipse fade less}
-------------------
BELOW SETTINGS NOT STORED IN *.VCF FILE AND THEREFORE NOT SAVED WITH PROCESSING SETTINGS.
ALSO, NOT STORED on VD Jobs file. PROBABLY, WORK IN PROGRESS.
THEREFORE, NOT CURRENTLY USABLE IN AVISYNTH.
SETTINGS:
Show noise - display large noise
Screen shivering
Effect light lamp - colours are faded at the image border
Random noise on screen - display small noise
Flicking - light intensity is changes randomly
Big noise - display large spots
FPS Drop List
NOISE SETTINGS:
Amplitude Noise {0-50}
Number Noise Point.
SPOT SETTINGS:
Number Spot {0-30}
chance Spot {0-100}
Clarity Spot {0-16}
White Spots {0-100}
ALSO, Border Fade, enable/disable not exposed in interface, is controlled by PRESETS, and Enabled
by SHOW NOISE setting but not Disabled again, Again, work in progress.
I was just gonna tell you to play with the settings and see which parms in the *.VCF file changed,
but, as I did not have this plugin, decided to D/L and check it out myself. Unfortunately, it's a no-go
at present as noted above. If you have to apply the "Nasties" in Avisynth, please try as DavidHorman
suggested, create blank clip in Avisynth, apply Old Cinema to maybe 5 minutes of this clip and then loop
and Overlay in Avisynth. Some of the effects are likely not to work properly, perhaps eg scratch
transparency.
Gud Luk :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.