Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th February 2010, 18:02   #1  |  Link
newbiechick
Registered User
 
Join Date: Feb 2007
Location: US
Posts: 4
avisynth - how to make a clip look 8mm

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?

Last edited by newbiechick; 4th February 2010 at 18:04.
newbiechick is offline   Reply With Quote
Old 4th February 2010, 18:20   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,032
Have you tried MSU's Old Cinema filter? Although it's a VirtualDub filter, you might be able to apply to a blank clip, then overlay that clip in AviSynth.

David
wonkey_monkey is offline   Reply With Quote
Old 4th February 2010, 18:22   #3  |  Link
newbiechick
Registered User
 
Join Date: Feb 2007
Location: US
Posts: 4
I have not. Thanks for the suggestion, David. I'll try that now.
newbiechick is offline   Reply With Quote
Old 4th February 2010, 18:31   #4  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 4,384
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
poisondeathray is offline   Reply With Quote
Old 4th February 2010, 21:36   #5  |  Link
newbiechick
Registered User
 
Join Date: Feb 2007
Location: US
Posts: 4
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?
Attached Images
 
newbiechick is offline   Reply With Quote
Old 4th February 2010, 21:57   #6  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 584
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.
MatLz is offline   Reply With Quote
Old 5th February 2010, 00:48   #7  |  Link
newbiechick
Registered User
 
Join Date: Feb 2007
Location: US
Posts: 4
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.
newbiechick is offline   Reply With Quote
Old 5th February 2010, 22:22   #8  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,512
Hi NewbieChick,

Sorry to bring you bad news, but see below notes I just made on "MSU Old Cinema".

Code:
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

Last edited by StainlessS; 5th February 2010 at 23:49. Reason: corrected nonsense
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.