This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM-Q1: How to use HWA encode functionaility ?

Part Number: TDA4VM-Q1

Hello TI engineers,

     Due to project requirements, we are planning to use hwa encode. We want to understand how to use hardware encoding by running the demo app_multi_cam_codec. However, we only have the EVM board without a camera. We would like to modify the pipeline as follows: read 4 (or 1) images -> LDC -> encode -> then save as an H.264 file. How should we modify it to meet these needs? Also, I'm unsure where to retrieve the encoded data from. Could you provide some guidance?

 

Best Regards,

David

  • Hi David, 

    The Vision-Apps (RTOS+Linux) demo app_multi_cam_codec already supports this pipeline in the encoding half of the demo's functionality. You would need to attach a compatible camera, which can be found if you go to /opt/imaging and ls the directory. Here you should see the listed compatible cameras (i.e. ar0233, ar0820, imx219, imx390). 

    Additionally, you can find the encoded h264 stream if you add a filesink location plugin to end of the GStreamer pipeline to store the h264 stream in a file at a particular location. You would have to make this modification to the appSrc (AKA camera capture source) to encode pipeline in the main.c of the demo app. 

    You can find documentation for how to build Vision-Apps and run the demo app HERE.

    Thank You,
    Sarabesh S.