Streaming cats via pitank

Pitank could have a lot of practical usages.  But live is strange thing, so I basically use it to stream cat videos…


When cat is left alone at home and I am somewhere far away, I just login to my pitank and start watching what is happening.

Sometimes I stream it directly to youtube.  So here is one of the first such streaming sessions:

By the way streaming to youtube from Raspberry pi is as simple as one line command:

raspivid -o – -t 0 -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i – -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://

raspivid sends video stream from picamera to sdtout, it is already encoded by h264. ffmpeg puts this video stream in flv container and sends to youtube. No video encoding/decoding  happens, so it works pretty good.  Also ffmpeg emulates sound track to make stream acceptable by youtube.

raspvid should be available in all recent distributions suitable for Raspberry Pi. And ffmpeg is not present on some distributions, so compiling from binaries might be required.

Leave a Reply

Your email address will not be published. Required fields are marked *