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.
Part Number: TI-EDGE-AI-CLOUD
Hi
I am using the TDA4 board running SDK v8.02 along with GStreamer plugins to run the single output pipeline from the tiovxisp page example here (https://github.com/TexasInstruments/edgeai-gst-plugins/wiki/tiovxisp) from the main branch.
Even though the required files exist, the 2A config file is not loaded and the pipeline does not execute.
Following is the error generated.
0:00:00.183300300 2368 0x5eda230 ERROR tiovxisp gsttiovxisp.c:886:gst_tiovx_isp_read_2a_config_file:<tiovxisp0:sink_0> Unable to open 2A config file: (null)
0:00:00.183333757 2368 0x5eda230 ERROR tiovxisp gsttiovxisp.c:1078:gst_tiovx_isp_init_module:<tiovxisp0> Unable to read 2a config file
ERROR: from element /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0: Unable to init TIOVX module
Additional debug info:
../gst-libs/gst/tiovx/gsttiovxmiso.c(1409): gst_tiovx_miso_negotiated_src_caps (): /GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0
ERROR: pipeline doesn't want to preroll.
Any help regarding this is highly appreciated.
Thanks
Apeksha Chipade
Hello Apeksha. So the issue lies with the naming of the elements. Generally, the tiovxisp plugin expects a sensor name and a sensor ID to be provided along with a "sink_0" prepending to the device and dcc-2a-file parameters. Could you try this command and see if it works?
gst-launch-1.0 v4l2src device=/dev/video2 ! queue leaky=2 ! video/x-bayer, width=1920, height=1080, format=rggb, framerate=30/1 ! tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name=SENSOR_SONY_IMX219_RPI dcc-isp-file=/opt/imaging/imx219/dcc_viss.bin sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a.bin format-msb=7 ! video/x-raw, format=NV12 ! kmssink sync=false driver-name=tidss
Hope this helps you!
Hi Yogesh,
Thank you for your response. I am now able to run the modified pipeline and generate an output with the pipeline below.
Hello Apeksha,
Check the setup_cameras.sh file inside /opt/edge_ai_apps/scripts directory. That file is called by the init_script.sh. Inside the setup_cameras.sh, the script is using media-ctl to set the format to 12 bit rggb format. Here, you have specified grbg format. You need to set the format to grbg inside the setup_cameras.sh file and run the init_script.sh file inorder for it to take effect. You can then try and see if it improves.
Let me know if this was helpful!
Regards,
Yogesh