#!/bin/bash -e
#####################################################
#
# This script will export your video to frames and
# use the application "primitive" to reproduce the
# image with polygonal primitive shapes. Then the
# converted frames are p
#
# The modes available for the -m argument are:
# 0=combo
# 1=triangle
# 2=rect
# 3=ellipse
# 4=circle
# 5=rotatedrect
# 6=beziers
# 7=rotatedellipse
# 8=polygon
#
# primitive repo : https://github.com/fogleman/primitive
#
# Usage: bash ffmpeg/frames/primitive.sh