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
/*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");