如何使用OpenCV+MMPEAG打开摄像头,显示的同时推送RTMP流。
摘要:注意,设置中: 代码详解: 1、 char* outUrl = "rtmp://localhost/live/livestream"; 这个地址,是AMS(Adeobe Media Server)的默认地址。 2、 //注册所有的编解码器 avcodec_register_all(); //注册所有
阅读全文
posted @ 2022-12-15 13:49