Compare commits
2 Commits
66ca4dcb98
...
5d7318ec32
| Author | SHA1 | Date | |
|---|---|---|---|
| 5d7318ec32 | |||
| cf676808c9 |
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# 2023-12-04 Hyperling
|
# 2023-12-04 Hyperling
|
||||||
# Lower resolution of audio and convert to mp3. Also
|
# Lower the resolution of audio and convert to mp3.
|
||||||
# Also see: compress-video.sh
|
# Also see: compress-video.sh
|
||||||
|
|
||||||
## Setup ##
|
## Setup ##
|
||||||
@@ -36,7 +36,8 @@ function usage() {
|
|||||||
Compress audio to mp3. Can handle folders and work recursively.
|
Compress audio to mp3. Can handle folders and work recursively.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
-q QUALITY : Integer for the maximum length of either media dimension.
|
-q QUALITY : Integer for audio bitrate to transcode to.
|
||||||
|
Defaults to 256k. No lower than 192k suggested.
|
||||||
-l LOCATION : The specific media or folder which needs compressed.
|
-l LOCATION : The specific media or folder which needs compressed.
|
||||||
-r : Recursively shrink media based on the location passed.
|
-r : Recursively shrink media based on the location passed.
|
||||||
-f : Force the media to be shrunk even if a file already exists for it.
|
-f : Force the media to be shrunk even if a file already exists for it.
|
||||||
|
|||||||
Reference in New Issue
Block a user