Live Stream to Youtube with a Raspberry PI and Camera Module works! I´m very happy about this!
I cross compiled ffmpeg for arm, here is the instruction and the download for the compiled ffmpeg:

  1. Install Raspbian and download the crosscompiled ffmpeg to your Computer:
    https://drive.google.com/file/d/0B0OC20ApqKZ_YVB3NHF6VU9XTUE/edit?usp=sharing

  2. Transfer the arm.tar to raspberry PI and Untar with
    tar -xvf arm.tar.gz

  3. move to the new folder
    cd ./arm/bin

4.Start the Livestream 720p:
raspivid -o - -t 0 -w 1280 -h 720 -fps 25 -b 4000000 -g 50 | ./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://a.rtmp.youtube.com/live2/XXyourIDhereXX

Adjust the bitrate with -b 4000000..whatever you like (1500-4000kbit/s wants youtube for 720p)

Brak powiązanych.

Nie dodano jeszcze komentarzy do tej treści.