Needs to be something for Linux
@LilaHexe every time I do this I whip out a custom ffmpeg invocation… probably something like this could work (didn’t test, use with caution)
find '.' -name '*.flac' -type f -exec ffmpeg -i {} -acodec libopus -b:a 192k {}.opus \;
and then another pass to rename all .flac.opus files into .opus
@LilaHexe i would add echo before ffmpeg, and then | parallel at the end
i’m like 45% sure this will just work, you have to check, i’m not good at GNU parallel XD
@LilaHexe @fogti @domi Seems to me just using opusenc instead of ffmpeg works for the conversion and with the album art.
I have an alias that does parallel opusenc {} {.}.opus ::: and I just throw it any number of files with globbing from my shell, but I think it should be easy to adapt to your script