function getProgressBar(operation, framesCount) {
  return new di.ProgressBar(
    operation +
      " " +
      di.chalk.magenta("frame :current/:total") +
      " :percent [:bar] :etas",
    {
      width: 30,
      total: framesCount,
    }
  );
}
Create a progress bar for processing frames

@param  {String}      operation   a name for the operation
@param  {Number}      framesCount
@return {ProgressBar}