Created
January 16, 2016 09:56
-
-
Save dstoc/45262551e463b485da4e to your computer and use it in GitHub Desktop.
Streaming h264 rtsp to youtube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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