Hi,
I have great experience in C/C++ programming and ffmpeg library, that is the libAV family of libraries, that make video encoding, decoding, muxing and many more operations possible. I can definitely help you in the shortest time possible, once I understand all the details of your code, that does the processing of the stream from the RTSP cameras. Please feel free to hire me, and discuss with me via chat.
Best Regards,
Aravind A