-
Notifications
You must be signed in to change notification settings - Fork 64
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
[imx219] Support 2x2 binning #29
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dear, cristiklein |
Dear Huang,
I tested it on top of the latest TinkerOS 2.0.8.
…On Thu, 6 Dec 2018, 08:29 Jamess, Huang ***@***.*** wrote:
Dear, cristiklein
Thanks for your commits. May I know which image version of Tinker-OS do
you test with this commit ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlXocRjn_jSdkdDalv27ZS4OLr2KEO0ks5u2MdegaJpZM4ZErNu>
.
|
Dear, cristiklein |
Hi,
I set the sensor mode using media-ctl. Gstreamer got a regular 1640x1232
video stream. I used no ISP 3A, since that requires updating
/etc/cam_iq/IMX219.xml, and I currently lack the knowledge to do that
myself. I set gain an exposure using v4l2-ctl.
I can come back later with the exact command.
…On Thu, 6 Dec 2018, 09:06 Jamess, Huang ***@***.*** wrote:
Dear, cristiklein
Thanks for your quickly reply. But we can not use gstreamer to enable the
2x2 binning mode. Can you share your gstreamer command to us ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlXoU7VhYGIegPoJ4A4oFYvjrmX-nbtks5u2NAggaJpZM4ZErNu>
.
|
Hi,
Here are the commands I used for testing:
```
media-ctl --set-v4l2 '"imx219 2-0010":0[
fmt:SRGGB10_1X10/1640x1232]'
gst-launch-1.0 rkcamsrc device=/dev/vide
o1 ! video/x-raw,width=1640,height=1232,format=NV12,framerat
e=15/1 ! queue name=to-jpegenc ! jpegenc ! multipartmux ! tc
pserversink host=127.0.0.1 port=9999
```
Let me know what other information I can provide you with.
…On Thu, 6 Dec 2018, 09:23 Cristian KLEIN ***@***.*** wrote:
Hi,
I set the sensor mode using media-ctl. Gstreamer got a regular 1640x1232
video stream. I used no ISP 3A, since that requires updating
/etc/cam_iq/IMX219.xml, and I currently lack the knowledge to do that
myself. I set gain an exposure using v4l2-ctl.
I can come back later with the exact command.
On Thu, 6 Dec 2018, 09:06 Jamess, Huang ***@***.*** wrote:
> Dear, cristiklein
> Thanks for your quickly reply. But we can not use gstreamer to enable the
> 2x2 binning mode. Can you share your gstreamer command to us ?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#29 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABlXoU7VhYGIegPoJ4A4oFYvjrmX-nbtks5u2NAggaJpZM4ZErNu>
> .
>
|
Dear, cristiklein |
Thanks Huang!
…On Fri, 7 Dec 2018, 07:02 Jamess, Huang ***@***.*** wrote:
Dear, cristiklein
Thanks for your commit. We will try to enable the 3A of this binning mode.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlXofm6JUi8W6XuvC-IMIq0ku9O5yPrks5u2gSCgaJpZM4ZErNu>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds a new mode to the IMX219 sensor. The sensor returns a 1640x1232 image by returning the average over 4 pixels, 2 horizontally and 2 vertically.