Useful preview of all G'Mic filters on selection of images... if you drill into an image than twiddle the little arrow it shows the CLI setting for the fx_ filter
-
for example this is using
-f "fx_parameterize_tiles 10,10,0"@limebar Oooh I've got an idea. Using either a 5x5 or 10x10 pixel layout of the image, every other grid square is inverted, or B&W, and then reverse that pattern every frame.
A variant may be to use that same grid breakdown but use it in a vert. column 3-5 squares wide, have a sort of wave fliping to b/w that washes from L>R.
-
for example this is using
-f "fx_parameterize_tiles 10,10,0"repeat with
-f "fx_parameterize_tiles 30,30,0" -
repeat with
-f "fx_parameterize_tiles 30,30,0"so varying these parameter values could be nice over time
-
so varying these parameter values could be nice over time
using digikam (and maybe other image s/w with gmic plugin) you can set params for a filter and click this button to copy the settings to the clipboard
for example these settings yield this filter input
-f "fx_charcoal 65,70,170,0,1,0,50,70,255,255,255,0,0,0,0"

-
using digikam (and maybe other image s/w with gmic plugin) you can set params for a filter and click this button to copy the settings to the clipboard
for example these settings yield this filter input
-f "fx_charcoal 65,70,170,0,1,0,50,70,255,255,255,0,0,0,0"

here is what the previous charcoal filter yields
-
here is what the previous charcoal filter yields
i feel sure that gmic has a way to do this to video directly from CLI but can't find it yet hence the script
-
i feel sure that gmic has a way to do this to video directly from CLI but can't find it yet hence the script
fx_rotate_tiles 5,5,15,3,3,1.8
-
fx_rotate_tiles 5,5,15,3,3,1.8
one more
fx_diffusiontensors 10,50,50,5,3,1,0.15,1,0,3,0
for the record this is really slow on my crap PC and some filters are more time intensive than others -- definitely want to scale video to desired output size first
-
one more
fx_diffusiontensors 10,50,50,5,3,1,0.15,1,0,3,0
for the record this is really slow on my crap PC and some filters are more time intensive than others -- definitely want to scale video to desired output size first
the script currently let's you specify mutiple filters and then stacks them in series... would be interesting to allow for a blending... so apply each filter to the source then blend the outcome using some ratio (which is probably just another gmic filter) -- but *that* would take a long time... worth it?

-
the script currently let's you specify mutiple filters and then stacks them in series... would be interesting to allow for a blending... so apply each filter to the source then blend the outcome using some ratio (which is probably just another gmic filter) -- but *that* would take a long time... worth it?

oops one more... charcoal then rotate tiles for an example of "in series"
-
oops one more... charcoal then rotate tiles for an example of "in series"
fwiw that command line looked like this:
gmic_video.sh -i pexelsInput.mp4 -o processed.mp4 -f "fx_charcoal 65,70,170,0,1,0,50,70,255,255,255,0,0,0,0" -f "fx_rotate_tiles 5,5,15,3,3,1.8"
-
fwiw that command line looked like this:
gmic_video.sh -i pexelsInput.mp4 -o processed.mp4 -f "fx_charcoal 65,70,170,0,1,0,50,70,255,255,255,0,0,0,0" -f "fx_rotate_tiles 5,5,15,3,3,1.8"
that was fun, i'll write it up and post a link to the script here soon
-
that was fun, i'll write it up and post a link to the script here soon
blarg - "[libx264 @ 0x5c0c19c97cc0] width not divisible by 2 " -- i've dealt with this before... now to remember how
-
blarg - "[libx264 @ 0x5c0c19c97cc0] width not divisible by 2 " -- i've dealt with this before... now to remember how
Find the script and some other info here:
How to use G'MIC filters on video
I spent some time trying to figure out how to apply G’MIC filters to videos. I am fairly sure G’MIC has an option to do this directly but could not find it and decided to make a bash script anyway, as a learning exercise. This cobble-slop comes from a hundred scripts around the globe.
Lime Bar (www.limebar.space)
Still a work in progress.
Show me if you make anything interesting with it!
-
@limebar these would be some pretty awesome album art pieces as well.
@CCirco
I am thinking "music videos" of course
-
@RussSharek for sure once I get it into good shape, still messing with it, watch this space
@RussSharek it is there now
-
Find the script and some other info here:
How to use G'MIC filters on video
I spent some time trying to figure out how to apply G’MIC filters to videos. I am fairly sure G’MIC has an option to do this directly but could not find it and decided to make a bash script anyway, as a learning exercise. This cobble-slop comes from a hundred scripts around the globe.
Lime Bar (www.limebar.space)
Still a work in progress.
Show me if you make anything interesting with it!
Figured out the width issue and updated... for future ref
-vf "scale=-2:'min(${HEIGHT},ih)'"
is added to the ffmpeg CLI to cause it to use an even width pixel at the same HEIGHT as original
And audio works too (with 720p video fragment):