# pushrtmp **Repository Path**: xiaobo0903/pushrtmp ## Basic Information - **Project Name**: pushrtmp - **Description**: rtmp推流 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-02 - **Last Updated**: 2022-08-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pushrtmp #### 介绍 rtmp推流测试程序 #### 软件架构 软件架构说明 #### CentOS安装教程 1. yum -y install git 2. git clone https://gitee.com/xiaobo0903/pushrtmp.git 3. cd pushrtmp 4. sh install.sh 正确安装后,目录下会有push文件生成; #### 使用说明 Usage: push in[flv] out[rtmp] type[0,1,2,3] zoom[>0] 1. in:输入flv格式视频文件 2. out:rtmp协议的推流地址 3. type 说明: ##### type=0: 正常推流 ##### type=1: 每25帧视频和音频的pts都会有2个跳帧(最大值和负数) ##### type=2: 每25帧视频和音频,会丢弃掉2帧内容 ##### type=3: pts从负数开始(-200) ##### type=4: 设置pts放大倍数,pts=pts*zoom ##### zoom: 放大pts的倍数,只有在type=4时,有作用;