2020-05-28 16:55:34 +08:00
2020-05-28 14:58:32 +08:00
2020-05-28 15:53:02 +08:00
2020-05-28 14:58:10 +08:00
2020-05-28 16:55:34 +08:00
2020-05-28 15:53:02 +08:00
2020-05-28 14:58:10 +08:00
2020-05-27 22:43:37 +08:00
2020-05-27 22:43:37 +08:00
2020-05-28 14:21:41 +08:00
2020-05-28 10:22:02 +08:00
2020-05-28 14:21:41 +08:00
2020-05-28 15:20:44 +08:00
2020-05-28 15:53:02 +08:00
2020-05-28 14:43:04 +08:00
2020-05-28 14:43:04 +08:00

GoEasyFfmpeg 管理 ffmpeg 命令

根据开源项目https://github.com/EasyDarwin/EasyDarwin 修改而来

主要功能特点

  • 管理 ffmpeg 推流的项目,支持 rtmp ,rtsp ,flv ,hls 等方式推流
  • 推荐使用 livego 项目做转发服务器
  • 也可以自行使用 nginx + nginx-rtmp 搭建服务器

目前存在问题

  • windows 下无法停止

// 停止代码 windows 下不兼容

cmd := pusher2FfmpegMap[pusher]
proc := cmd.Process
if proc != nil {
    logger.Printf("prepare to SIGTERM to process:%v", proc)
    proc.Signal(syscall.SIGTERM)
    proc.Wait()

    logger.Printf("process:%v terminate.", proc)
}
delete(pusher2FfmpegMap, pusher)
logger.Printf("delete ffmpeg from pull stream from pusher[%v]", pusher)
S
Description
No description provided
Readme Apache-2.0 40 MiB
Languages
Go 69.1%
JavaScript 30.1%
Vue 0.4%
HTML 0.3%