How to transfer cv::VideoCapture frames through socket in client-server model (OpenCV C++)?

前端 未结 2 1720
执笔经年
执笔经年 2021-01-17 02:02

I translate video through socket and I see video stream in other side but I cant receive video. My video file is empty. I am thinking the problem can be wrong convert video

2条回答
  •  难免孤独
    2021-01-17 02:42

    Uh,I am also a newbie about opencv. But i can do this in opencv and Gstreamer. There are lots of solutions i'm not sure the FFmpeg can do it, you can try.

    Here is the Gstremer documetion.Hope it will help you.And you can also search some project in github. This project help me but it is not my project, hope it will help you.

提交回复
热议问题