basler / gst-plugin-pylon

The official GStreamer plug-in for Basler cameras
BSD 3-Clause "New" or "Revised" License
40 stars 9 forks source link

Trying to set the ReverseX and ReverseY feature in PLAYING pipeline #87

Open rbnrtg opened 5 months ago

rbnrtg commented 5 months ago

Hi @thiesmoeller

When I launch the pipeline from C and initialize the ReverseX and ReverseY features, they are correctly initialized to the indicated value.

gst_child_proxy_set(cp, "cam::ReverseX", FALSE, NULL); gst_child_proxy_set(cp, "cam::ReverseY", FALSE, NULL);

But when the pipeline is running and I try to modify this feature again, the change is not made when in all other parameters it allows to change the value. Could it be because I am not doing it correctly or could it be something related to the library?

Thank you!

thiesmoeller commented 5 months ago

What is the camera model, that you use ?

rbnrtg commented 5 months ago

My camera is Basler daA3840-45uc (USB Model)

I already had the problem with decimal values in some properties, but when I tried to modify the value of ReverseX and ReverseY with the pipeline running don't work

thiesmoeller commented 5 months ago

The decimal issue has been fixed recently.

See attached a patch to current repo, that uses ReverseX feature in the pylonsrc example program.

0001-quick-demo-for-reversex.patch

rbnrtg commented 4 months ago

Hi @thiesmoeller,

Regarding the OffsetX/Y and ReverseX/Y parameters, they are supposed to be modifiable in PLAYING state, but when I try to change any of them with the pipeline running, I get the following errors and it does not allow to modify them:

Unable to set pylon property "ReverseY" on "Basler daA3840-45uc (40430213)": Node is not writable.

Unable to set pylon property "OffsetX" on "Basler daA3840-45uc (40430213)": Node is not writable.

What can this be due to?