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 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 chardet).
  • 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,copy}]
              [-o OUTPUTDIR]
              [-c {artist+album,artist,album}]
              [-ow {ask,never,always}]
              [--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

Copyright: (C) 2024 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.23.tar.gz (69.8 kB view details)

Uploaded Source

Built Distribution

ffcuesplitter-1.0.23-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffcuesplitter-1.0.23.tar.gz
  • Upload date:
  • Size: 69.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for ffcuesplitter-1.0.23.tar.gz
Algorithm Hash digest
SHA256 5f45c780b13d902e028492a62193ead4e02be17752fc4f5e958000c3f5274df8
MD5 55592a44db43901d33c25f7306d6fbb2
BLAKE2b-256 bf13d4c8956b33366453d9755f73631ac5e457450120e79c68fecb39b5be6523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ffcuesplitter-1.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 4defd3b628f8b91f1a0e5deaec3197e45c60c6f3345f7be9c8ee8d289bf93c47
MD5 b7af5ff058c6e521b9abb289579a8775
BLAKE2b-256 4efd53e74a7b076e9c00a66b3665004aba943e58b72b454005ec58d37fc5f9f7

See more details on using hashes here.

Supported by

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