Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hecdelatorre/audio-to-mp3-conversion-script
https://github.com/hecdelatorre/audio-to-mp3-conversion-script
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hecdelatorre/audio-to-mp3-conversion-script
- Owner: hecdelatorre
- License: gpl-3.0
- Created: 2024-01-20T17:47:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-01T22:18:15.000Z (9 months ago)
- Last Synced: 2024-04-01T23:28:06.514Z (9 months ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Audio to MP3 Conversion Script
This Bash script, released under the GNU General Public License version 3 (GPL-3.0), enables the conversion of various audio file formats to MP3. It utilizes `ffmpeg` for conversion and supports formats such as WAV, FLAC, OGG, OPUS, and M4A.
## Installation
### Dependencies
Ensure that `ffmpeg` is installed on your system. You can install it using the package manager of your Linux distribution.
#### Debian-based Systems (e.g., Debian, Ubuntu)
```bash
sudo apt-get update
sudo apt-get install ffmpeg
```#### Fedora
```bash
sudo dnf install ffmpeg
```#### Arch Linux
```bash
sudo pacman -S ffmpeg
```### Permission and Execution
1. Clone the repository:
```bash
git clone https://gitlab.com/hecdelatorre/audio-to-mp3-conversion-script.git
```2. Change into the script directory:
```bash
cd audio-to-mp3-conversion-script
```3. Give execution permission:
```bash
chmod +x index.sh
```4. Run the script:
```bash
./index.sh
```### Run without Cloning
You can run the script directly without cloning the repository using the following command:
```bash
bash -c "$(curl -fsSL https://gitlab.com/hecdelatorre/audio-to-mp3-conversion-script/-/raw/main/index-min.sh)"
```## Usage
1. The script will prompt you to enter a directory path.
2. It identifies and lists audio files in the specified directory (excluding `.mp3`).
3. You can choose to continue with the conversion or abort.
4. Converted files are saved as MP3, and the original files are deleted.## License
This script is licensed under the [GNU General Public License version 3 (GPL-3.0)](LICENSE).