Skip to main content

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

  • Base64

  • Hex,

  • HLS,

  • JSON,

  • Xml,

  • Xml+Bin

  • MPEGTS Streams

  • 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scte35-0.0.17.tar.gz (43.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scte35-0.0.17-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file scte35-0.0.17.tar.gz.

File metadata

  • Download URL: scte35-0.0.17.tar.gz
  • Upload date:
  • Size: 43.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for scte35-0.0.17.tar.gz
Algorithm Hash digest
SHA256 4e3a5ab5ab8fcb79747b077f5d2be943e0646e0d38011a982e64626ef32ac182
MD5 a6d4fe28d66aae210398a2cf277126c9
BLAKE2b-256 e65b032faf6f37388cc73b507bd216e5ffdf631b08a8083be3c24e454bec1c96

See more details on using hashes here.

File details

Details for the file scte35-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: scte35-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for scte35-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 35127b1e45edddce13508e3b31c9456421ddb2c8f1ce5a385dcb6d48fa683b17
MD5 f3dd909813dd6346056abbaa6dc86d12
BLAKE2b-256 880b0bd832c13807e2198671281315d980fd609e6fc648f9cdffe596849f7830

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 files

0.0.15

2 files

0.0.13

2 files

0.0.11

2 files

0.0.9

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page