Export MP4/MOV chapter markers into YouTube description-friendly text
Project description
export-chapters
Export MP4/MOV chapter markers into YouTube description–friendly text.
Features
- Default format:
timestamp - Title(perfect for YouTube descriptions) --title-firstto switch toTitle - timestamp- Output modes (mutually exclusive):
- default: write to
<input>.yt.txt --copy: copy to clipboard (no file)--stdout: print to stdout (no file)
- default: write to
- Cross-platform:
- Requires
ffprobe(FFmpeg) in PATH - Clipboard on Linux requires
xcliporxsel
- Requires
Install (pipx recommended)
pipx install export-chapters
Or locally:
pipx install .
Usage
export-chapters MyVideo.mp4 # writes MyVideo.yt.txt
export-chapters MyVideo.mp4 --copy # copies to clipboard
export-chapters MyVideo.mp4 --stdout # prints to terminal
export-chapters MyVideo.mp4 --title-first
Prerequisites
- FFmpeg (ffprobe in PATH)
- macOS:
brew install ffmpeg - Windows: install FFmpeg and add
binto PATH - Linux:
sudo apt-get install ffmpeg
- macOS:
- For
--copyon Linux:sudo apt-get install xclip(orxsel)
Sanity check
The formatter should produce:
- 83s ->
1:23 - 251s ->
4:11 - 485s ->
8:05
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
export_chapters-0.1.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file export_chapters-0.1.1.tar.gz.
File metadata
- Download URL: export_chapters-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62c9750a37a0ffce64ca063a32e0d9faf6e26085d237d0a3d3b72a2b498b2b4f
|
|
| MD5 |
7818b637370fdfb12134096178b7978a
|
|
| BLAKE2b-256 |
cc1f2795038d5cd420be65e3203fe27ac4f7a776c8d500336a513b7b8ea267b2
|
File details
Details for the file export_chapters-0.1.1-py3-none-any.whl.
File metadata
- Download URL: export_chapters-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a04c87cb8379235afa8695a9a4514d28c9a17f53df16d60367651950d3a19bbd
|
|
| MD5 |
566d73aaf73e835c672060b7a9dedfc8
|
|
| BLAKE2b-256 |
e37b8172130e5d14c7d3f99dd15f638ab5e4a1d28cc81025b68139b6e45d8fc7
|