Some multimedia Scripts in bash using ffmpeg
README.md | ||
to_opus(1).sh | ||
to_opus.sh |
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.
Example
convert all files with .mp3-extension and .flac-extension to opus
bash to_opus.sh mp3 flac
Dependencies
- ffmpeg
ToDo:
- better documentation
- flag for behaviour on Videofiles