【发布时间】:2014-01-01 17:09:40
【问题描述】:
我正在使用 Netcat 和 Mplayer 将视频从一台设备流式传输到另一台设备,如下所示:
cat [video file] | nc [client ip address] [port] (server)
nc -L -p [port] | mplayer [options] (client)
我想问一下有没有办法用 OpenCV 提取流来执行一些图像处理。
我尝试过类似的东西
VideoCapture stream("udp://@<ip>:<port>/");
但此时进程卡住了。
感谢您的帮助!
【问题讨论】: