RV1106 RKMPI video overlay

  • I'm not sure if it's feasible since I haven't tried it myself. But I previously noticed that the `imblend` function in RGA can achieve image overlay. For details, you can refer to the official documentation: https://github.com/airockchip/librga/bl ... _RGA_EN.md
  • Hello, Pointer! Thank you fro your reply, I will definitely check RGA later, it looks like it has many useful features that I can use in my project)

    I have solved the issue with overlay using RGN. I made a pretty dumb mistake: I was receiving frame data from coded VENC stream of the second camera :) Of course it has a totally different output and isn't compatible with my RGN overlay! I switched to receiving frame data from VPSS using RK_MPI_VPSS_GetChnFrame(), and now everything works fine! My current pipeline looks like this:

    1st camera: Sensor->VI->VPSS->VENCChn1-RTSP
    ---------------------------------------|->VENCChn2->RTSP
    -------------------------------|->GetChnFrame->^
    2nd cam: Sensor->VI-VPSS->VENCChn3->RTSP

    So now I have 3 RTSP streams: one for first cam, one for second cam and one for combined video (full scale video from first camera and cropped video from second camera in the bottom right corner).
    Last edited by bergert43 on 2025-10-17 11:29, edited 1 time in total.