Last active
May 11, 2020 11:04
-
-
Save klingtnet/e0c59ad289b0c7310d270208725260ab to your computer and use it in GitHub Desktop.
Parallel flac to opus transcoding using ffmpeg and GNU parallel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
IFS=\n && parallel ffmpeg -i {} -c:a libopus -b:a 128k {.}.opus' ::: **/*.flac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
IFS=\n
is for when the filenames contain spaces.