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
The video splitter component does not support RGB format. This means that since release 0.8, video-port-based raw captures can only be in YUV format. This is probably quite a niche requirement, but it's not good to remove functionality and hence we should strive to re-introduce this capability before a 1.0 release.
The text was updated successfully, but these errors were encountered:
This is turning out to be an interesting one. It appears the resizer can be used to perform certain RGB conversions. The BGR24 format that's usually used for RGB output isn't supported, but BGRA and RGBA are. Given that it's relatively trivial to convert either of these into RGB (just slice out the unused alpha component and re-order bytes if required), this should form a basis for a fix. In addition, we should offer RGBA and BGRA as additional raw formats (simply because it's trivial).
Furthermore, this shouldn't simply be a fix for raw video-port captures - it should probably form the basis for all raw captures. In other words, deprecate the raw_format property, make the format of the capture method the raw format and push all the work into the encoders module so we can stop messing around with the camera's own ports (which prevent things like recording+raw captures from working). This'll also simplify raw RGB captures from:
The video splitter component does not support RGB format. This means that since release 0.8, video-port-based raw captures can only be in YUV format. This is probably quite a niche requirement, but it's not good to remove functionality and hence we should strive to re-introduce this capability before a 1.0 release.
The text was updated successfully, but these errors were encountered: