From 12feeae2b6a2860016fa4c75077c03e786f54136 Mon Sep 17 00:00:00 2001 From: TheCaptain989 Date: Mon, 27 Dec 2021 15:38:15 -0600 Subject: [PATCH] Release 1.3 - Added advanced -a and -e options - Script can now convert to any ffmpeg supported format - Added example script for Opus format --- README.md | 8 ++++---- SECURITY.md | 4 ++-- root/usr/local/bin/flac2opus.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1c0170e..f5bae4d 100644 --- a/README.md +++ b/README.md @@ -94,8 +94,8 @@ ffmpeg -loglevel error -i "Original.flac" ${Options} "NewTrack${Extension}" -b 320k # Output 320 kbit/s MP3 (non VBR; same as default behavior) -v 0 # Output variable bitrate MP3, VBR 220-260 kbit/s -d -b 160k # Enable debugging, and output a 160 kbit/s MP3 --a "-vn -c:a libopus -b:a 192K" -e .opus # Convert to Opus format, VBR 192 kbit/s, no cover art --a "-y -map 0 -c:a aac -b:a 240K -c:v copy" -e mp4 # Convert to MP4 format, using AAC 240 kbit/s audio, cover art, overwrite file +-a "-c:v libtheora -map 0 -q:v 10 -c:a libopus -b:a 192k" -e .opus # Convert to Opus format, VBR 192 kbit/s, cover art +-a "-y -map 0 -c:a aac -b:a 240k -c:v copy" -e mp4 # Convert to MP4 format, using AAC 240 kbit/s audio, cover art, overwrite file ``` ### Included Wrapper Scripts @@ -105,7 +105,7 @@ You may use any of these scripts in place of the `flac2mp3.sh` mentioned in the ``` flac2mp3-debug.sh # Enable debugging flac2mp3-vbr.sh # Use variable bit rate MP3, quality 0 -flac2opus.sh # Convert to Opus format using .opus extension +flac2opus.sh # Convert to Opus format using .opus extension, 192 kbit/s, no covert art ``` ### Example Wrapper Script @@ -147,4 +147,4 @@ This would not be possible without the following: Icons made by [Freepik](https://www.freepik.com) from [Flaticon](https://www.flaticon.com/) [warning]: .assets/warning.png "Warning" -[danger]: .assets/danger.png "Danger" +[danger]: .assets/danger.png "Danger" \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md index 97dc1fc..b8a7d50 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,8 +6,8 @@ Only the latest major and minor version are supported. | Version | Supported | | ------- | ------------------ | -| 1.2.x | :heavy_check_mark: | -| < 1.2 | :x: | +| 1.3.x | :heavy_check_mark: | +| < 1.3 | :x: | ## Reporting a Vulnerability diff --git a/root/usr/local/bin/flac2opus.sh b/root/usr/local/bin/flac2opus.sh index 2831e6b..5ad9948 100644 --- a/root/usr/local/bin/flac2opus.sh +++ b/root/usr/local/bin/flac2opus.sh @@ -1,3 +1,3 @@ #!/bin/bash -. /usr/local/bin/flac2mp3.sh -a "-c:v libtheora -map 0 -q:v 10 -c:a libopus -b:a 192K" -e .opus +. /usr/local/bin/flac2mp3.sh -a "-vn -c:a libopus -b:a 192k" -e .opus