Skip to main content

FFmpeg-based audio splitter for CDDA images associated with .cue files .

Project description

FFcuesplitter - FFmpeg-based audio splitter for CDDA images associated with .cue files .

Image Python application

FFcuesplitter is a multi-platform CUE sheet splitter entirely based on FFmpeg. Splits big audio tracks and automatically embeds tags using the information contained in the associated "CUE" sheet. It supports multiple CUE sheet encodings (via charset-normalizer) and many input formats (due to FFmpeg), including APE format, without need installing extra audio libs and packages. It has the ability to accept both files and directories as input while also working in recursive mode. It can be used either as a Python module or from the command line.

Features

  • Supports many input formats, due to FFmpeg.
  • Convert to Wav, Flac, Ogg, Opus, and Mp3 formats.
  • Ability to copy source codec and format without re-encoding.
  • Batch mode processing is also available.
  • Accepts both files and directories.
  • Ability to perform recursive searches.
  • Ability to generate audio collection directories (Artist/Album/TrackNumber - Title)
  • Auto-tag from CUE file data.
  • Features automatic character set detection for CUE files (via python3-charset-normalizer).
  • Ability to remove original file after conversion.
  • Works on Linux, MacOs, FreeBSD, Windows.
  • It can be used either as a Python module or from the command line.

Requires

Using Command Line

ffcuesplitter -i FILENAMES DIRNAMES [FILENAMES DIRNAMES ...]
              [-r]
              [-f {wav,flac,mp3,ogg,opus}]
              [-o OUTPUTDIR]
              [-del]
              [-c {author+album,author,album}]
              [-ow {ask,never,always}]
              [-ce CHARACTERS_ENCODING]
              [--ffmpeg-cmd URL]
              [--ffmpeg-loglevel {error,warning,info,verbose,debug}]
              [--ffmpeg-add-params='parameters']
              [-p {tqdm,standard}]
              [--ffprobe-cmd URL]
              [--dry]
              [--prg-loglevel {error,warning,info,debug}]
              [-h]
              [--version]

Examples

ffcuesplitter -i 'inputfile_1.cue' 'inputfile_2.cue' 'inputfile_3.cue'

Batch file processing to split and convert to default audio flac format.

ffcuesplitter -i '/User/music/collection/inputfile.cue' -f ogg -o 'my_awesome_tracklist'

To splits the individual audio tracks into ogg format and saves them in the my_awesome_tracklist directory.

For further information and other examples visit the wiki page


Using Python

>>> from ffcuesplitter.cuesplitter import FFCueSplitter
>>> getdata = FFCueSplitter(**kwargs)
>>> tracks = getdata.audiotracks  # get all tracks data
>>> getdata.commandargs(tracks)  # get FFmpeg command/arguments recipes.

Getting additionals data

>>> getdata.probedata  # ffprobe data of the sources audio files.
>>> getdata.cue.meta.data  # get CD info.

For further information and other examples visit the wiki page


Installation

python3 -m pip install ffcuesplitter

License and Copyright

Copyleft: (C) 2025 Gianluca Pernigotto Author and Developer: Gianluca Pernigotto Mail: jeanlucperni@gmail.com License: GPL3 (see LICENSE file in the source directory)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffcuesplitter-1.0.31.tar.gz (437.5 kB view details)

Uploaded Source

Built Distribution

ffcuesplitter-1.0.31-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file ffcuesplitter-1.0.31.tar.gz.

File metadata

  • Download URL: ffcuesplitter-1.0.31.tar.gz
  • Upload date:
  • Size: 437.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ffcuesplitter-1.0.31.tar.gz
Algorithm Hash digest
SHA256 10520def217464f1e3749b5d3b571da717fe6d907b50071eb7f44ddf6676eb72
MD5 cfe8304f4ee78a1898ecfe4cd0a294d8
BLAKE2b-256 c43b0e37fb6b026040d6fe4f6003d86545376b50a95931abec29d6256f298b39

See more details on using hashes here.

File details

Details for the file ffcuesplitter-1.0.31-py3-none-any.whl.

File metadata

  • Download URL: ffcuesplitter-1.0.31-py3-none-any.whl
  • Upload date:
  • Size: 41.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ffcuesplitter-1.0.31-py3-none-any.whl
Algorithm Hash digest
SHA256 9b0075e5deebad1739d6f29dd1721a3dc029822d58f99cf5fb70e0715e1d3e58
MD5 92131589b9f2f4834359159c1a0c50e1
BLAKE2b-256 4a50f8372957fcda6a8da6e24c72a70de7c6c09a38770d89316c786199217fb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page