Skip to content

Instantly share code, notes, and snippets.

@nicolaschan
Created December 30, 2020 03:25
Show Gist options
  • Select an option

  • Save nicolaschan/18e8462f8a6a199497dd954c1a01988c to your computer and use it in GitHub Desktop.

Select an option

Save nicolaschan/18e8462f8a6a199497dd954c1a01988c to your computer and use it in GitHub Desktop.
#!/bin/sh
OUTPUT_FORMAT=$1
shift
parallel -j 2 "ffmpeg -threads 1 -i {} -f $OUTPUT_FORMAT {.}.$OUTPUT_FORMAT" ::: "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment