./m2c.sh <movie clip> [width height]
where
<movie clip>
is the filename of a video clip to be convertedwidth
(defaults to 4) is an optional parameter affecting the number of tiles along the horizontal dimension in the resulting collageheight
(defaults to 3) is an optional parameter affecting the number of tiles along the vertical dimension
The resulting collage will be saved into a file named after original clip with .jpg
extension.
The script has a number of dependencies that have to be installed ahead of time
bash
being the default shell.ffmpeg
utility needs to be installed and its full installation path has to be set inm2c.sh
script.awk
path needs to be specified inm2c.sh
scriptImageMagick
utility has to be installed and installation path to one of its binaries, i.e.montage
has to be specified inm2c.sh
script
Notes:
-
The paths to binary files have to be explicitly set to allow execution of the script via automation flow, e.g. in Automator Workflow on MacOS.
-
Execution time would be proportional to the video clip length