tool for inserting chapter marks in mp3 files
Project description
Command line utility for adding chapter marks to mp3 files.
Many podcast and audiobook apps on Android and iOS support chapter markers in mp3 files
This uses the eyeD3 lib to read and write the chapters details
requirements
Python 3
installation
pip3 install mp3chapters
usage
The chapter markers format should be in either:
- Timecode: hours:minutes:seconds.milliseconds + space + chapter title - Milliseconds: milliseconds (whole) + space + chapter title - Audacity: seconds (floating point) + tab + seconds (no used) + tab + chapter title
Assuming you have a file named episode_42.mp3, mp3chaps looks for a chapter marks file called episode_42.chapters.txt in the same directory:
00:00:00.000 Introduction 00:02:00.000 Chapter Title 00:42:24.123 Chapter Title 00000000 Introduction 00060000 Chapter Title 00276123 Chapter Title 0.000000 0.000000 Introduction 85.180378 85.180378 Chapter Title 543.822379 543.822379 Chapter Title
Add chapter marks
Add (import) chapter marks from text file (if chapters already exist, remove first with the option -r)
mp3chaps -i episode_42.mp3
Remove chapters
mp3chaps -r episode_42.mp3
List chapters
mp3chaps -l episode_42.mp3
List chapters with frame details
mp3chaps -p episode_42.mp3
Export chapters to <filename>.chaps.txt::
with timecode markers
mp3chaps -e=tc episode_42.mp3
with milliseconds markers
mp3chaps -e=ms episode_42.mp3
Add test chapters marks
mp3chaps -t episode_42.mp3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mp3chapters-0.5.0.tar.gz
.
File metadata
- Download URL: mp3chapters-0.5.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5539b4ba3584a4031217ffe8efa0dbfa624ede9e733892cbf246674c8257d3df |
|
MD5 | 97682cb0573cf4a2bbfcc8d4c5283763 |
|
BLAKE2b-256 | 5f9824b7290cbd4f35b8eeb6fae6b1815f5fcc8312203ebb8abbf38b6001f817 |
File details
Details for the file mp3chapters-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: mp3chapters-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc8d5509e31907921a1a36b60c69a6e4f3a43b7b48f41bbd5f16ddb24b32152 |
|
MD5 | c2218c79f65f157b1e61d1568a9c6ce4 |
|
BLAKE2b-256 | 5f358e12deb3a49c5d0736748730caea86f6a2afc33eb1990f0b6f96c85304fc |