README.md

# Scte35

Library to parse SCTE-35 data.

My code follows [SCTE-35 specs](https://scte-cms-resource-storage.s3.amazonaws.com/ANSI_SCTE-35-2019a-1582645390859.pdf), section 10.3.3 segmentation_descriptor(), Table 19.

Also see [Understanding SCTE-35](https://codesequoia.wordpress.com/2014/02/24/understanding-scte-35) and [binary pattern matching in Elixir](https://zohaib.me/binary-pattern-matching-in-elixir).

[Extracting `segmentation_upid` and `segment_num` from NBC's SCTE-35 strings](https://tubitv.atlassian.net/wiki/spaces/EC/pages/2486697985/Linear+TV+-+NBC+News+Now).

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `scte35` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:scte35, "~> 0.1.0"}
  ]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/scte35](https://hexdocs.pm/scte35).