Source data sectioner for Tilt Networks
Project description
tilt_sectioner
A fast, cross-platform Python module for splitting and reconstructing media files (like .mp4) for Tilt Networks pipelines.
Built in Rust with PyO3, distributed as a single Python wheel per platform.
Features
- Split media files (e.g.,
.mp4) into time-based chunks - Reconstruct files from chunks
- Optional support for text-based segmentation in the future
- No build-time FFmpeg dependency – only runtime CLI calls
- Python bindings for easy use
Installation
pip install tilt_sectioner
(Wheels are available for Linux, Windows, and macOS — Python 3.8 and above)
Quick Example
from tilt_sectioner import split_video, reconstruct_video
# Split into 10-second chunks
split_video("input.mp4", "output_chunks", time_limit_sec=10)
# Reconstruct later
reconstruct_video("output_chunks", "output_merged.mp4")
System Requirements
Python Versions Supported:
- Python 3.8+
Operating Systems Supported:
- Linux
- macOS (Intel & Apple Silicon)
- Windows (x64)
FFmpeg Runtime Requirement:
This package requires FFmpeg to be installed at runtime.
- You MUST have the
ffmpegbinary available in your system PATH. - The Rust backend will call ffmpeg as an external process.
How to Install FFmpeg:
| OS | Command |
|---|---|
| macOS | brew install ffmpeg |
| Ubuntu/Debian | sudo apt-get install ffmpeg |
| Windows | Download from https://ffmpeg.org/download.html or install via Chocolatey: choco install ffmpeg |
How to Test FFmpeg Availability:
ffmpeg -version
Metadata and JSON Outputs
Each split operation generates a JSON metadata file describing the chunk files.
This is used by reconstruct_video() for accurate reassembly.
Development Notes
- Built with Rust using PyO3 and Maturin
- Wheels built via GitHub Actions
- No compile-time linking to FFmpeg libraries – runtime only via subprocess calls.
License
MIT License © Tilt Networks
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 Distributions
Built Distributions
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 tilt_sectioner-0.1.2-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 255.4 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad9679104eb39f81127a008825fc135b71cc2d1d2c787c45d2e2a5685070bf91
|
|
| MD5 |
bb28a76de9a933c19e01f6a9ea249edb
|
|
| BLAKE2b-256 |
09c3f56d31a09205730b29c4e8254d86b3935b1e480fcfcb0b00697cb02c8806
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-win32.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-win32.whl
- Upload date:
- Size: 242.7 kB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f92eaf169253ef7962f4965ed1e8c826050106a8899929bf213da841d1a511ff
|
|
| MD5 |
45b20e7b0e90f0435cdba886ac3c29e6
|
|
| BLAKE2b-256 |
e4bac7676f591d77e5ec4596cff6f3db4d82dc9f5879115cf09dbc55791afe8b
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 551.3 kB
- Tags: CPython 3.8+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6e038f27be1de9163bd70d5443281fcf9eac7028e00a9b1dd5c9f152bfff17f
|
|
| MD5 |
56f003301779b6f7283a1e8c0dd91b74
|
|
| BLAKE2b-256 |
330ff87be09fe84a50037849cdd1f0d9266b00877423717ba3a377d429b9bc26
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_i686.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_i686.whl
- Upload date:
- Size: 578.3 kB
- Tags: CPython 3.8+, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0299920109aad0c48218fdc1a1d8c606026d4268088bf6849c73b265e6d6ae54
|
|
| MD5 |
3d4e8ccf8f8c0e0d819fe79764c575c5
|
|
| BLAKE2b-256 |
e619335854c8266b32b78dd511edfe4c1df9bcbc654cf22f6cf8caccb1e2fed2
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 644.1 kB
- Tags: CPython 3.8+, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca10e898881ef5d25b34b9c2f3f0cd346a1f4bf83e537b7bce4d989b398ad88a
|
|
| MD5 |
d801470a054912f6ec90d6dc38bb0c86
|
|
| BLAKE2b-256 |
f1d7c152528695c99cc52b93e3320d7edd6ae0e39223a11b798dd811f8f70e52
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 552.9 kB
- Tags: CPython 3.8+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fc9f579af4ca115efd105cf7c2ddc062d51baddacd159526cc963b4aee0cc13
|
|
| MD5 |
b1e6c3390c283669499a2f268324e6a9
|
|
| BLAKE2b-256 |
f3b5284697865271acb4004e21c4b4a19c9a438265338cbe42e1a7c75419f8ee
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 381.5 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe4ac33709587c42593bab0467bd4a370b7fd7d5dc16a6908b692f45a4c2be60
|
|
| MD5 |
e98c002d14023268ffb4c40f73f04a3a
|
|
| BLAKE2b-256 |
c628f552bc8a48e04de55e18f60aeac7688ebaed9be49216d9caa6d56a130181
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 423.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8bdc85e24fbadb2b643231492db871ce886d2973e757b522cd62048bc352c5c
|
|
| MD5 |
a0a473ceddb7e24a7695351972a41425
|
|
| BLAKE2b-256 |
89861dca01fd1f409553945ba667f5e8809cf18e785b37725998928b4560707f
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 499.8 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c206b7dfebd20664a92f90c9c5a7afd9c02e19dc735d3d61d3e57b9e13fde6f6
|
|
| MD5 |
81a4ba67eed9106b819acb12957992ba
|
|
| BLAKE2b-256 |
c65fe462be2f9f3645acfe2aa0db85657ad762815b9b0116267d87a8e00ddaee
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 401.6 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b2b234e5f5c05ad7d31b0a99a0108fe0c2fe0b76f993fd7db7411d7349384eb
|
|
| MD5 |
e0f1b1371ebfb445eefb1b18238a39ec
|
|
| BLAKE2b-256 |
2e7c152d2605b54af6bcc430b121758a7537a916d74115c23cdd0baa86f331d4
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 381.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d71238887b1b92d266c0825379c2163075ace4259984c86d897f223df52dd2eb
|
|
| MD5 |
bfdac104eca50ff89937bffc33cc1013
|
|
| BLAKE2b-256 |
e6aa2fcac8f40b9a20e9088bff8453efb070bb60d94006f9a4bcbab64a5284ce
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 374.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee8c57d452b2c4175fa86c966455ce7e13f0358e4e281caef06bf7e0729e69b
|
|
| MD5 |
d2a574719a955702406985690892d18c
|
|
| BLAKE2b-256 |
5ee461c0ae1beb068e00ccb021dab14b0939395918e1c65ae1956cdde7824a87
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 334.8 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37394ea5d0f9c58d4d69521f4d5c88291c8f78c0fef448a1d173a4af362c39c0
|
|
| MD5 |
9b98250b098fcdf9f8ee6ccd8ed31b31
|
|
| BLAKE2b-256 |
697ce90734294a543cd83b3a627f7695df6e836366717755e49a7b90eeb540b9
|
File details
Details for the file tilt_sectioner-0.1.2-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: tilt_sectioner-0.1.2-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 345.1 kB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3712c92c91d3f5235ba903a8a567d837bf1dce6bd34a3f7ac56e4ee72f3eb4cf
|
|
| MD5 |
615f07bedfedced39d4519097cd5deaf
|
|
| BLAKE2b-256 |
f5f64cca08d2f28f17895d3fe65ed9460b2eee9f12ac231298be7d17a0908fe7
|