From 49b91271e771a09de0795fb83c9d23cdba670315 Mon Sep 17 00:00:00 2001 From: esche Date: Fri, 7 Jul 2023 23:28:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0608bec..f9f736e 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,19 @@ See https://wiki.xiph.org/Opus_Recommended_Settings for more information about t If used on containers with video- or multiple audiostreams, this skript will only convert the audiostream and copy all streams in a Matroska container. -### Examples +### Flags +```-e``` defines the extension of the files that should be converted +```-d``` deletes original files after conversion +```-h``` show help (not implemented) -convert all files with .mp3-extension and .flac-extension to opus -```bash to_opus.sh -e mp3 -e flac``` +### Examples convert all files to opus ```bash to_opus.sh -e "*"``` +convert all files with .mp3-extension and .flac-extension to opus and deletes original files after that +```bash to_opus.sh -e mp3 -e flac``` + convert the audiostream of an movie ```bash to_opus.sh -e mp4```