I’m stuck trying to blend an effect to a mp4 file in GMIC. I created some scanlines to a blank image the same size of the frames in the video and I would like to blend those lines to each frame.
gmic file.mp4 +mul[-1] 0 -scanlines[-1] 60,4,0,0,0 blend[^-2] dodge o output.mp4
Reading the commands afterwards shows that the blend command blends all the frames together. How could I blend each frame to that last one individually. As usual I bet its a simple keystroke that I just cannot find on the website. Figures…
About selections, you may omit the first one because there is only one item in the list. Dot notation is a shortcut for selections up to 3 dots ... = [-3].
G’MIC moved away from dash command syntax (scanlines).
_selection_is is a convenience function for the GUI plugin, where you don’t have to reorder the layers manually in the host app.
blend.. .,dodge got only the second to last image to blend with the last one. But I saw adding that dot and comma before dodge got it to select the base layer. So I tried
blend .,dodge
Which successfully returned this:
Blend images [0,1,2,(...),1676,1677,1678] with base layer
Thanks @afre! Now to figure out how to animate these effects. Wish me luck!
Peace