scte35
threefive continued. SCTE-35 for the People.
Install
- python3 via pip
python3 -mpip install scte35
- pypy3
pypy3 -mpip install scte35
- from the git repo
git clone https://github.com/superkabuki/scte35.git
cd scte35
make install
The Cli tool
Inputs
-
the cli can decode SCTE-35 from
-
Most inputs are auto-detected.
-
stdin is auto selected and auto detected.
-
SCTE-35 data is printed to stderr
-
stdout is used when piping video
Base64
- parse SCTE-35 encoded in Base64
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU='
Hex
- parse SCTE-35 encoded in Hex
scte35 0xfc302c00000003289800fff00a05000000017f5f999901010011020f43554549000000007f8001003500002d974195
HLS
- parse SCTE-35 from HLS manifests and segments
scte35 hls https://example.com/master.m3u8
Json
cat json.json | scte35
Xml
- you can make a xml.xml file like this:
- redirect 2 (stderr) to the file
./scte352 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' xml 2> xml.xml
- pass in
scte35 < xml.xml
Xmlbin
scte35 < xmlbin.xml
Outputs
json
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU='
base64
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' base64
bytes
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' bytes
hex
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' hex
int
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' int
xml
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' xml
xml+bin
scte35 '/DAsAAAAAyiYAP/wCgUAAAABf1+ZmQEBABECD0NVRUkAAAAAf4ABADUAAC2XQZU=' xmlbin
Streams
File and Network Protocols
File
scte35 video.ts
Http(s)
scte35 https://example.com/master.m3u8
Multicast
scte35 udp://@235.35.3.5:9999
stdin
cat video.ts | scte35
Udp Unicast
scte35 udp://10.0.0.7:5555
hls
- parse hls manifests and segments for SCTE-35
scte35 hls https://example.com/master.m3u8
Iframes
- Show iframes PTS in an MPEGTS video
scte35 iframes https://example.com/video.ts
packets
- Print raw SCTE-35 packets from multicast mpegts video
scte35 packets udp://@235.35.3.5:3535
proxy
- Parse a https stream and write raw video to stdout
scte35 proxy video.ts
pts
- Print PTS from mpegts video
scte35 pts video.ts
sidecar
- Parse a stream, write pts,write SCTE-35 Cues to sidecar.txt
scte35 sidecar video.ts
sixfix
- Fix SCTE-35 data mangled by ffmpeg
scte35 sixfix video.ts
show
- Probe mpegts video ( kind of like ffprobe )
scte35 show video.ts
version
- Show version
scte35 version
help
- Help
scte35 help
Metadata
Release files for scte35 0.0.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scte35-0.0.17.tar.gz | 43.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scte35-0.0.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 93.4 kB
Release files / scte35-0.0.17.tar.gz
| Download URL | scte35-0.0.17.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e3a5ab5ab8fcb79747b077f5d2be943e0646e0d38011a982e64626ef32ac182
|
|
BLAKE2b-256 checksum How to use checksums |
e65b032faf6f37388cc73b507bd216e5ffdf631b08a8083be3c24e454bec1c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|
Release files / scte35-0.0.17-py3-none-any.whl
| Download URL | scte35-0.0.17-py3-none-any.whl |
|---|---|
| Size | 49.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35127b1e45edddce13508e3b31c9456421ddb2c8f1ce5a385dcb6d48fa683b17
|
|
BLAKE2b-256 checksum How to use checksums |
880b0bd832c13807e2198671281315d980fd609e6fc648f9cdffe596849f7830
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.9
|