RTSP Stream to YouTube or Twitch
full native! not use ffmpeg or gstreamer
bash
$ git clone https://github.com/deepch/RTSPtoRTMPbash
$ cd RTSPtoRTMP/bash
$ GO111MODULE=on go run *.goformat:
{
"streams": {
"H264_AAC": {
"on_demand": false,
"url": "YOU_RTSP_CAMERA_URL",
"broadcast": {
"enable": true,
"url": "rtmp://a.rtmp.youtube.com/live2/YOU_YOUTUBE_KEY"
}
}
}
}
Video Codecs Supported: H264 all profiles
Audio Codecs Supported: AAC or NONE
CPU usage 0.2% one core cpu intel core i7 / stream
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
Examples of working with video on golang
$ claude mcp add RTSPtoRTMP \
-- python -m otcore.mcp_server <graph>