Skip to content

SER saving bug for YUYV recording #518

@vladtcvs

Description

@vladtcvs

Steps to reproduce:

  1. (optional) Select crop area
  2. Select YUYV mode for v4l2 camera
  3. Select save to SER
  4. Record video

And oaCapture creates SER file with resolution, equal to specified in crop (or original resolution of video, if no crop)

But YUYV format require some sort of conversion, so if you just crop RAW YUYV frame to, for example, 200x200 pixels, after conversion to (Y, Cb, Cr) or (R, G, B) the resulting image will be cut, and only top half of the image will be present.

Here is an example of 200x200 cropped image, created by oaCapture, when saving to SER

frame

And after decoding it, it transforms to
example

which has size 200x100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions