591 B
591 B
to_opus
converting all Files with given file extension in your current working directory and all subdirectories to opus. The Script will choose an automatic bitrate for every audiostream dependent on the number of channels and the original bitrate. See https://wiki.xiph.org/Opus_Recommended_Settings for more information about this.
Videofiles are not supported at the moment.
Examples
convert all files with .mp3-extension and .flac-extension to opus
bash to_opus.sh -e mp3 -e flac
convert all files to opus
bash to_opus.sh -e "*"
Dependencies
- ffmpeg
- Bash 4^