Replies: 4 comments 4 replies
-
Interesting work. |
Beta Was this translation helpful? Give feedback.
-
I got a terrible batch of 4 (Yi 1080p Home 9FUS y20ga 12.2.0.2_202212191129 Allwinner-v1). The contrast is so bad I can see a white halo around black holes and outside everything is too bright in sunlight. I even swapped the lens assembly with an old mstar model, and it made that worse, too (but not that worse). Not sure what is going on, maybe the lens is bad? So I tried to use this precompiled v4l2-ctl and it kinda works. Brightness works, but changing contrast makes everything orange, and after the first call I get a segfault and "resource busy", every attempt needs a reboot. Is something different between Allwinner v1 and v2? I don't know how to cross compile it. (sidenote, the update to v12 firmware shifted the address of the serial number ahead by four) Yea, the quality is terrible, this is about two meters away. There is some artifical image enhancing going on. No other explanation for the halo effect. Those are mounting holes for shelves. |
Beta Was this translation helpful? Give feedback.
-
Hi there, @krakowski thanks for your work - I found out that my robot vacuum l10s ultra is using exactly the same camera as your device. Could you perhaps upload a arm64 build of your binaries, perhaps even a statically linked one? I am trying to access the videostream, however it fails with:
There is a camera test binary that gives this output - this gives me hope that I can access the camera with your binary:
|
Beta Was this translation helpful? Give feedback.
-
Wow awesome @ForksCoolStuff . how do you use the binary? Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I recently compiled v4l-utils to display the properties of the video nodes and generate an image of the media pipeline. Since all
/dev/video*
nodes are in use byrmm
and killingrmm
results in a reboot, I simply killedrmm
and queried all data fast enough before a reboot happened. My model isRFUS @ 12.0.35
. Here is what I found out.It looks like this is the sensor used (
GC2053
) inside my device: https://taoic.oss-cn-hangzhou.aliyuncs.com/6446/product/XTW2020_1589249333000.pdfControlling
/dev/video3
influences the RTSP output. For examplev4l2-ctl --device /dev/video3 -c brightness=100
increases the brightness. One interesting setting I found is the ISO setting, which allows to set a lower ISO number.All other video device nodes (
/dev/video0
,/dev/video1
,/dev/video2
) are used byrmm
and returnResource busy
when trying to open them.The pixel format coming from the camera's sensor seems to be
RAW10
(SGRBG10
).Here's the compiled version, if anyone wants to try it out, too : v4l-utils.zip
@roleoroleo Do you know how one can kill
rmm
without triggering thewatchdog
? I would like to try accessing the video stream through/dev/video0
(1920x1080) and maybe compile https://github.com/pikvm/ustreamer for my device. Ideally I would like to add another video node (e.g./dev/video4
) which gets connected to one of the media pipeline entities, so that I could process the raw frames (without overlays and preprocessing). Haven't found a way to accomplish this yet, though.Media Pipeline Topology (
media-ctl --print-dot
)Text Version (
media-ctl --print-topology
)Video 4 Linux 2 Information
v4l2-ctl --device /dev/video0 --all
v4l2-ctl -d /dev/v4l-subdev0 --get-subdev-fmt 0
Beta Was this translation helpful? Give feedback.
All reactions