Skip to content

Instantly share code, notes, and snippets.

@thapakazi
Forked from alexellis/README.md
Created July 11, 2017 02:52
Show Gist options
  • Save thapakazi/a56879fb3f14ee15ce38ee2fda95235b to your computer and use it in GitHub Desktop.
Save thapakazi/a56879fb3f14ee15ce38ee2fda95235b to your computer and use it in GitHub Desktop.
Live Stream to YouTube from your RPi with Docker

Live Stream to YouTube from your RPi with Docker

Normally ffmpeg needed to stream to YouTube takes 8-9 hours to build on a PiZero. You can download my image here and run it with your secret key:

docker run --privileged -ti alexellis2/streaming:17-5-2017 <secret>

Bill of materials:

  • Raspberry Pi Zero

  • RPi camera and cable

  • Latest Docker version via curl -sSL get.docker.com | sh

Thanks to Richard Gee for the inspiration of streaming from a Pi Zero and for helping to test between 8 hours builds.

The download is around 640mb compressed and a 1.3GB image but way quicker than compiling this from scratch.

Feel free to ask questions on Twitter @alexellisuk

Do you want to build it yourself?

Gists for base ffmpeg and streaming Dockerfile

Sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment