Low-level video streaming protocols in Go: SCTE 35 (Day 7) - Tidying up cruft
ฝัง
- เผยแพร่เมื่อ 10 พ.ค. 2024
- SCTE 35 is a binary message format used for signalling ad breaks to video players.
We're working on a Go package to encode/decode SCTE 35 messages
github.com/untangledco/streaming
Now that we have a working decoder we're going to tidy up leftover cruft from Comcast and our initial draft.
Our project
---
Comcast published an open-source package (pkg.go.dev/github.com/Comcast...) already.
It's ok, but we think there are these problems:
- too much code (over 4,000 lines of code!)
- too many dependencies; could be done with just Go's standard library
- needs smaller tests
- too much copy & pasted documentation
So far, our package is thousands of lines smaller and has no dependencies. Come learn with us!
#golang #livecoding #softwareengineering
---
The Go Gopher mascot was created by Renee French and is licensed under the Creative Commons 4.0 Attribution License.
This guy's a legend. Weird looking code editor, no highlighting no nothing. 😂
You’re lucky I used a monospace font for the stream 😅 Anything you’d like to see next? I’m thinking MPEG transport stream - it’s like MP4 but used in streaming.
@@untangledco MPEG transport stream would be interesting. I am new to this channel but like the content though I don't understand it fully yet(as just started learning Go) but a good motivation.
@@untangledco 🙄 Maybe custom DRM implementation
@@untangledco MPEG transport stream sounds good. Will be waiting for it.
hey, Sam isn't weird! :p
So many good developers and I'm out here trying to center divs for work 😂
Keep up the good work man.
that's a crazy editor my dude. subbed. excellent stream.
Keep going! More people need to see your work
Thanks that's really kind. Anything you'd like to see next? I asked around a bit and got a few votes for HLS - what do you think?
awesome stream!
Thanks! I never did this before; first stream was just a week ago...! Anything else you'd like to see next?
Hey, where can I follow your streams from the beginning, it seems on yt, it starts from Day5
Hi! I was originally streaming just to Twitch: twitch.tv/unangledco
But I'm uploading the previous videos to TH-cam now, too! Anything you would be interested in after SCTE 35?
Any plans of uploading day1 - day4 streams on TH-cam?
Good idea - I've started uploading them now. I didn't expect these videos to be watched by anybody! Previous videos were streamed to twitch at twitch.tv/untangledco
Just wondering if you ever tinkered with 9front much?
Yes! I have a 9front VM running. Actually I need to upgrade it to the latest release...
I'm a software engineer, and I understand pretty much nothing. That's wild man!
Why are you not using colors for in your editor? 😲
Sam is a multi-file text editor that uses structural regular expressions. Rob Pike and Ken Thompson worked together at Bell Labs in the early 1980s to develop the Blit windowing terminal for Unix, which was eventually ported to other systems. Sam adopts the typical modular Unix appearance. It is fundamentally simple; its power stems from the modularity of a modest command language and its growth via shell integration. Sam is a multi-file text editor based on structural regular expressions. Rob Pike developed it in the early 1980s at Bell Labs with the help of Ken Thompson and other Unix engineers for the Unix-based Blit windowing terminal.
Colours, ew ;) Haha
For me I just find colours distracting. I used syntax highlighting for years with vim, but when I switched to plain vi (and later sam/acme) I never really missed it.
What ide is that?
Acme, from the Plan 9 operating system: p9f.org/sys/doc/acme/acme.html
Here’s a great walkthrough: th-cam.com/video/dP1xVpMPn8M/w-d-xo.html
Thanks for watching! Anything else you’d like to see?
"IDE" lmaooooooooooo
@@hrqmonteiro
It looks cool. Sorry for my English; I speak pretty poorly. If you want, you may consider some improvements to create a more entertaining video. Can you add some background music, like relaxing music or whatever you prefer? It's really interesting to see how you work, and I learn stuff from this. Thanks!!! Greetings from Spain :)
Hola desde Australia! Sure I will think about it. I didn't expect these videos to be so popular so I just set up streaming super quickly! Thanks for watching :)
wtf is that code editor lol, looks so ancient, hey do you mind giving me the editor's name? I want to play around with it. and yeah that's what I care since I know nothing what you are doing tho...
This is Acme from the Plan 9 operating system. Background: p9f.org/sys/doc/acme/acme.html
and a good walkthrough: th-cam.com/video/dP1xVpMPn8M/w-d-xo.html
@@untangledco thanks bro, appreciated ;)
SCTE35 is easy untill you need use it in playour or our provicer need custom implementation like sky uk with time signals instead slice inject..
CEA608 is much more harder
Yeah I find the difference between the time signal command and splice insert is confusing.
CEA608 is for closed captions, right? Sounds tricky especially compared to WebVTT!
@@untangledco In reality you need to implement only SpliceInsert or TimeSignal and SliceNull.
CEA608 is CC. It is really hard. Real trick is to convert from SRT to CC.