Skip to content

deepch/RTSPtoWSMP4f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments

full native! not use ffmpeg or gstreamer

if you need RTSPtoWebRTC use https://github.com/deepch/RTSPtoWebRTC

RTSPtoWSMP4f image

Download Source

  1. Download source
    $ git clone https://github.com/deepch/RTSPtoWSMP4f  
  2. CD to Directory
     $ cd RTSPtoWSMP4f/
  3. Test Run
     $ GO111MODULE=on go run *.go
  4. Open Browser
    open web browser http://127.0.0.1:8083 work chrome, safari, firefox

Configuration

Edit file config.json

format:

{
  "server": {
    "http_port": ":8083"
  },
  "streams": {
   "H264_AAC": {
      "url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
    }
  }
}

Limitations

Video Codecs Supported: H264 all profiles, H265 work only safari and (IE hw video card)

Audio Codecs Supported: AAC

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. 🍵