Welcome to SCTE-35-HLS-ABR_umzz Discussions! #1
Replies: 4 comments 1 reply
-
HI Futzu..!! Thanks and hope this is taken care in this umzz project |
Beta Was this translation helpful? Give feedback.
-
Yeah, threefive does the SCTE-35 parsing and it parses 0x86 and 0x06 for SCTE-35. If you can figure out how to multi-bitrate without ffmpeg stripping the data streams out. If you figure it out, let me know. |
Beta Was this translation helpful? Give feedback.
-
You can also parse the SCTE-35 out and write it to a sidecar file and pipe the video to ffmpeg like this
import sys
from threefive import Stream
def mk_sidecar(cue):
with open("sidecar.txt","a") as sidecar:
data = f'{cue.packet_data.pts},{cue.encode()}\n'
sidecar.write(data)
if __name__=='__main__':
stream = Stream(sys.argv[1])
stream.proxy(func=mk_sidecar)
python3 proxy.py udp://example.com/video.ts | ffmpeg -i - {ffmpeg stuff} -o master.m3u8
umzz -i master.m3u8 -s sidecar.txt |
Beta Was this translation helpful? Give feedback.
-
If I am not use sidecar file but i have scte 35 in my segments. so can i add a tag in master m3u8 |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions