I'm quite new to video streaming and opencv in general. I wanted to stream my computations to another device via rtsp from a raspberry pi 3 using h264. I tried writing to a pipe using popen with ffmpeg to a ffserver anf with vlc creating rtsp servers to stream the content. Unfortunately I have huge lag in the stream, the best I could do was go down to 3 seconds.
Is there any way to achieve this? I'm open to consider other technologies.
Thank you