Some multimedia Scripts in bash using ffmpeg
Find a file
esche d575ec0a3e Complete rewrite
added mkv support
added support for multiple audio streams
added support for thumbnails that are in a separate video stream
added support for movies
2023-07-06 23:06:41 +02:00
README.md „README.md“ ändern 2023-07-06 22:56:12 +02:00
to_opus.sh Complete rewrite 2023-07-06 23:06:41 +02:00

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^