Skip to content

canaconZion/push-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push-Streaming

Github stars GitHub code size in bytes

将视频文件推送为rtmp流

Usage

sudo apt update && apt install ffmpeg &&
git clone https://github.com/canaconZion/push-streaming.git &&
make && ./rtmpPush

Config

config.ini

[PUSHSTREAMING]
# 视频原文件
Filepath=/home/video/videos/mecha.mp4 
# 推流协议
Protocol=rtmp 
# 流媒体服务器地址
HostName=localhost 
# 推流端口
Port=1935 
# 应用程序名
Key=mecha
# 流名
Pwd=test
# 循环推流次数
PushTimes=2 
# KeepPush=0 不限制次数循环播放
# KeepPush=1 按次数播放
KeepPush=1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published