OpenCV and RTMP

白昼怎懂夜的黑 提交于 2019-12-13 10:25:32

问题


I want to be able to create an application that can read and publish an RTMP stream.

Using OpenCV i could read rtp due to it's ffmpeg backend.

Stream video from ffmpeg and capture with OpenCV

C++ RTMP is another possibility, but this is an RTMP server so it mainly requests and sends files. Although open source, i am unsure how to build or integrate this into a Visual Studio application in such a way as to make the function calls available to my project.

OTher sources indicate that OpenCV's RTSP isn't great.

http://workingwithcomputervision.blogspot.co.nz/2012/06/issues-with-opencv-and-rtsp.html

How can you run a streaming server, such as RTMP C++ and get the raw data out. OpenCV can encode and decode image data for streaming, but how can you link the two?

Could a C++ application pipe a stream together? How could i interface with that stream to send it more images? Also, for receiving images?

Regards,


回答1:


cRMTPServer and LibRTMP works well.



来源:https://stackoverflow.com/questions/23556382/opencv-and-rtmp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!