利用ffmpeg实现RTSP,RTMP推流以及保存到本地录像文件

上传者: fanxiushu | 上传时间: 2021-06-17 15:28:59 | 文件大小: 1.86MB | 文件类型: ZIP
这是从 xdisp_virt项目剥离出来的, 实现 实时的 H264 + AAC 编码 音频和视频的 RTSP, RTMP协议推流, 以及保存到本地MP4,MKV录像文件。 如果要成功编译, 需要下载和编译ffmpeg库,libfdk-aac库,x264库。 编译这些库,非常耗时。如果懒得去编译, 可以直接使用已经编译好的stream_push.dll动态库。 stream_push目录是实现核心推流和保存本地录像工程, demo目录是简单的调用例子,简单实现了抓取屏幕然后推流到RTSP,RTMP服务器,以及保存到本地。 bin目录是已经编译好的二进制文件. 有兴趣可查看BLOG: https://blog.csdn.net/fanxiushu/article/details/80996391

文件下载

资源详情

[{"title":"( 22 个子文件 1.86MB ) 利用ffmpeg实现RTSP,RTMP推流以及保存到本地录像文件","children":[{"title":"stream_push","children":[{"title":"stream_push","children":[{"title":".vs","children":[{"title":"stream_push","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"stream_push.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"stream_push.sln <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"ffmpeg.h <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"stream_push.cpp <span style='color:#111;'> 41.64KB </span>","children":null,"spread":false},{"title":"stream_push.def <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"sps_decode.h <span style='color:#111;'> 12.81KB </span>","children":null,"spread":false},{"title":"simple_encoder.cpp <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"stream_push.h <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"stream_push.vcxproj <span style='color:#111;'> 8.30KB </span>","children":null,"spread":false},{"title":"stream_push.vcxproj.filters <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.txt <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"demo.exe <span style='color:#111;'> 764.50KB </span>","children":null,"spread":false},{"title":"stream_push.dll <span style='color:#111;'> 3.90MB </span>","children":null,"spread":false},{"title":"stream_push.lib <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"stream_push.h <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"demo","children":[{"title":".vs","children":[{"title":"demo","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"demo.vcxproj.filters <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"demo.sln <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"demo.vcxproj <span style='color:#111;'> 7.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • taoerit :
    没什么用啊,不能运行
    2020-04-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明