On Sun, 23 Aug 2020 17:11:27 +0800
jamshark70@??? <jamshark70@???> wrote:
> The catch is, I don't know what plugins are there (beyond the
> directory listing of .so files) or what the parameters are.
I ended up finding one place to start... kdenlive uses XML files to
describe effects, and it refers to a bunch of frei0r plug-ins. So I
wrote a dumb little program to scan
'/usr/share/kdenlive/effects/frei0r*.xml' and print out names,
descriptions and parameters, e.g.
Cartoon (frei0r.cartoon): Cartoonify video, do a form of edge detect
- triplevel (constant) = 500 (0 - 100000)
- diffspace (constant) = 1 (0 - 256)
I'll attach the file to use or discard as you like. Maybe it's useful
to some other people.
hjh
Alpha operations (frei0r.alpha0ps): Display and manipulation of the alpha channel
- Display (list) = Image (Image, Alpha as gray, Gray + red, Selection on black, Selection on gray, Selection on white, Selection on checkers)
- Display input alpha (bool) = 0
- Operation (list) = NO OP (NO OP, Shave, Shrink hard, Shrink soft, Grow hard, Grow soft, Threshold)
- Threshold (simplekeyframe) = 500
- Shrink/grow amount (simplekeyframe) = 500
- Invert (bool) = 0
Alpha operations (frei0r.alpha0ps): Display and manipulation of the alpha channel
- Display (list) = Image (Image, Alpha as gray, Gray + red, Selection on black, Selection on gray, Selection on white, Selection on checkers)
- Display input alpha (bool) = 0
- Operation (list) = NO OP (NO OP, Shave, Shrink hard, Shrink soft, Grow hard, Grow soft, Threshold, Blur)
- Threshold (simplekeyframe) = 500
- Shrink/Grow/Blur amount (simplekeyframe) = 500
- Invert (bool) = 0
Alpha gradient (frei0r.alphagrad): Fill the alpha channel with a specified gradient
- Position (simplekeyframe) = 500
- Transition width (simplekeyframe) = 500
- Tilt (simplekeyframe) = 500
- Min (simplekeyframe) = 0
- Max (simplekeyframe) = 1000
- Operation (list) = Write on clear (Write on clear, Max, Min, Add, Subtract)
Alpha shapes (frei0r.alphaspot): Draws simple shapes into the alpha channel
- Shape (list) = Rectangle (Rectangle, Ellipse, Triangle, Diamond)
- Position X (simplekeyframe) = 500
- Position Y (simplekeyframe) = 500
- Size X (simplekeyframe) = 100
- Size Y (simplekeyframe) = 100
- Tilt (simplekeyframe) = 500
- Transition width (simplekeyframe) = 200
- Min (simplekeyframe) = 0
- Max (simplekeyframe) = 1000
- Operation (list) = Write on clear (Write on clear, Max, Min, Add, Subtract)
White Balance (frei0r.balanc0r): Adjust the white balance / color temperature
- Neutral Color (color) = 0xffffffff
- Green Tint (simplekeyframe) = 1200
White Balance (frei0r.balanc0r): Adjust the white balance / color temperature
- Neutral Color (color) = 0xffffffff
- Green Tint (simplekeyframe) = 1333
Baltan (frei0r.baltan): Delayed alpha smoothed blit of time
Brightness (frei0r.brightness): Adjusts the brightness of a source image
- Brightness (constant) = 500 (0 - 1000)
Corners (frei0r.c0rners): Four corners geometry engine
- Corner 1 X (simplekeyframe) = 2000
- Corner 1 Y (simplekeyframe) = 2000
- Corner 2 X (simplekeyframe) = 4000
- Corner 2 Y (simplekeyframe) = 2000
- Corner 3 X (simplekeyframe) = 4000
- Corner 3 Y (simplekeyframe) = 4000
- Corner 4 X (simplekeyframe) = 2000
- Corner 4 Y (simplekeyframe) = 4000
- Stretch X (simplekeyframe) = 1000
- Stretch Y (simplekeyframe) = 1000
- Feather Alpha (simplekeyframe) = 5
- Enable Stretch (bool) = 0
- Interpolator (list) = Bilinear (Nearest neighbor, Bilinear, Bicubic smooth, Bicubic sharp, Spline 4x4, Spline 6x6, Lanczos)
- Transparent Background (bool) = 1
- Alpha operation (list) = Write on clear (Write on clear, Maximum, Minimum, Add, Subtract)
Cartoon (frei0r.cartoon): Cartoonify video, do a form of edge detect
- triplevel (constant) = 500 (0 - 100000)
- diffspace (constant) = 1 (0 - 256)
Cartoon (frei0r.cartoon): Cartoonify video, do a form of edge detect
- triplevel (constant) = 99900 (0 - 100000)
- diffspace (constant) = 1 (0 - 256)
K-Means Clustering (frei0r.cluster): Clusters of a source image by color and spatial distance
- Num (constant) = 20 (0 - 40)
- Dist weight (constant) = 500 (0 - 1000)
White Balance (LMS space) (frei0r.colgate): Do simple color correction, in a physically meaningful
way
- Neutral Color (color) = 0x7f7f7fff
- Color Temperature (simplekeyframe) = 6500
Color Distance (frei0r.colordistance): Calculates the distance between the selected color and the current pixel and uses that value as new pixel value
- Color (color) = 0x000000ff
Color Effect (frei0r.colortap): Applies a pre-made color effect to image
- table (list) = nil ()
Contrast (frei0r.contrast0r): Adjusts the contrast of a source image
- Contrast (simplekeyframe) = 250
Curves (frei0r.curves): Color curves adjustment
- Channel (list) = Red (Red, Green, Blue, Luma)
- Luma formula (list) = Rec. 709 (Rec. 601, Rec. 709)
- Curve point number (fixed) = 2 (2 - 5)
- Point 1 input value (fixed) = 0 (0 - 1)
- Point 1 output value (fixed) = 0 (0 - 1)
- Point 2 input value (fixed) = 1 (0 - 1)
- Point 2 output value (fixed) = 1 (0 - 1)
- Point 3 input value (fixed) = 0 (0 - 1)
- Point 3 output value (fixed) = 0 (0 - 1)
- Point 4 input value (fixed) = 0 (0 - 1)
- Point 4 output value (fixed) = 0 (0 - 1)
- Point 5 input value (fixed) = 0 (0 - 1)
- Point 5 output value (fixed) = 0 (0 - 1)
- Show curves (bool) = 0
- Graph position (list) = Bottom Right (Top Left, Top Right, Bottom Left, Bottom Right)
Curves (frei0r.curves): Color curves adjustment
- Channel (list) = RGB (RGB, Red, Green, Blue, Alpha, Luma, Hue, Saturation)
- Luma formula (list) = Rec. 709 (Rec. 601, Rec. 709)
- Curve point number (fixed) = 0.2 (0.2 - 0.5)
- Point 1 input value (fixed) = 0 (0 - 1)
- Point 1 output value (fixed) = 0 (0 - 1)
- Point 2 input value (fixed) = 1 (0 - 1)
- Point 2 output value (fixed) = 1 (0 - 1)
- Point 3 input value (fixed) = 0 (0 - 1)
- Point 3 output value (fixed) = 0 (0 - 1)
- Point 4 input value (fixed) = 0 (0 - 1)
- Point 4 output value (fixed) = 0 (0 - 1)
- Point 5 input value (fixed) = 0 (0 - 1)
- Point 5 output value (fixed) = 0 (0 - 1)
- Show curves (bool) = 0
- Graph position (list) = Bottom Right (Top Left, Top Right, Bottom Left, Bottom Right)
3 point balance (frei0r.three_point_balance): Balances colors along with 3 points
- Black color (color) = 0x000000ff
- Gray color (color) = 0x808080ff
- White color (color) = 0xffffffff
- Split preview (bool) = 0
- Source image on left side (bool) = 1
Timeout indicator (frei0r.timeout): nil
- color (color) = 0x6893C8ff
- time (simplekeyframe) = 0
- transparency (simplekeyframe) = 0
Tint (frei0r.tint0r): Maps source image luminance between two colors specified
- Map black to (color) = 0x000000ff
- Map white to (color) = 0x80FF80ff
- Tint amount (simplekeyframe) = 250