In my code, I create the pipeline correctly using GStreamer with the pylonsrc source, but I have implemented that when a parameter is modified in a txt, the pipeline is closed and a new one is created with the modified parameters and with the same pylonsrc source of the camera.
But when I release the necessary resources and try to start the second pipeline:
Hi @thiesmoeller
My camera is Basler daA3840-45uc (USB Model).
In my code, I create the pipeline correctly using GStreamer with the pylonsrc source, but I have implemented that when a parameter is modified in a txt, the pipeline is closed and a new one is created with the modified parameters and with the same pylonsrc source of the camera.
But when I release the necessary resources and try to start the second pipeline:
When trying to change the pipeline status to PLAYING, the following error appears in basler logs:
gstpylonsrc.cpp:820:gst_pylon_src_start:ESC[00m error: Failed to start camera.
gstpylonsrc.cpp:820:gst_pylon_src_start:ESC[00m error: TLFactory not instanciated, you must call PylonInitialize()
GST_ERROR_SYSTEM gstelement.c:2271:gst_element_message_full_with_details:ESC[00m posting message: Failed to start camera.
What could I do to solve this problem?
Thank you!