Posts
1866
Following
92
Followers
171
Riding horses, hacking computers, phones and smartwatch.
@ozzelot That's... quite clever and true. But often having some code is better than having no code...
0
0
0
@eevee I used LLM to translate into czech and get summary. Should I feel bad? :-). There are good uses for LLM, and yes, that includes "startrek", but someone will have to do that. And yes, I tried to start (but did not get far, so far).
1
0
0
@sesivany @dodo1095zd @mcepl V prenosove siti se problemy siri rychlosti svetla. Proto byva zvykem sit shodit do konfigurace "po jednom selhani" uz ve chvili, kdy se o tom dozvim.

Coz vlastne moc nevysvetluje. Pockal bych na nejake vysetrovani.
0
0
0
@dos That gstreamer code in C is scary. Multiple threads, no locking, what could go wrong?
1
0
0
@dos Do you have some ideas how to do viewfinder easily?
1
0
0
@datenwolf Thanks a lot. I took a look and got it to build but not run so far. I got distracted by.. other camera code and real life. https://gitlab.com/tui/tui/-/tree/master/icam?ref_type=heads (We had blackout today).
1
0
0
@dos I don't believe gstreamer can handle complex cameras. But yes, eventually this code should disappear into libraries somewhere.
0
0
0
Mam tu lahvicku s napisem "sampon", dvema jednorozci a dvema srdicky. A otazka je -- je ten sampon pro me nebo pro zlutaka? 🙂.
0
0
0
@mkyral @programydovoleb "Chce-li nekdo zastrelit Bobosikovou, dobre. Neni to nase kamaradka." Jak to zni? Ta pani neni nase kamaradka, nechme karmu at ji to spocita, a prosim jdete k volbam a nevolte komunisty.
1
0
0
@programydovoleb "Chce-li nekdo zastrelit Bobosikovou, dobre. Neni to nase kamaradka." Jak to zni? Ta pani neni nase kamaradka, nechme karmu at ji to spocita, a prosim jdete k volbam a nevolte komunisty.
0
0
0
Ty kupy mrtvych civlistu v Gaze zacinaji byt tak velke, ze "smrt IDF" se pomalu presouva z kategorie "hnusny extremismus" smerem ke kategorii "vlastne docela rozumny pozadavek na zastaveni genocidy" :-(.

Billy Bragg (snip)
Anyone unable to understand why thousands of people joined Bob Vylan in chanting ‘Death, Death to the IDF’ at Glastonbury should read the article below. (snip)

theguardian.com
Israeli military used 500lb bomb in strike on Gaza cafe, fragments reveal
0
0
1
@dos Okay, I pushed code to https://gitlab.com/tui/tui/-/tree/master/icam?ref_type=heads . Debugging this may be a bit "fun".

Do I guess correctly that shaders can do arbitrary resolutions, such as 800x600?

I like the v4l+shaders integration. I'm not sure if I like the v4l+shaders+gstreamer integration.
1
0
0
@dos Yeah, I played a bit. Nice. But segfaults, occasionaly, and may segfault more when I switch to matroskamux. So I guess crash may be gstreamer-related? :-). There's also some kind of noise in bottom right corner, maybe that's related, too.
1
0
0
@dos Thanks, I got it to work. I'm putting it into tui repository... and will probably need to reindent it.

For me, there's about 50% CPU usage, so there's still some room.

Yes, YUY2 will be faster; it will also have lower color resolution.

And agreed, there's nothing magic about fences. There's nothing magic about riding horse w/o reins and nothing magic about flying 737, either :-).
0
0
0
@dos Yes, there's more work to be done in the kernel; sometimes camera does not work after reboot, bayer-10 modes are not supported, ... :-(. And yes, it will take more power, but with phase-detection AF, it should be significantly better camera.
1
0
0
@dos :-) Hopefully. I'll believe things when I see them running locally.

BTW there's one more important thing this can probably do: take full-resolution photos while recording video.
1
0
0
@dos Thank you! I'll take closer look tomorrow or over the weekend. In the meantime, would you have Makefile or build command that goes with it?
1
0
0
@dos Exactly. That's a bit of big deal. That's why I'm trying to make sure this code does not go away. I had phase-detection auto-focus working at one point, but decided it is unusable as I did not see a way to scale down images quickly enough.

Plus it also adds possibility of zooming.
1
0
0
@dos Fences; that must be some kind of dark magic.

This code seems too good to be true. So, just to be sure, and in case you disappear tomorrow, can I add /* Copyright 2025 Sebastian Krzyszkowiak, GPLv2 */ and act according to that?
1
0
0
@fell @zaunz @postmarketOS The "pretty zoomed in" may be hardware limitation. The "90% range" is likely normal, too -- that's just how focus works. (Diopters, 1/m). But I like this. this is a real progress compared to my information from yesterday.
0
0
0
Show older