Quantcast
Channel: Raspberry Pi – IT Solutions Technology Blog
Viewing all articles
Browse latest Browse all 1224

Raspberry Pi – Live Stream to YouTube

$
0
0

raspberrypi_logo.jpg   By adding a camera module to your Raspberry Pi you essentially get a portable, lightweight and easy-to-hold-or-mount internet-connected camera

You’ll need the Server URL and the Stream Name/Key fields from the YouTube Live Dashboard

# raspivid -o – -t 0 -vf -hf -fps 30 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec -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://a.rtmp.youtube.com/live2/[your-secret-key-here]

raspivid is the command line tool for capturing video with the camera module

 


Viewing all articles
Browse latest Browse all 1224

Trending Articles