Replies: 1 comment 2 replies
-
You can use the threefive.SuperKabuki class or the cli to inject SCTE-35 from a sidecar file. https://github.com/superkabuki/threefive/blob/main/inject.md Using the library you can do it like this import sys
from threefive import SuperKabuki
sk=SuperKabuki()
# set input
sk.infile = input.ts
# or
sk.infile = 'udp://1.2.3.4:567' # <-- read udp
# or
sk.infile =sys.stdin.buffer # <-- read from stdin
# set output file
sk.outfile='output,ts'
# or
sk.outfile = 'sys.stdout.buffer' # <-- write to stdout and pipe it.
# set sidecar file
sk.sidecar_file= "sidecar.txt" # default is sidecar.txt
# set scte35 pid
sk.scte35_pid = 134 # default is 134
# encode
sk.encode() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Vmix to send out a stream via UDP to another server. Would I need to point the udp stream to local host and then relay it to the server to be able to inject a scte splice in there? Or can I just point threefive to the outgoing stream and it will inject a scte into it?
Beta Was this translation helpful? Give feedback.
All reactions