<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 16 nov. 2019 05 h 55, Astarag Chattopadhyay <<a href="mailto:astarag2008@gmail.com">astarag2008@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I want to get the dynamic properties of camera like white balance, e<span style="background-color:inherit;color:rgb(0,0,0);font-family:Calibri,Calibri_MSFontService,sans-serif;font-size:14.6667px;font-variant-ligatures:no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual">xposure, contrast etc. Is there any API that would get this for me?</span><div>I know it can be done using v4l2src but I want some higher level API.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Not that I know of. I believe that after the kernel ioctl, you have a command line called v4l2-ctl. Note that on most cameras (uvc) these values are just firmware configuration. To get the per image applied metadata, you need to open and grab these using the second video device expose by recent kernel.</div><div dir="auto"><br></div><div dir="auto">We don't yet have GStreamer support for that. The metadata will be in HW specific form and needs to be parsed. UVC has a shared format across cameras.</div><div dir="auto"><br></div><div dir="auto">Overall, it seems something that should be abstracted by libcamera in the future. <br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks in advance,</div><div>Astarag</div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>