[PLUG-AV] YouTube Streaming

Leon Wright techman83 at gmail.com
Sat Aug 1 11:09:34 UTC 2015


AV Crew,

So I got motivated:

VBR="2500k"
FPS="25"
QUAL="medium"
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
SOURCE=$1
KEY="goes_here"

avconv \
    -i "$SOURCE" -deinterlace \
    -vcodec libx264 -pix_fmt yuv420p -vf scale=-1:480 -preset $QUAL -r $FPS
-g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize
512k \
    -f flv "$YOUTUBE_URL/$KEY"

I'm currently streaming a conference video to youtube and watching it back
on youtube. It works pretty good!

Leon
--
DRM 'manages access' in the same way that jail 'manages freedom.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/av/attachments/20150801/4c83150c/attachment.html>


More information about the AV mailing list