E.Huang
Back to projects

FinFeed

A live fish-tank camera streamed from a Raspberry Pi through Twitch, with hardware video encoding and a simple web player.

Raspberry PiFFmpeglibcameraRTMPsystemdHTMLCSS

I built FinFeed so I could watch my fish tank remotely. A Raspberry Pi captures the camera feed, encodes it in hardware, and sends it to Twitch. A small webpage embeds the Twitch player.

The streaming service pipes H.264 video from libcamera-vid into FFmpeg, which adds a silent audio track and sends the stream over RTMP. It runs under systemd on the Pi. I adjusted the camera settings and player aspect ratio to fit the tank view.