zfb103 / RTSP2RTMP-1

A simple example shows how to use ffmpeg api convert format without coder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RTSP2RTMP

一个使用FFMPEG API实现的从RTSP取流并且推送到RTMP的简单例子。实际上也可以用于不同媒体封装格式之间的转化(例如avi->flv)。有任何问题欢迎在Issues里提问。

A simple example shows how to use ffmpeg api pull RTSP stream and pubish RTMP stream. Actually, it can be used for convert format without coder (just like -vcodec copy -acodec copy command). If you have any questions please open new issues.

How to build

mkdir build && cd build && cmake .. && make

Reference

最简单的基于FFmpeg的推流器(以推送RTMP为例)

FFMPEG Examples

About

A simple example shows how to use ffmpeg api convert format without coder

License:GNU General Public License v3.0


Languages

Language:C++ 63.7%Language:CMake 36.3%