SuperKabuki
SCTE-35 Inserter
SCTE-35 Ad Insertion
SCTE-35 Packet Injection for MPEGTS.
Latest Version is v.0.0.63 Released Wed Jun 5 08:50:29 PM EDT 2024
Install
python3 -mpip install superkabuki
Cli Options
a@debian:~/SuperKabuki$ superkabuki -h
usage: superkabuki [-h] [-i INPUT] [-o OUTPUT] [-s SIDECAR] [-p SCTE35_PID] [-t] [-v]
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input source, like "/home/a/vid.ts" or "udp://@235.35.3.5:3535" or
"https://futzu.com/xaa.ts" (default sys.stdin.buffer)
-o OUTPUT, --output OUTPUT
Output file (default sys.stdout.buffer)
-s SIDECAR, --sidecar SIDECAR
Sidecar file for SCTE35 (default sidecar.txt)
-p SCTE35_PID, --scte35_pid SCTE35_PID
Pid for SCTE-35 packets, can be hex or integer. (default 0x86)
-t, --time_signals Flag to insert Time Signal cues at iframes.
-v, --version Show version
- Use Superkabuki to insert time signal cues at every iframe.
superkabuki -i your_video.ts -o output.ts -t -p 0x197
- verify with threefive ( installs with superkabuki )
threefive output.ts
Sidecar Files
- Load scte35 cues from a Sidecar file.
a@debian:~/x9k3$ cat sidecar.txt
38103.868589, /DAxAAAAAAAAAP/wFAUAAABdf+/+zHRtOn4Ae6DOAAAAAAAMAQpDVUVJsZ8xMjEqLYemJQ==
38199.918911, /DAsAAAAAAAAAP/wDwUAAABef0/+zPACTQAAAAAADAEKQ1VFSbGfMTIxIxGolm0=
-
line format for sidecar file is insert_pts, cue ,
- like
38103.868589, /DAxAAAAAAAAAP/wFAUAAABdf+/+zHRtOn4Ae6DOAAAAAAAMAQpDVUVJsZ8xMjEqLYemJQ==
- like
-
pts is the insert time for the cue, cue can be base64,hex, int, or bytes.
-
The insert_pts has to be valid for the video, meaning if your insert_pts is 38103.868589, the video PTS has to be less than 38103.868589 for the cue to be inserted.
-
SuperKabuki with a sidecar file sidecar.txt, and SCTE-35 pid 0x86
superkabuki -i input_file -s sidecar.txt -p 0x86
Encoding SCTE-35 Cues
Metadata
Release files for superkabuki 0.0.63
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superkabuki-0.0.63.tar.gz | 7.0 kB | Without provenance | Details for superkabuki-0.0.63.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superkabuki-0.0.63-py3-none-any.whl | Python 3 | none | any | Details for superkabuki-0.0.63-py3-none-any.whl |
Total release size: 14.5 kB
Release files / superkabuki-0.0.63.tar.gz
| Download URL | superkabuki-0.0.63.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b7e3c36ebe7f1d5a8af072e402327b28d23fc8441e26e5c46471b43481f33d0
|
|
BLAKE2b-256 checksum How to use checksums |
7020a094809771b2139e5ec87bb15b26089a121933e0134e509bd4217e062bf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Release files / superkabuki-0.0.63-py3-none-any.whl
| Download URL | superkabuki-0.0.63-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6875d0541777d3ff113a70872c198f2f972cda2d36a511c28e71d5f97d58331
|
|
BLAKE2b-256 checksum How to use checksums |
161cd6b2e1c7a8f4d93e0155d4caef00d0d44d299e40ffb64517cf220a9554f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Security for superkabuki 0.0.63
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.