-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support scte-35 parsing #10
Comments
Flavio, |
I see you already have asitis parsing the stream, all you really would have to do is make a cuei.Cue instance and pass it the payload from a SCTE-35 packet like this
Then you can access whatever you need with dot notation like cue.Show() will print the Cue in JSON
type Cue struct {
InfoSection
Command SpliceCommand
Descriptors []SpliceDescriptor `json:",omitempty"`
Packet *PacketData `json:",omitempty"`
} All the SCTE35 Splice Commands (Splice Insert, Time Signal etc) are consolidated into the SpliceCommand struct |
I put some examples up. |
thanks, @futzu ! |
I was looking at how you were doing things with the close captions, and I added something similar. https://github.com/futzu/cuei#use-cuei-with-another-mpegts-stream-parser--demuxer |
suggested by @tretelny.
Need to check with @futzu if we could use his lib.
The text was updated successfully, but these errors were encountered: