Created
December 31, 2018 17:37
-
-
Save RyAndrew/10faecb05610635aab7714971636c1ce to your computer and use it in GitHub Desktop.
lets robot mebo video + audio ffmpeg code
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
Open these urls to get the host and ports to use: | |
GET https://letsrobot.tv/get_websocket_relay_host/{Camera ID Numbers Here} | |
{"host":"letsrobot.tv"} | |
GET https://letsrobot.tv/get_video_port/{Camera ID Numbers Here} | |
{"mpeg_stream_port":661177} | |
GET https://letsrobot.tv/get_audio_port/{Camera ID Numbers Here} | |
{"audio_stream_port":881199} | |
ffmpeg -r 25 -i rtsp://stream:[email protected]:554/media/stream2 \ | |
-codec:v mpeg1video -an -f mpegts -b:v 1000k -bf 0 -muxdelay 0.001 http://letsrobot.tv:661177/StreamKeyHere/640/480/ \ | |
-codec:a mp2 -vn -ar 44100 -ac 1 -f mpegts -b:a 32k -muxdelay 0.001 http://letsrobot.tv:881199/StreamKeyHere/640/480/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment