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.

ความคิดเห็น • 35

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 28 วันที่ผ่านมา +25

    This guy's a legend. Weird looking code editor, no highlighting no nothing. 😂

    • @untangledco
      @untangledco  28 วันที่ผ่านมา +4

      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.

    • @rocketsketch
      @rocketsketch 27 วันที่ผ่านมา

      @@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.

    • @sachinsenal0x64
      @sachinsenal0x64 27 วันที่ผ่านมา +2

      ​@@untangledco 🙄 Maybe custom DRM implementation

    • @rahulmutreja
      @rahulmutreja 27 วันที่ผ่านมา +1

      @@untangledco MPEG transport stream sounds good. Will be waiting for it.

    • @dulcebelluminexpertis4147
      @dulcebelluminexpertis4147 26 วันที่ผ่านมา

      hey, Sam isn't weird! :p

  • @eudesduarte4048
    @eudesduarte4048 23 วันที่ผ่านมา +7

    So many good developers and I'm out here trying to center divs for work 😂
    Keep up the good work man.

  • @user-eg6nq7qt8c
    @user-eg6nq7qt8c 27 วันที่ผ่านมา +1

    that's a crazy editor my dude. subbed. excellent stream.

  • @VroomVroom585
    @VroomVroom585 25 วันที่ผ่านมา +1

    Keep going! More people need to see your work

    • @untangledco
      @untangledco  25 วันที่ผ่านมา

      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?

  • @offlinemark
    @offlinemark 25 วันที่ผ่านมา

    awesome stream!

    • @untangledco
      @untangledco  25 วันที่ผ่านมา

      Thanks! I never did this before; first stream was just a week ago...! Anything else you'd like to see next?

  • @megadrocks
    @megadrocks 27 วันที่ผ่านมา +1

    Hey, where can I follow your streams from the beginning, it seems on yt, it starts from Day5

    • @untangledco
      @untangledco  27 วันที่ผ่านมา

      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?

  • @rahulmutreja
    @rahulmutreja 27 วันที่ผ่านมา +2

    Any plans of uploading day1 - day4 streams on TH-cam?

    • @untangledco
      @untangledco  27 วันที่ผ่านมา +1

      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

  • @dulcebelluminexpertis4147
    @dulcebelluminexpertis4147 24 วันที่ผ่านมา

    Just wondering if you ever tinkered with 9front much?

    • @untangledco
      @untangledco  23 วันที่ผ่านมา +1

      Yes! I have a 9front VM running. Actually I need to upgrade it to the latest release...

  • @aghileslounis
    @aghileslounis 26 วันที่ผ่านมา

    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? 😲

    • @pss_crs
      @pss_crs 25 วันที่ผ่านมา

      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.

    • @untangledco
      @untangledco  25 วันที่ผ่านมา

      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.

  • @eleres-max6225
    @eleres-max6225 28 วันที่ผ่านมา +3

    What ide is that?

    • @untangledco
      @untangledco  28 วันที่ผ่านมา +4

      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?

    • @hrqmonteiro
      @hrqmonteiro 24 วันที่ผ่านมา +1

      "IDE" lmaooooooooooo

    • @publicalias8172
      @publicalias8172 24 วันที่ผ่านมา

      @@hrqmonteiro

  • @user-es7up9ic7n
    @user-es7up9ic7n 27 วันที่ผ่านมา

    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 :)

    • @untangledco
      @untangledco  27 วันที่ผ่านมา +1

      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 :)

  • @brangtoggez6363
    @brangtoggez6363 26 วันที่ผ่านมา

    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...

    • @untangledco
      @untangledco  25 วันที่ผ่านมา

      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

    • @brangtoggez6363
      @brangtoggez6363 25 วันที่ผ่านมา

      @@untangledco thanks bro, appreciated ;)

  • @lukezaa10
    @lukezaa10 26 วันที่ผ่านมา

    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

    • @untangledco
      @untangledco  25 วันที่ผ่านมา

      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!

    • @lukezaa10
      @lukezaa10 25 วันที่ผ่านมา

      @@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.