Skip to content

deepch/RTSPtoRTMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTSPtoRTMP

RTSP Stream to YouTube or Twitch

full native! not use ffmpeg or gstreamer

Download Source

  1. Download source
    $ git clone https://github.com/deepch/RTSPtoRTMP 
  2. CD to Directory
     $ cd RTSPtoRTMP/
  3. Test Run
     $ GO111MODULE=on go run *.go
  4. Edit config.json

Configuration

Edit file config.json

format:

{
  "streams": {
    "H264_AAC": {
      "on_demand": false,
      "url": "YOU_RTSP_CAMERA_URL",
      "broadcast": {
        "enable": true,
        "url": "rtmp://a.rtmp.youtube.com/live2/YOU_YOUTUBE_KEY"
      }
    }
  }
}

Limitations

Video Codecs Supported: H264 all profiles

Audio Codecs Supported: AAC or NONE

Test

CPU usage 0.2% one core cpu intel core i7 / stream

Team

Deepch - https://github.com/deepch streaming developer

Dmitry - https://github.com/vdalex25 web developer

Other Example

Examples of working with video on golang

paypal.me/AndreySemochkin - You can make one-time donations via PayPal. I'll probably buy a coffee tea. 🍵

About

broadcast rtsp camera to YouTube or Twitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages