showcues displays HLS CUE-IN and CUE-OUT tags with wallclock time
Project description
showcues
Display HLS CUE-OUT and CUE-IN tags with wall clock times.
Latest Version is 1.0.11
Install
- Use pip to install
python3 -mpip install showcues
# and / or
pypy3 -mpip install showcues
Upgrade
- Use pip to upgrade
python3 -mpip install --upgrade showcues
# and / or
pypy3 -mpip install --upgrade showcues
Run
- showcues takes a master m3u8 OR variant m3u8 (new with v.1.0.5) as input.
- showcues displays where the SCTE-35 cues are based on the SCTE-35 data.
- showcues follows the rules we will be applying to SCTE-35 in HLS.
- Cues that are completely wrong are dropped.
- Missing CUE-INs from break auto-returns are automatically added.
showcues https://nmxtunein.akamaized.net/hls/live/2020471/Live_1/index.m3u8
# OR
showcues https://nmxtunein.akamaized.net/hls/live/2020471/Live_1/index_1.m3u8
- A
CUE-OUT
is shown with:- Wall Clock Time
- PTS
- Duration
- The Segment URI
2023-08-23T08:58:20.92Z OUT
PTS: 38113.435878
Duration: 90.023267
Media: seg9.ts
- A
CUE-IN
is shown with- Wall Clock Time
- PTS
- The Diff of when the CUE-IN should be and when it actually occurs.
- The Segment URI
2023-08-23T08:58:21.02Z IN
PTS: 38203.175533
Diff: -0.033
Media: seg43.ts
- An
AUTO CUE-IN
such as with a Break Auto Return, includes the wordAUTO
2023-06-19T03:03:47 AUTO #EXT-X-CUE-IN Diff: 5.539
Media: index_375_00039.ts
- A
SCTE-35
indicates SCTE-35 data in the segments. ASCTE-35
is shown with:- Wall Clock Time
- PTS
- The Base64 encoded SCTE-35 Cue
2023-08-23T08:58:20.91Z SCTE-35
PTS: 38113.135578
Cue:/DAxAAAAAAAAAP/wFAUAAABdf+/+zHRtOn4Ae6DOAAAAAAAMAQpDVUVJsZ8xMjEqLYemJQ==
- Live clock at the bottom of the page.
- Wall Clock Time
- PTS
2023-08-23T08:58:21.07Z PTS:38247.104111
- A Sidecar file,
sidecar.txt
is generated containing a list of ( pts,cue ) pairs.
a@debian:~/tunein/showcues$ tail -f sidecar.txt
58363.607489,/DBFAAH/7S+YAP/wFAUAAAABf+//ORY3wv4AzgQwmZkBAQAgAh5DVUVJAAAAAH/AAADN/mABCDEwMTAwMDAwNAAAAADgrVWi
59305.014622,/DBFAAH/7S+YAP/wFAUAAAABf+//PiMLNP4ApMbEmZkBAQAgAh5DVUVJAAAAAH/AAACky4ABCDEwMTAwMDAwNAAAAAClR6us
59595.771756,/DBFAAH/7S+YAP/wFAUAAAABf+//P7JWgv4Azey6mZkBAQAgAh5DVUVJAAAAAH/AAADN/mABCDEwMTAwMDAwNAAAAAC+xYYV
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 Distribution
showcues-1.0.13.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for showcues-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660bde99e90b13da27e9a19df1859032d8b62f5b5bd3c8942c400eace7ea7025 |
|
MD5 | a666b5ef99c24d2ac81a0eeb586cddc4 |
|
BLAKE2b-256 | 52403c5bdb531618a415a0136575f6cf80c7a2543021846e8f2fce475524035c |