Skip to content

Instantly share code, notes, and snippets.

View marcsello's full-sized avatar
🐧
Compiling Gentoo....

Marcell Pünkösd marcsello

🐧
Compiling Gentoo....
View GitHub Profile
@marcsello
marcsello / stream_to_youtube.sh
Last active September 1, 2016 22:02 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
# Youtube streaming stuff, original by: https://gist.github.com/olasd/9841772
# Configuration of stream; pootis bitrate here, resolution will be the video's
VBR="2500k" # Bitrate of ze stream
FPS="24" # FPS of ze stream
QUAL="medium" # Quality preset (ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo)
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL of ze Youtube, (default is ze main)