Friends don‘t let friends touch USB internals 🙃
=> More informations about this toot | More toots from manawyrm@chaos.social
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
@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
@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
@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
@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
@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 This content has been proxied by September (3851b).Proxy Information
text/gemini