Skip to content

Instantly share code, notes, and snippets.

@sburns90
sburns90 / unix_stream_to_youtube.sh
Last active February 19, 2016 20:11 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Broadcast ffmpeg to YouTube
VBR="6000k" # Output video bitrate
FPS="30" # FPS framerate
QUAL="veryfast" # FFMPEG quality preset (slow,medium,fast,veryfast,ultrafast)
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # YouTube Server URL
SOURCE="udp://239.255.139.0:1234" # Source - UDP
#!/bin/sh
# Forecast.io Snapshot
#
# Creates a snapshot of forecast.io embeds (http://blog.forecast.io/forecast-embeds/)
# for display on the desktop via GeekTool/Nerdtool.
#
# by Josh Dick - http://joshdick.net
#
# This script depends on: