RemoveGrain v1.0b/Repair/Repair

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Repair)
 
m (Examples)
Line 46: Line 46:
 
  Unprocessed = [[AviSource]]("Blah.avi")
 
  Unprocessed = [[AviSource]]("Blah.avi")
 
  Processed  = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)<br>
 
  Processed  = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)<br>
  Repair(Unprocessed, Processed, mode=2, modeU=2, modeV=2, planar=false)
+
  Repair(Processed, Unprocessed, mode=2, modeU=2, modeV=2, planar=false)
 
<br>
 
<br>
  

Revision as of 07:23, 20 January 2014

Back to Repair

Contents

Description

Repairs unwanted artifacts created by plugins included in the RemoveGrain v1.0b package.


Requirements

- Progressive input only
- Supported color formats: YUY2, YV12


Syntax and Parameters

Repair (clip, clip, int "mode", int "modeU", int "modeV", bool "planar")


int  mode = 2
int  modeU = mode
int  modeV = modeU
Independently control the processing mode for each plane.
  • -1 : Bypass - input plane is trashed thus faster than mode 1
  • 0 : Copy - input plane is left intact
  • 1 :
  • 2 : Default
  • 3 :
  • 4 :
  • 5 :
  • 6 :
  • 7 :
  • 8 :
  • 9 :
  • 10 :
  • 11 :
  • 12 :
  • 13 :
  • 14 :
  • 15 :
  • 16 :
  • 17 :
  • 18 :
By default if modeU is not set it defaults to the value of mode. If modeV is not set it defaults to the value of modeU


bool  planar = false
See SSETools Interleaved2Planar.


Examples

Repair with default values:

Unprocessed = AviSource("Blah.avi")
Processed   = RemoveGrain(Unprocessed, mode=2, modeU=2, modeV=2, planar=false)
Repair(Processed, Unprocessed, mode=2, modeU=2, modeV=2, planar=false)


Links





Back to Repair

Personal tools