Live data from Hacker News

Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

github.com

11–20 of 56 posts

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#11

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

If folks would like to serve their own live streaming video, I worked on this Docker image for my church which provides a few HLS streams from an incoming RTMP stream:

https://github.com/awakening-church/awakening-nginx-rtmp/tre...

You can hack on this foundation to create your own solution.

Also, you can use Terraform to easily run this on Azure:

https://github.com/awakening-church/live-infrastructure

Or DigitalOcean:

https://github.com/awakening-church/live-infrastructure/tree...

It's fairly cheap, costs about 25 cents an hour on DigitalOcean. Compare to hundreds of dollars for some other live streaming services.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#12

Earlier quoted context omitted.

I just did a side project at work dealing with live streaming, it's actually fairly simple if you understand ffmpeg. You can stream DASH like this: ffmpeg -i [...] -codec:v libx264 -profile:v baseline -pix_fmt yuv420p -codec:a aac -tune zerolatency -f dash -window_size 5 /tmp/live/live.mpd Check out the ffmpeg-formats man page for a list of options you can use with -f dash. Then serve /tmp via nginx and point the ref…

Does Safari support DASH yet? Or, does Chrome support HLS?

Dash.js polyfills it in for unsupported browsers and it works fine, I suggest just using that and not worrying about it.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#13

I would say if you really wanted to make this easier for streamers to use you could use helm to package up a kubernetes configuration (a bit of work) and then put it into something like google cloud launcher so you could just point and click to set this up.

Not quite point-and-click, but at my church, we just type "terraform apply" every week to set up a live streaming system using:

https://github.com/awakening-church/live-infrastructure

Might be useful for others!

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#15
post #11

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

If folks would like to serve their own live streaming video, I worked on this Docker image for my church which provides a few HLS streams from an incoming RTMP stream: https://github.com/awakening-church/awakening-nginx-rtmp/tre... You can hack on this foundation to create your own solution. Also, you can use Terraform to easily run this on Azure: https://github.com/awakening-church/live-infrastructure Or DigitalOcea…

Wow, this is incredibly useful. I'd love to include an option for a self-hosted stream. I looked into setting up a streaming service as well, but decided to just release it with an iframe for the time being.

Thanks for sharing.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#16

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

I just did a side project at work dealing with live streaming, it's actually fairly simple if you understand ffmpeg. You can stream DASH like this: ffmpeg -i [...] -codec:v libx264 -profile:v baseline -pix_fmt yuv420p -codec:a aac -tune zerolatency -f dash -window_size 5 /tmp/live/live.mpd Check out the ffmpeg-formats man page for a list of options you can use with -f dash. Then serve /tmp via nginx and point the ref…

I would definitely read that post. I've had bad times in the past with video codecs.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#17
post #15
post #11

Earlier quoted context omitted.

If folks would like to serve their own live streaming video, I worked on this Docker image for my church which provides a few HLS streams from an incoming RTMP stream: https://github.com/awakening-church/awakening-nginx-rtmp/tre... You can hack on this foundation to create your own solution. Also, you can use Terraform to easily run this on Azure: https://github.com/awakening-church/live-infrastructure Or DigitalOcea…

Wow, this is incredibly useful. I'd love to include an option for a self-hosted stream. I looked into setting up a streaming service as well, but decided to just release it with an iframe for the time being. Thanks for sharing.

Thanks for the kind words! I’m interested in helping smooth out the edges and making it easier to use, so let me know how I can be helpful. Email in profile.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#18

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

To be fair, you're not going to get the viewership without using a platform.

I feel like any streaming implementation should be setup you broadcast to put yourself hosted setup, and to twitch/youtube/facebook/et. al. I haven't done any live stream/podcasts, but I think there is already proxy software that does this.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#19

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

Also chiming in with a project I've put together in Swift

https://www.github.com/krad/morsel https://www.github.com/krad/plainview https://www.github.com/krad/pupil

morsel ingests h264 & aac and produces fragmented mp4 files & playlists. plainview reads the playlists and uses MSE in the browser to play them via the web pupil is a WIP server that reads h264 & aac over TCP and passes that data to morsel, then uploads to any s3 compatible storage (AWS, Minio, etc)

The swift stuff works on Linux, iOS, tvOS, etc

edit:

There's also a WIP project called "kubrick" https://github.com/krad/kubrick

It's a simple POP wrapper around AVFoundation that allows for building media processing pipelines.

There's an example in the project for reading video samples and passing them through a series of Metal shaders to produce fun effects.

Re: Show HN: Strimpack – roll your own livestreaming portal, chat, subs, and forum

#20

Ohh haha. I thought this was a replacement for twitch or similar, but it's just the chat/subs/forum, the most important part, the live streaming, is not part of this project.

https://antmedia.io/ and https://www.red5pro.com/ have open source RMTP + WebRTC servers, as well as hosted solutions. Both are compatible with (versions of) https://obsproject.com/ for live desktop capture, so would be a solid basis for building a Twitch competitor.
Post reply on HN