Skip to content

zkm/flac2mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flac2mp3

A simple Python script to recursively convert FLAC files to MP3 format while preserving the original folder structure.

Features

  • Recursively searches for FLAC files in the specified source directory.
  • Converts FLAC files to MP3 using ffmpeg with high-quality settings.
  • Preserves the original directory structure in the target directory.
  • Skips files that have already been converted to avoid duplication.
  • Uses the user's home directory dynamically for compatibility across different systems.

Requirements

  • Python 3.10 or later
  • ffmpeg installed on your system

Installation

  1. Clone the repository:

    git clone https://github.com/zkm/flac2mp3.git
    cd flac2mp3
  2. Ensure ffmpeg is installed. You can install it on Arch Linux with:

    sudo pacman -S ffmpeg

Usage

  1. Edit the script if needed to customize the source and target directories.
  2. Run the script:
    python flac2mp3.py

Contributing

Feel free to open issues or submit pull requests to improve the script.

License

This project is licensed under the MIT LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages