- default Basic threefive cli usage. (start here)
- hls HLS SCTE-35 Decoding and Encoding.
- xml Xml output for SCTE-35.
- inject Inject SCTE-35 packets into mpegts streams.
- packets Output raw SCTE-35 packets from mpegts.
- proxy Parse SCTE-35 from mpegts and copy video stream to stdout.
- pts Show PTS in realtime from live streams.
- sidecar Parse MPEGTS and generate a SCTE-35 sidecar file.
- sixfix ffmpeg mangles SCTE-35, sixfix is how to fix it.
- show Display stream information for mpegts.
- version Print threefive version.
- help Show threefive help.
-
The default action of the threefive cli is to take an input and make it a SCTE-35 output.
-
SCTE-35 inputs are auto-detected.
-
SCTE-35 output default to json, other types must be specified.
-
These inputs are supported.
mpegts
,base64
,hex
,json
,xml
,xmlbin
-
These outputs are supported.
base64
,bytes
,hex
,json
,xml
,xmlbin
-
Input | Output | Command |
---|---|---|
mpegts |
base64 |
threefive https://example.com/video.ts base64 |
xml |
bytes |
threefive bytes < xml.xml |
base64 |
hex |
threefive '/DAWAAAAAAAAAP/wBQb+AKmKxwAACzuu2Q==' hex |
xmlbin |
int |
threefive int < xml.xml |
mpegts |
json |
threefive video.ts |
json |
xml |
threefive < json.json xml |
hex |
xmlbin |
threefive 0xfc301600000000000000fff00506fe00a98ac700000b3baed9 xmlbin |
|
-
SCTE-35 Decoding and Encoding for HLS
-
HLS SCTE-35 Decoding:
threefive hls https://example.com/master.m3u8
- read the help for advanced HLS SCTE-35 decoding.
threefive hls help
- HLS SCTE-35 Encoding:
threefive hls -i https://example.com/master.m3u8 -s sidecar.txt -o output_dir
- read the help for advanced HLS SCTE-35 encoding.
threefive hls encode help
-
Xml output:
-
Base64
- xml splice info section format
threefive xml '/DAsAAAAAAAAAP/wBQb+7YaD1QAWAhRDVUVJAADc8X+/DAVPVkxZSSIAAJ6Gk2Q='
- xml+bin format
threefive xmlbin '/DAsAAAAAAAAAP/wBQb+7YaD1QAWAhRDVUVJAADc8X+/DAVPVkxZSSIAAJ6Gk2Q='
- MPEGTS
- xml splice info section format
threefive xml https://example.com/video.ts
- xml+bin format
threefive xmlbin https://example.com/video.ts
- Inject an mpegts stream with a SCTE-35 sidecar file at pid:
threefive inject video.ts with sidecar.txt at 333
- Print raw SCTE-35 packets from multicast mpegts video:
threefive packets https://example.com/video.ts
- Parse a https stream and write raw video to stdout:
threefive proxy https://example.com/video.ts
- Print PTS from mpegts video:
threefive pts video.ts
- Parse a stream, write pts,write SCTE-35 Cues to sidecar.txt:
threefive sidecar https://example.com/video.ts
- Fix SCTE-35 data mangled by ffmpeg:
threefive sixfix video.ts
- Probe mpegts video:
threefive show video.ts
threefive version
threefive help