/$$$$$$   /$$$$$$                              
   /$$__  $$ /$$__  $$                             
  | $$  \__/| $$  \__//$$$$$$$$  /$$$$$$   /$$$$$$ 
  | $$$$    | $$$$   |____ /$$/ |____  $$ /$$__  $$
  | $$_/    | $$_/      /$$$$/   /$$$$$$$| $$  \ $$
  | $$      | $$       /$$__/   /$$__  $$| $$  | $$
  | $$      | $$      /$$$$$$$$|  $$$$$$$| $$$$$$$/
  |__/      |__/     |________/ \_______/| $$____/ 
                                         | $$      
                                         | $$      
                                         |__/       
      

A blazing fast & convenient CLI for batch media processing using FFmpeg with parallel execution.

Examples Install
Re-encode two videos in parallel in H265
$ ffzap --file-list files.txt -f "-c:v libx265 -preset medium -crf 23 -c:a libopus -b:a 128k" -o "Output/{{name}}.mp4" -t 2
Convert six PNGs to JPG in parallel
$ ffzap --file-list files.txt -f "-c:v mjpeg -q:v 2" -o "Output/{{name}}.jpg" -t 6
Add a watermark to two videos in parallel
$ ffzap --file-list files.txt -f "-i watermark.png -filter_complex [1]format=rgba,lut=a=val*0.3[watermark];[0][watermark]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2 -c:a copy" -o "{{name}}_watermark.mp4" -t 2
Re-size two videos to 720p in parallel
$ ffzap --file-list files.txt -f "-vf scale=1280:720 -c:a copy" -o "{{name}}_resized.mp4" -t 2
Remux two videos to MKV in parallel
$ ffzap --file-list files.txt -o "{{name}}.mkv" -t 2
$ brew tap CodeF0x/formulae
$ brew install ffzap
$ winget install CodeF0x.ffzap
$ cargo install ffzap

Or download from GitHub