dotfiles/.local/bin/scripts/opus

5 lines
135 B
Plaintext
Raw Normal View History

2023-03-13 14:36:09 +00:00
#!/bin/sh
2023-08-07 17:53:37 +00:00
# Convert given file to opus, requires opus-tools or ffmpeg
opusenc "$@" "${1%.*}.opus" ||
ffmpeg -i "$@" "${1%.*}.opus"