Skip to content

Instantly share code, notes, and snippets.

@dstoc
Created January 16, 2016 09:56
Show Gist options
  • Save dstoc/45262551e463b485da4e to your computer and use it in GitHub Desktop.
Save dstoc/45262551e463b485da4e to your computer and use it in GitHub Desktop.
Streaming h264 rtsp to youtube
ffmpeg -i rtsp://${SOURCE} -vcodec copy -f flv\
-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k\
rtmp://a.rtmp.youtube.com/live2/${KEY}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment