Last active
July 24, 2020 04:48
-
-
Save ikawka/348192ad1ce1d1aa2794c8a5f5a5f1d9 to your computer and use it in GitHub Desktop.
Stream from IP Camera to Youtube
This file contains hidden or 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 \ | |
-f lavfi \ | |
-i anullsrc \ | |
-rtsp_transport tcp \ | |
-i $INPUT \ | |
-tune zerolatency \ | |
-vcodec libx264 \ | |
-t 12:00:00 \ | |
-pix_fmt + \ | |
-c:v copy \ | |
-c:a aac \ | |
-strict experimental \ | |
-f flv rtmp://a.rtmp.youtube.com/live2/$KEY \ | |
-nostdin \ | |
-nostats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment