Skip to content

Adding time_signal support into scte35 delivery#313

Open
tru64master wants to merge 6 commits into
Dash-Industry-Forum:mainfrom
tru64master:main
Open

Adding time_signal support into scte35 delivery#313
tru64master wants to merge 6 commits into
Dash-Industry-Forum:mainfrom
tru64master:main

Conversation

@tru64master

Copy link
Copy Markdown

The existing scte35 code allowed for splice_inserts on the basis of 1, 2 or 3 per minute. I added the ability to send time_signal commands instead each sending a start and end splice message. This is performed on the same basis - 1,2 or 3 per minute - but uses additional options to the scte35_1, scte35_2 or scte35_3 options - scte35_11, scte35_12, scte35_13 delivers Provider messages, then scte35_21/22/23 delivers Distributor messages. There will be two EMSG entries in the mp4 stream, one each for the start and stop, the PTS being calculated as start + duration. The MPD is left the same as with the existing code.

consists of replicating the existing splice_info
option - scte35_11/12/13 instead of 1/2/3.

We add a loop to send two EMSG packets one with a
start the other a stop.
Added support for both PPO and DPO
(provider advertisement and Distributor Advertisement)
Added them to .gitignore to avoid future commits of these files.
These are not exhaustive, but they do cover some additional cases that were not previously tested.
…teEmsgAhead function signature.

This was added to aid debugging. No longer required.
@tru64master tru64master marked this pull request as ready for review July 2, 2026 09:52
@tobbee

tobbee commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@tru64master Thanks for your contribution. SCTE-35 support is very basic, so this is probably a good improvement. Will try to look at it when I have some more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants