mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
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:
parent
931a617946
commit
12feeae2b6
@ -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"
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user