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
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.