25 Star 65 Fork 14

欧德高 / babylon

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

babylon

项目不在维护,最新版本参考bbllive 巴比伦流媒体服务器,目前只支持rtmp协议 #如何使用#

package main

import (
    "babylon/rtmp"
	log "github.com/cihub/seelog"
	"runtime"
)


func main() {
  runtime.GOMAXPROCS(runtime.NumCPU())
  l := ":1935"
  err := rtmp.ListenAndServe(l)
  if err != nil {	
     panic(err)		
  }
  select {}
}

#用ffmpeg发布流媒体和播放示例#

  • ffmpeg -i xxxx.mp4 -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -c:v libx264 -vb 500k -r 30 -s 640x480 -ss 00.000 -f flv rtmp://127.0.0.1/live/xxxx
  • ffplay -i rtmp://127.0.0.1/live/xxxx

Empty file

About

巴比伦流媒体服务器,支持rtmp协议 expand collapse
Go
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/shuangliaotv/babylon.git
git@gitee.com:shuangliaotv/babylon.git
shuangliaotv
babylon
babylon
master

Search