Skip to main content

FFmpeg based audio splitter for audio CD images supplied with CUE sheet files.

Project description

FFcuesplitter - FFmpeg based audio splitter for audio CD images supplied with .cue sheet files.

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.
  • Convert to Wav, Flac, Ogg, Mp3, + copy.
  • Ability to copy source codec and format without re-encoding.
  • Batch file processing for both filenames and dirnames with switchable recursive mode.
  • Optionally auto-generate audio collection folders (Artist/Album/TrackNumber - Title)
  • Auto-tag from .cue file data.
  • Supports multiple .cue file encodings.
  • 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,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]
              [-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' folder.

For further information and other examples visit the wiki page


Using Python

>>> from ffcuesplitter.cuesplitter import FFCueSplitter

Splittings:

>>> split = FFCueSplitter(filename='filename.cue')
>>> split.open_cuefile()
>>> split.do_operations()

Get data tracks and FFmpeg args:

>>> data = FFCueSplitter('filename.cue', dry=True)
>>> data.open_cuefile()
>>> data.audiotracks  # trackdata
>>> data.cue.meta.data  # cd_info
>>> data.ffmpeg_arguments()

For arguments meaning and more details, type help(FFCueSplitter)

For further information and other examples visit the wiki page


Installation

python3 -m pip install ffcuesplitter

License and Copyright

Copyright © 2022 Gianluca Pernigotto
Author and Developer: Gianluca Pernigotto
Mail: jeanlucperni@gmail.com
License: GPL3 (see LICENSE file in the docs folder)

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.15.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

ffcuesplitter-1.0.15-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffcuesplitter-1.0.15.tar.gz
  • Upload date:
  • Size: 67.5 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.15.tar.gz
Algorithm Hash digest
SHA256 8cdae6fc62b316fcd0d481cd621c53e70969b2852fd6457acf7dd3fef099c229
MD5 56da4fe7657e2ae7afee91bf10fd81fa
BLAKE2b-256 78f82409838b8dbc9f980997279e0a2c1f8489d00769491faee36f3743d2e035

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ffcuesplitter-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 c123a2705bf46ece79dcb403b9bbf6bee8fae6c0d0ad8d4ed07bf92f2e9c6c5b
MD5 109d5e618c8e93372858be914fa6b8dc
BLAKE2b-256 a4f46e0418993d1902c06d5f107e0f71f7e85a5c6b7232e780a08b5e277b5ae5

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