Skip to content

Programmatically generates a series of highlight clips from a given stream VOD link.

Notifications You must be signed in to change notification settings

brahmnoor/HighlightReel

 
 

Repository files navigation

Highlight Reel

Programmatically generates a series of highlight clips from a given stream VOD link. HighlightReel

Why don't you demo me?

What it does

Programmatically generates a series of highlight clips from a given stream VOD link. We realized that chat frequency at any time step could give a good estimate about the quality of the clip, which boiled our problem down into detecting peaks in time series data.

How we built it

Algorithm: We implemented a peak signal detection algorithm based on how many standard deviations the chat frequency at a time T is away from the running mean to figure out spikes in chat frequencies.

Back End: Set up a server on Google Cloud that retrieves timestamp data from Twitch.tv and also implemented a cache feature that stores computed timestamps for videos.

Front End: Implemented UI inspired by material-io and used the Twitch.tv API (Javascript) to auto seek in the video.

Challenges we ran into

Google Cloud is super hard to work with. Some versions support Python 3.7 natively (which we needed to download the Twitch chat log), but most do not. We were also bottlenecked by download speed as streams have huge chat logs.

Accomplishments that we're proud of

We got a lot of moving parts and pieces working! We also heard a goat sing off-key for the past 10 hours while doing it.

What we learned

Come to a hackathon with friends!

What's next for Highlight Reel

We could modify our algorithm to figure out which clips are highlights more accurately.

About

Programmatically generates a series of highlight clips from a given stream VOD link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.0%
  • HTML 25.7%
  • JavaScript 2.3%