TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Twitch stream of a bird sitting on her eggs

1 点作者 arittr大约 5 年前

1 comment

arittr大约 5 年前
Putting up a blog post seemed like overkill, but this was a fun project to pass the time during lockdown. At the same time I find watching her sleep extremely soothing and it&#x27;s helping a lot during this crisis.<p>The setup is as follows:<p>- Amcrest 4K PoE camera outputting a RTSP stream<p>- PoE injector (I have some left over from my networking setup, and the main PoE infra in my home isn&#x27;t close to the nest)<p>- Pi4 2GB acting as a firewall and WiFi bridge<p>- Intel NUC i7 transcoding the RTSP stream to RTMP for ingestion<p>* I originally did this with ffmpeg but the particular incantation I used seemed unstable and had some weird keyframing artifacts. I migrated to a trial of a &quot;professional&quot; live streaming toolkit which is able to somehow re-encapsulate the RTSP as RTMP without live transcoding. I&#x27;m just guessing this given how low the CPU usage is with this method.<p>- RTMP to Twitch<p>* YT Live requires 1) a 24h wait before streaming and 2) an audio stream along with the video, which made it more annoying than using Twitch<p>* Streaming to a DO instance (my original plan) would have been fine for 10-20 people but would have been more brittle to maintain. Also it costs money.<p>This is very easy to do and should work for essentially any cheap RTSP camera for direct streaming. Stay healthy out there!