1 Star 0 Fork 3

惠尔智能 / ffmpeg4_camera_to_rtmp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

ffmpeg4 capture camera to rtmp

Recently, due to the need of work plan, research on ffmpeg was started.

For the command line push service, it is actually very simple. But it is not easy to control when it is integrated in its own program. Especially when the parent process shuts down abnormally, the ffmpeg process may not be killed, causing some exceptions. In addition, the biggest problem with the command line is that it cannot manage the ffmpeg push stream in a fine-grained manner.

ffmpeg bought some courses online and found that most of them are for ffmpeg3, the current ffmpeg is mainly 4. The syntax is quite different.

After a week of research, I found that a lot of code on the Internet is somewhat problematic.

Finally, I used ffmpeg4 to implement a version of the camera to capture the stream. Some pits are marked here. Some of the difficulties and tricks are not explained in many places, I will record them here.

空文件

简介

来自Github的镜像 供个人学习使用 远程仓库地址https://github.com/freeeyes/ffmpeg4_camera_to_rtmp.git 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/whaledynamic/ffmpeg4_camera_to_rtmp.git
git@gitee.com:whaledynamic/ffmpeg4_camera_to_rtmp.git
whaledynamic
ffmpeg4_camera_to_rtmp
ffmpeg4_camera_to_rtmp
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891