Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a genicam feature control property to aravis gstreamer plugin #319

Closed
EmmanuelP opened this issue Dec 3, 2019 · 9 comments
Closed
Labels
1. Enhancement Issues that propose improvements to existing features 4. Help wanted Help is welcome to resolve the issue 5. Gstreamer Issue in GStreamer plugin

Comments

@EmmanuelP
Copy link
Contributor

Sometimes, using the gstreamer plugin, it is necessary to set some device feature in order to make it work properly.

A possible implementation would be to add a features property, that takes a list of feature/value pairs, similar to the parameters of the control command of arv-tool.

Then we could write:

gst-launch-1.0 aravissrc features="DeviceLinkThroughputLimit=185000000 ShutterMode=Rolling" ! videoconvert ! autovideosink
@EmmanuelP EmmanuelP added 1. Enhancement Issues that propose improvements to existing features 5. Gstreamer Issue in GStreamer plugin 4. Help wanted Help is welcome to resolve the issue labels Dec 3, 2019
@richard-mccrae
Copy link

richard-mccrae commented Dec 4, 2019

A very good idea. Just need to check for the few features that require being in the correct mode for their values to be manually set.

@barzan-hayati
Copy link

barzan-hayati commented Feb 15, 2020

Sometimes, using the gstreamer plugin, it is necessary to set some device feature in order to make it work properly.

A possible implementation would be to add a features property, that takes a list of feature/value pairs, similar to the parameters of the control command of arv-tool.

Then we could write:

gst-launch-1.0 aravissrc features="DeviceLinkThroughputLimit=185000000 ShutterMode=Rolling" ! videoconvert ! autovideosink

Hi @EmmanuelP .

Features command does not work for me.
gst-launch-1.0 aravissrc features="DeviceLinkThroughputLimit=185000000 ShutterMode=Rolling" ! videoconvert ! autovideosink

WARNING: erroneous pipeline: no property "features" in element "aravis0"

and by adding aravis source address:

gst-launch-1.0 -e --gst-plugin-path=/usr/local/lib/ aravissrc features="DeviceLinkThroughputLimit=185000000 ShutterMode=Rolling" ! videoconvert ! autovideosink

WARNING: erroneous pipeline: no property "features" in element "aravis0"

@EmmanuelP
Copy link
Contributor Author

@barzan-hayati it is not implemented yet...

@EmmanuelP
Copy link
Contributor Author

Implemented in a755517

@nrstrifork
Copy link

Hi @EmmanuelP,

Did you document all genicam features, or are you using the same feature key/val naming as genicam?

@EmmanuelP
Copy link
Contributor Author

Hi,

Did you document all genicam features, or are you using the same feature key/val naming as genicam?

I fail to understand what you mean. Could you rephrase your question ?

@nrstrifork
Copy link

Let me try :)

You use the feature key/val naming convention like --DeviceLinkThroughputLimit=185000000 ShutterMode=Rolling-- Are these equal or corresponding to the Genicam convention, or did you create your own convention for all genicam features available for the aravissrc plugin?

Specifically, I'm trying to set features through the plugin but fail to find a full overview of available aravissrc plugin features

@EmmanuelP
Copy link
Contributor Author

EmmanuelP commented Jul 26, 2022

You can set any feature available on your camera, using the same syntax as the control command of arv-tool. You can list every available features using arv-tool-0.8 features.

@nrstrifork
Copy link

You can set any feature available on your camera, using the same syntax as the control command of arv-tool. You can list every available features using arv-tool-0.8 features.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Enhancement Issues that propose improvements to existing features 4. Help wanted Help is welcome to resolve the issue 5. Gstreamer Issue in GStreamer plugin
Projects
None yet
Development

No branches or pull requests

4 participants