ScalerCrop controls #84
Unanswered
valdemaria
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @valdemaria, as this is on a Raspberry Pi 4 - could you ask this to RPi4 developers please? https://github.com/raspberrypi/libcamera/issues perhaps - or the raspberry pi forums. This is just my 'personal development repository'. Though it would be interesting if you could share a patch for your implementation of the ScalerCrop control to gstlibcamera - it could be something we could integrate into libcamera to support this for others. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
HI,
I'm working with libcamera and gstreamer on a RPI4. I use gstlibcamera like this : libcamerasrc ! video/x-raw,width=2048,height=1536,framerate=30/1,format=YUY2,interlace-mode=(string)progressive,colorimetry=(string)bt709
I use this resolution to be in 2x2 binned mode.
I can change dynamically differents controls like Brightness, Contrast, AeEnable etc ...
But when I try to change the ScalerCrop, it doesn't work all the time. I send my rectangle correctly to libcamera. Is there a specific timing to send this ? Is the way to send the scalercrop correct ?
I have implemented a function in gstlibcamera to send controls, and it works perfectly for all the other controls.
default scalercrop value : 2 0, 4052, 3040
try to set scalercrop value to : 1521, 1140, 1013, 760
Thanks for your help ! :)
Beta Was this translation helpful? Give feedback.
All reactions