[Cin] ShellCmd for personal use

Andrea paz gamberucci.andrea at gmail.com
Sun Jun 2 16:15:15 CEST 2019


I read the Спицын Андрей's script and the Phyllis' answer:

https://lists.cinelerra-gg.org/pipermail/cin/2019-May/000754.html

I was wondering if it was possible to include in ShellCmd some ffmpeg
filters that do not work in CinnGG.

The commands are as follows:

EXTRACTPLANES

ffmpeg -i video.avi -filter_complex 'extractplanes=y+u+v[y][u][v]'
-map '[y]' y.avi -map '[u]' u.avi -map '[v]' v.avi

ffmpeg -i video.avi -filter_complex 'extractplanes=r+g+b[r][g][b]'
-map '[r]' r.avi -map '[g]' b.avi -map '[b]' b.avi

ffmpeg -i [r][g][b]mergeplanes=0x001020:yuv444p output.avi

ALPHAEXTRACT

ffmpeg -i video_with_alpha.avi alphaextract video.avi alpha.avi

ffmpeg -i video.avi alpha.avi alphamerge video_with_alpha.avi

LENSFUN

ffmpeg -i input.mov -vf lensfun=make=Canon:model="Canon EOS
100D":lens_model="Canon EF-S 18-55mm f/3.5-5.6 IS
STM":focal_length=18:aperture=8 -c:v h264 -b:v 8000k output.mov

I can't even write a single line in Bash. Does anyone know if this is possible?


More information about the Cin mailing list