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.

J721EXSOMXEVM: Hello world program for TIOVX, Step by step guide to create my own program, use of gstreamer with cmake. How to use hardware encoder and decoder in cpp program.

Part Number: J721EXSOMXEVM

Hi,

I am little confused with tonnes of information available on TI website. I am new and don't have experience working with TDA4. 

  1. I want to use TIOVX and create a first hello world program. Can I get step by step guide? I have gone through the following guide TIOVX but the path are not the one that I have in the SDK folder.




    It would be great if you can provide a some guide with which I can develop a program on the host PC, build it and run on TDA4.
  2. Secondly, I want to use hardware encoder and decoder and there I found gstreamer guidelines and some command line tools for the conversion. Is there any simple cpp program in the sdk that I can use and understand how gst is working on tda4.
  3. How can I access hardware encoder and decoder with ffmpeg. Again it would be great if there a sample program available.

Best Regards,

Abdul Rehman

  • Hi,

    I want to use TIOVX and create a first hello world program. Can I get step by step guide?

    You could follow the below steps in order to setup, build and run the demos on EVM. This would be a good starting point.

    Vision Apps User Guide: Build and Run (ti.com)

    Once this is done, you could execute the tiovx tutorial code (./vx_app_tutorial.out - TI OpenVX tutorial). This is mentioned in the above link.

    You could also add a hello world code for TIOVX in this tutorial (by referring other tutorials) and execute it the same way.

    Secondly, I want to use hardware encoder and decoder and there I found gstreamer guidelines and some command line tools for the conversion. Is there any simple cpp program in the sdk that I can use and understand how gst is working on tda4

    In vision_apps, we have a multi_cam_codec demo application. You could find this in the SDK at ${PSDKRA}/vision_apps/apps/basic_demos/app_multi_cam_codec

    This uses gstreamer and you could refer this code to understand the gstreamer usecase.

    How can I access hardware encoder and decoder with ffmpeg

    ffmpeg is open source. You could use the ffmpeg commands on Linux to access codec. 

    FFmpeg

    Regards,

    Nikhil