Hello Beginner here, 
<br><br>
Started learning and understanding more n more with practice.
<br>
I have been searching up n down for examples on adding caps in code but after a few days I still don't have a clue. 
<br><br>
E.g setting width and height, or denoise, detail, brightness, hue, frc-algorithm and the list goes on.
<br>
My boss has built a UI in html, php; where he has been able to add to inser text or choose from a drop down list options for the pipeline.
<br><br>
Looks like this screenshot of my setup:<br>
<img src="http://gstreamer-devel.966125.n4.nabble.com/file/t379895/rsz_screenshot_from_2021-03-18_17-24-45.png" border="0"/>

<br><br>

My task was to add and integrate those options shown in the image.
After choosing those options I then create a xml file, then read that xml file options into variables using an xmlreader. 
<br><br>

For e.g 
I know a video source capabilities would include width and height. <br>
I know how to add those caps using gst-launch-1.0 or gst-parse-launch<br>
<br><br>
what I really wanna know is how do I get that done in code. 
<br>
I don't even have any idea which element has capabilities such as the others shown in the image but for now I'd just like to how to add them in code.
<br><br>
I have seen e.g. such as:<br><br>
<i>GstElements *capsfilter;</i><br>
GstCaps * caps;<br>
<br>
<i>capsfilter = gst_element_factory_make ("capsfilter", "capsfilter");</i> <br>
<i>caps  = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 1920, "height", G_TYPE_INT, 1080, "framerate", G_TYPE_INT, 60, NULL);</i><br>
g_object_set (capsfilter, "caps", caps, NULL);<br>
<i>gst_caps_unref (caps);</i>
<br><br>
I'd also appreciate any idea or guide on adjusting these in code:<br>
denoise, detail, brightness, hue, frc-algorithm, etc


        
        
        
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>