output video from the camera in real time

  • Real-time Acquisition of Camera Feed with VLC Media Player:
    https://wiki.luckfox.com/Luckfox-Pico/CSI-Camera
  • Can someone provide the code for how to output video to the network from OpenCV Mobile.
    As in this example of yours.
  • After Chinese New Year, we may provide related example
  • Can someone provide the code for how to output video to the network from OpenCV Mobile?
    As in this example of yours.
    Last edited by Yurii on 2024-02-22 22:38, edited 1 time in total.
  • Yurii wrote: 2024-02-22 22:36 Can someone provide the code for how to output video to the network from OpenCV Mobile?
    As in this example of yours.
    Hello, this is an example of streaming RTSP video using OpenCV Mobile. You can use VLC software to pull the stream and receive the image. The text on the image is added using opencv-mobile, rather than employing OSD.
    https://github.com/luckfox-eng29/luckfo ... tsp_opencv

    What differs from your expectation is that this method does not rely on opencv-mobile to capture the camera image; Instead, it utilizes the VI (Video Input) component from the RKMPI library. The reason for this approach is to ensure that the captured data meets the input requirements of VENC (Video Encode).

    If you need to use opencv-mobile to capture, you might consider alternative methods for RTSP streaming, such as using Live555. Alternatively, you could wait for RKMPP to support RV1103/RV1106 chips, enabling the image to be encoded without VENC into a format supported by RKRTSP.
  • Failed to compile. Can someone help?
    Image
    Attachments
    img11.png
  • Yurii wrote: 2024-02-23 19:21 Failed to compile. Can someone help?
    Image
    Hello, I conducted tests on WSL1 Ubuntu 22.04 and did not encounter the issue you mentioned.
    rtsp_make.jpg
    Please note to use git to obtain the source code. Using unzip operations may lead to some links being lost.

    Code: Select all

     git clone https://github.com/luckfox-eng29/luckfox_pico_rtsp_opencv.git 
    I have attempted to optimize the project and submitted a new commit. Hopefully, this resolves your issue.
  • Thank you!
    Works great but the quality is very poor.
    Знімок екрана з 2024-02-25 13-52-14.png
    Last edited by Yurii on 2024-02-24 14:31, edited 2 times in total.