@linmob Is there any progress on sound in videos?
@ati1 Sorry, what do you mean?
Video recording is still experimental on mainline in general. I recorded a short clip in the dark (on a libcamera stack and with a person in it, won't share) and colors are off and it's upside down, but it has sound.
@linmob I meant Librem 5. Good to hear things are moving in the right direction.
@ati1 Thanks for the answer! I just tested with my Librem 5 (postmarketOS v25.06, frankensteined with Millipixels 0.23.0 (0.22.0 ships with the distro), and it records sound and it includes it in the video - it does not sound great though (some hissing and other artefacts), but I could make out what I had said.
@pavel This is it, correct? https://gitlab.com/tui/tui/-/tree/master/ccam @ati1
@pavel Thank you! Since you're also using a patched kernel, did you try it with megapixels2 yet?
@pavel Thanks, I was just thinking about photos right now. I'll play with the config and see if I can fix the colors :-) (Assuming I can figure out where Flatpak puts the config files ;-) ) @martijnbraam
@pavel @martijnbraam @linmob What you get from the sensor is already linear.
@pavel @martijnbraam @linmob I was looking at these results some time ago and they turned out to be nothing but clipped data and lack of data pedestal handling.
@pavel @martijnbraam @linmob After fixing Megapixels' tool, the result is linear up until the image starts clipping (at around 0.6 in this case). Since that tool averages the values across the whole frame, what you're seeing above that is lens shading.
@pavel @martijnbraam @linmob When you take only a few pixels from the center (with G channel clipped at the very top):
@pavel @martijnbraam @linmob No, that's clipping. My light source was 5% too bright, so you can see that it stays linear up until it clips.
@pavel @martijnbraam @linmob Same thing, but brighter.
While there will be some tiny non-linearity if you look really close (there are no perfect sensors after all), it's absolutely nowhere even close to 5% and not really something you have to concern yourself with for photography :P
@pavel @martijnbraam @linmob You would need a more rigorous setup to actually see that non-linearity, what's here is still more of an artifact from averaging bunch of pixels. When you take just a single one, it's below the noise floor.