Pico hardware encoder

  • Hello,

    Based on the current available information, using hardware encoding on the RV1106 relies on the RKMPI library. The ISP and hardware encoding parts of the RV1106 have not been open-sourced, and there isn't a better solution at the moment to access the ISP and hardware encoding. Rockchip is still updating the RKMPI library, and in the short term, they are unlikely to release an mpp library that supports the RV1106, which would enable ffmpeg hardware encoding similar to https://github.com/nyanmisaka/ffmpeg-rockchip on the luckfox-pico.

    If you require hardware encoding, it is recommended that you explore using RKMPI based on the available demos
  • Crocodile wrote: 2024-07-31 6:38 Hello,

    Based on the current available information, using hardware encoding on the RV1106 relies on the RKMPI library. The ISP and hardware encoding parts of the RV1106 have not been open-sourced, and there isn't a better solution at the moment to access the ISP and hardware encoding. Rockchip is still updating the RKMPI library, and in the short term, they are unlikely to release an mpp library that supports the RV1106, which would enable ffmpeg hardware encoding similar to https://github.com/nyanmisaka/ffmpeg-rockchip on the luckfox-pico.

    If you require hardware encoding, it is recommended that you explore using RKMPI based on the available demos
    Thank you for your answer! Is there documentation of RKMPI available in English?
  • The RKMPI documentation is currently not available in English.
  • Luckfox Taylor wrote: 2024-08-17 9:14 The RKMPI documentation is currently not available in English.
    Ok. Thank you anyways. As i can see, RKMPI code and libraries are built-in with your buildroot sdk. So i don't need to download anything else, just find RKMPI headers and link with librockiva, librockit, librockchip_mpp and librkaiq?
  • The RKMPI layer has been encapsulated through multiple layers, and in practice, it needs to be used in conjunction with other dynamic libraries (such as the RGN library). Therefore, in actual use, it's necessary to adjust the linked libraries and header files. You can refer to the example provided at https://wiki.luckfox.com/zh/Luckfox-Pico/RKMPI-example, where the CMakeLists.txt used can serve as a reference for custom projects.
  • Crocodile wrote: 2024-08-19 8:08 The RKMPI layer has been encapsulated through multiple layers, and in practice, it needs to be used in conjunction with other dynamic libraries (such as the RGN library). Therefore, in actual use, it's necessary to adjust the linked libraries and header files. You can refer to the example provided at https://wiki.luckfox.com/zh/Luckfox-Pico/RKMPI-example, where the CMakeLists.txt used can serve as a reference for custom projects.
    Ok. Thank you very much! I hope i'll will be able to build working pipeline with your library eventually