I am having a very basic issue and I do not know why. Maybe someone here could help me understand.
I am trying to use gstreamer plugins of deepstream and trying to execute the following after calling “gst_bin_add_many(GST_BIN(pipeline), source, rtph264depay, tee, NULL)”
gst_element_link_many (source, rtph264depay, tee, NULL);
which is always giving me FALSE
my source, rtph264depay and tee are as follows:
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs) • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
My apologies for being a bit off track. However, the code at the end of the day will be using deepstream gstreamer plugins in its pipeline and hence, it was posted in this forum. Thank you for your feedback, will have a look into the pads and find the reason why it is not working.
@caruofc No need to feel guilty to ask a gstreamer question here, if it were not deepstream, we will never learn gstreamer, very deep learning curve!! it makes deepstream difficult to learn too!
I would like to reply again to mention the other simpler solution: gst_parse_launch()
gst-launch-1.0 is built using gst_parse_launch(), as long as you have a working gst-launch-1.0 xxx abc def, you are certain to make it right in c/c++ using gst_parse_launch().