On this page:
9.25.1 Parameters
9.25.2 Examples
9.25.2.1 Old movie scratches example

9.25 OldMovieScratches

Simulates spot scratches on old film. Scratches appear as small “wormy” shapes that last for a single frame and appear more or less randomly across the screen. You can control the number of scratches and their color.

9.25.1 Parameters

 

Parameters

 

Default

 

Range    

 

Description

 

NumScratches

 

50

 

> 0

 

The number of scratches present at any give time

 

 

 

 

 

Alpha

 

1.0

 

[0.0, 1.0]

 

The transparency of the lines

 

 

 

 

 

Red

 

1.0

 

[0.0, 1.0]

 

The red component of the color of the scratches

 

 

 

 

 

Green

 

1.0

 

[0.0, 1.0]

 

The green component of the color of the scratches

 

 

 

 

 

Blue

 

1.0

 

[0.0, 1.0]

 

The blue component of the color of the scratche

Input pattern: ()

9.25.2 Examples
9.25.2.1 Old movie scratches example
; muSE v2
; 
;  My super awesome style.
;  The style adds scratches on the input media to give it an old movie feel.
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect
  (effect-stack (effect "Perspective" (A))
                (effect "CropMedia" (A))))
 
(define muvee-segment-effect
  (layers (A)
           A
          (effect "OldMovieLines" ()
                  (param "NumScratches" 50)
                  (param "Red"   0.0)
                  (param "Blue"  0.0)
                  (param "Green" 0.0)
                  (param "Alpha" 0.5))))

Because this effect has no inputs, it has to be placed in a layers.