-
Notifications
You must be signed in to change notification settings - Fork 11
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
[FEATURE REQ] Support for NV12 sensor format #113
Comments
Hi! Thanks for opening this feat req! I will move this one to Clightd repo, since it belongs there :) It should not be much work to support NV12, i can arrange that; would you be willing to help me test the implementation? |
Hi, totally missed your reply. Yes, I could definitely help test it. |
Good evening, not to rush or anything but are there any updates on this so far :) |
I just opened #115 :) can you test it? |
Installed it and this is the output, weirdly enough it doesn't even mention the sensor clight --verbose | ** |
You can also quickly test through clightd dbus api: |
I get Also interesting: |
Mora logs, this time what clightd reports back when launching clight: May 14 17:47:40 asahi systemd[1]: Starting clightd.service - Bus service to manage various screen related properties (gamma, dpms, backlight)... |
Actually now, after a reboot, I'm getting a new message: |
Good evening, any news on this? I really want to get it to work. |
Hi! Sorry, haven't had the time to look into it :/
Are you sure you are running Clightd from the HEAD of the linked PR now? |
Anyway, reading https://stackoverflow.com/tags/nv12-nv21/info and https://paulbourke.net/dataformats/nv12/ it seems like NV12 should be very similar yo yuyv, already supported (considering Clightd only cares about intensity). |
In the clight log it shows the clightd version and commit, which is the same as the one in that branch. At this point I have no idea what's going on. When I launch clight it says absolutely nothing about a sensor, I've looked at other people's logs and there's always something to do with a sensor, and I also remember the old version said that my sensor is not detected or something like that. Now there's simply nothing. |
Yes i saw that! I thought that perhaps after the reboot the original Clightd was running instead of the one from the PR head. Never mind :) Can you share the whole Clight log file (https://github.com/FedeDP/Clight/wiki/FAQ#where-is-clight-log) ? |
(W)[10:55:06]{config.c:408} Config file /home/dxwil/.config/clight.conf not found. Clight
Starting options: GENERIC
BACKLIGHT
SENSOR
KEYBOARD
GAMMA
DAYTIME
DIMMER
DPMS
SCREEN
INHIBIT
(I)[10:55:06]{main.c:145} Clightd found, version: 5.10-1cfe352. And then after that last message it hangs |
Hi, I downloaded clight and through another issue found out that only 3 video formats are supported for the sensor. I'm running linux on an M1 Macbook Air and the built-in camera reports NV12 as the format. Is there any way for me to use clight with this built-in camera. Thanks
Driver Info: Driver name : apple-isp Card type : FaceTime HD Camera Bus info : platform:22a000000.isp Driver version : 6.8.7 Capabilities : 0x84200001 Video Capture Streaming Extended Pix Format Device Capabilities Device Caps : 0x04200001 Video Capture Streaming Extended Pix Format Priority: 2 Video input : 0 (apple-isp: ok) Format Video Capture: Width/Height : 1280/720 Pixel Format : 'NV12' (Y/UV 4:2:0) Field : None Bytes per Line : 1280 Size Image : 1382400 Colorspace : Rec. 709 Transfer Function : Rec. 709 YCbCr/HSV Encoding: Rec. 709 Quantization : Default (maps to Limited Range) Flags : Streaming Parameters Video Capture: Capabilities : timeperframe Frames per second: 30.000 (7680/256) Read buffers : 2
The text was updated successfully, but these errors were encountered: