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.

SK-AM62A-LP: Gstreamer TIOVXISP C code

Part Number: SK-AM62A-LP

Tool/software:

Hi,

I have a command line GStreamer pipeline which records video to a .mp4 using the TIOVXISP element. I'm trying to convert this into C code for the final implementation but can't figure out how to write the sink configurations as C code.

This is my first gstreamer project so I'm still learning. Below is the snippet of command line code which works.

tiovxisp sink_0::device=/dev/v4l-subdev2 \
sensor-name="SENSOR_SONY_IMX219_RPI" \
dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss_1920x1080.bin \
sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a_1920x1080.bin \
format-msb=7 

 
Here is my attempt so far. Any help would be appreciated. Thanks
 /*Instantiate and configure the ISP*/
 data->isp = gst_element_factory_make("tiovxisp", "isp_1");
 g_object_set(G_OBJECT (data->isp), "sink_0::device", "/dev/v4l-subdev2");
 g_object_set(G_OBJECT (data->isp), "sensor-name", "SENSOR_SONY_IMX219_RPI");
 g_object_set(G_OBJECT (data->isp), "dcc-isp-file", "/opt/imaging/imx219/linear/ddc_viss_1920x1080.bin");
 g_object_set(G_OBJECT (data->isp), "dcc-2a-file", "/opt/imaging/imx219/linear/dcc_2a_1920x1080.bin");
 g_object_set(G_OBJECT (data->isp), "format-msb", "7");