Skip to main content

FFcuesplitter - FFmpeg based audio splitter for audio CD images supplied with .cue sheet 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. Can be used both as a Python module and from 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.
  • Can be used both as a Python module and in command line mode.

Requires

Usage

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) 2023 Gianluca Pernigotto
Author and Developer: Gianluca Pernigotto
Mail: jeanlucperni@gmail.com
License: GPL3 (see LICENSE file in the source directory)

Metadata

Release files for ffcuesplitter 1.0.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffcuesplitter 1.0.22
File Size Uploaded
ffcuesplitter-1.0.22.tar.gz 69.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ffcuesplitter 1.0.22
File Interpreter ABI Platform
ffcuesplitter-1.0.22-py3-none-any.whl Python 3 none any Details

Total release size: 107.7 kB

Release files / ffcuesplitter-1.0.22.tar.gz

Download URL ffcuesplitter-1.0.22.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bc586b805e754fd541a5e65ddc505439f33d4c8281f4cb804aeef66cdc8820cb
BLAKE2b-256 checksum
How to use checksums
f3f79779c7a055bf228cacf88424613fce9d8d2e6e115f14e5afccd4968ce5f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / ffcuesplitter-1.0.22-py3-none-any.whl

Download URL ffcuesplitter-1.0.22-py3-none-any.whl
Size 38.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43144d091ab59a20a491a47de213c6f45ef91ff02ec10f955927b96a1e85b569
BLAKE2b-256 checksum
How to use checksums
200c5a164dd4efb6958e058c387c6e724dacf8a251f443bb24e9bc8b02358300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

1.0.31

2 release files

1.0.30

2 release files

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.23

2 release files

This release

1.0.22 This release

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page