Skip to content

Instantly share code, notes, and snippets.

View kristian-io's full-sized avatar
🎯
Focusing

Kristian Slosar kristian-io

🎯
Focusing
View GitHub Profile
@kristian-io
kristian-io / stream_to_youtube.sh
Created October 2, 2018 10:44 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube