Ancestors

Written by Manawyrm | Sarah -> FOSDEM on 2024-12-18 at 22:29

Friends don‘t let friends touch USB internals 🙃

=> View attached media

=> More informations about this toot | More toots from manawyrm@chaos.social

Written by Manawyrm | Sarah -> FOSDEM on 2025-01-04 at 19:45

Update: @Toble_Miner and I won! This actually works now :)

https://kittenlabs.de/16bit-lvds-fx3-grabber/

=> More informations about this toot | More toots from manawyrm@chaos.social

Written by ash, legally :neocat_flag_genderfluid: on 2025-01-04 at 20:36

@manawyrm@chaos.social "Due to limitations in USB UVC descriptor/color format support, this firmware reports itself to the OS as a YUYV/YUV2 device, in other words a 16bit per pixel color video signal. This will create wrong color images when viewed on regular software (like VLC Media Player), the raw stream can be viewed & interpreted using Video4Linux, GStreamer, etc. though."

... actually I'm not sure I want to know x.x

=> More informations about this toot | More toots from darkphoenix@not.an.evilcyberhacker.net

Written by Manawyrm | Sarah -> FOSDEM on 2025-01-04 at 20:41

@darkphoenix the USB UVC spec does have a format code for grayscale high bit-depth images. I've tried to set this, but the only result was that neither Windows, VLC, GStreamer, etc. knew how to handle the video device in any way.

So instead I just report YUYV and that's good enough to get some output from VLC for debugging...

If you then write your own tooling to parse the actual 16bit values, you can also just re-interpret the bytes properly.

=> More informations about this toot | More toots from manawyrm@chaos.social

Written by BenBE on 2025-01-04 at 20:45

@manawyrm I wonder how programs would react, if you were to report 1024 color channels with 12 bit each …

=> More informations about this toot | More toots from benbe@social.chaotikum.org

Toot

Written by Manawyrm | Sarah -> FOSDEM on 2025-01-04 at 20:47

@benbe i can't change anything about the actual data format -- that's very much 1:1 hardwired the format coming in from the sensor.

so it's just an interpretation detail in the end.

=> More informations about this toot | More toots from manawyrm@chaos.social

Descendants

Written by BenBE on 2025-01-04 at 22:16

@manawyrm Was more thinking of creating a spectral camera sensor where multiple images are overlaid to one image with several color channels for several distinct spectral lines.

=> More informations about this toot | More toots from benbe@social.chaotikum.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113772046864144333
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
481.805109 milliseconds
Gemini-to-HTML Time
2.277425 milliseconds

This content has been proxied by September (3851b).