Release 1.3

- Added advanced -a and -e options
- Script can now convert to any ffmpeg supported format
- Added example script for Opus format
This commit is contained in:
TheCaptain989
2021-12-27 15:38:15 -06:00
parent 931a617946
commit 12feeae2b6
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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) -b 320k # Output 320 kbit/s MP3 (non VBR; same as default behavior)
-v 0 # Output variable bitrate MP3, VBR 220-260 kbit/s -v 0 # Output variable bitrate MP3, VBR 220-260 kbit/s
-d -b 160k # Enable debugging, and output a 160 kbit/s MP3 -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 "-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 -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 ### 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-debug.sh # Enable debugging
flac2mp3-vbr.sh # Use variable bit rate MP3, quality 0 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 ### Example Wrapper Script
+2 -2
View File
@@ -6,8 +6,8 @@ Only the latest major and minor version are supported.
| Version | Supported | | Version | Supported |
| ------- | ------------------ | | ------- | ------------------ |
| 1.2.x | :heavy_check_mark: | | 1.3.x | :heavy_check_mark: |
| < 1.2 | :x: | | < 1.3 | :x: |
## Reporting a Vulnerability ## Reporting a Vulnerability
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash #!/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