You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Nokhwa only supports raw RGB, in that planar order too AFAICT. But some cameras only output in specific orders, as well as some video decoders (zimg, I think ffmpeg's raw format too?), and produce BGR or GBR for some reason. This is causing some... odd effects, to say the least.
Screenshare pushed out as dummy cam:
RawRGB on bgr format:
I'm also not sure if it's a known (or even related) issue with YUYV422, but uhhh:
And a clean frame from the same source:
The text was updated successfully, but these errors were encountered:
Pushing the data reversed for RGB provides the correct colors and vertical alignment, only horizontally it's still flipped. And that should just be a matter of strides
It entirely fixes it for BGR and I really shouldn't forget to cargo clean in between experimenting
Platform: Windows 10 (x86_64)
Toolchain: both msvc and gcc
rustc:
Nokhwa version: 0.10.4 (latest on crates)
Currently Nokhwa only supports raw RGB, in that planar order too AFAICT. But some cameras only output in specific orders, as well as some video decoders (zimg, I think ffmpeg's raw format too?), and produce BGR or GBR for some reason. This is causing some... odd effects, to say the least.
Screenshare pushed out as dummy cam:
RawRGB on bgr format:
I'm also not sure if it's a known (or even related) issue with YUYV422, but uhhh:
And a clean frame from the same source:
The text was updated successfully, but these errors were encountered: