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
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.7.tar.gz.
File metadata
- Download URL: export_chapters-0.1.7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b127a6b72c797e40825094ca343733f0bc05ccf70ee25c33d1cd1adfc7e9b7ef
|
|
| MD5 |
7d6dac24c1f11d95021182daf2b39e57
|
|
| BLAKE2b-256 |
431f364c73fef70cac3ba3d089b589741c94ef5406095a6263f9d64ea0e86d31
|
Provenance
The following attestation bundles were made for export_chapters-0.1.7.tar.gz:
Publisher:
python-publish.yml on anomaddev/Export-Chapters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
export_chapters-0.1.7.tar.gz -
Subject digest:
b127a6b72c797e40825094ca343733f0bc05ccf70ee25c33d1cd1adfc7e9b7ef - Sigstore transparency entry: 564982524
- Sigstore integration time:
-
Permalink:
anomaddev/Export-Chapters@fc41493bc2e841845e6f9781a12d6c38e0abb197 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/anomaddev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fc41493bc2e841845e6f9781a12d6c38e0abb197 -
Trigger Event:
push
-
Statement type:
File details
Details for the file export_chapters-0.1.7-py3-none-any.whl.
File metadata
- Download URL: export_chapters-0.1.7-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b18217d047098df25865d20e00670d7eab276d39c051201b4c41d240edc855
|
|
| MD5 |
455feaf9270d8c16c42017cd4d75e1eb
|
|
| BLAKE2b-256 |
80b9f4d992ae5ac5668780402fa3abc48be69e50ba4d3b74686dcfe0896835f2
|
Provenance
The following attestation bundles were made for export_chapters-0.1.7-py3-none-any.whl:
Publisher:
python-publish.yml on anomaddev/Export-Chapters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
export_chapters-0.1.7-py3-none-any.whl -
Subject digest:
49b18217d047098df25865d20e00670d7eab276d39c051201b4c41d240edc855 - Sigstore transparency entry: 564982526
- Sigstore integration time:
-
Permalink:
anomaddev/Export-Chapters@fc41493bc2e841845e6f9781a12d6c38e0abb197 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/anomaddev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fc41493bc2e841845e6f9781a12d6c38e0abb197 -
Trigger Event:
push
-
Statement type: