Camera rotation and recording event with passthrough

Current Development version likely to have breaking changes
Post Reply
phil56
Posts: 11
Joined: Mon Aug 09, 2021 1:40 pm

Camera rotation and recording event with passthrough

Post by phil56 »

Hello,
I'm starting to test version 1.37 (1.37.41), which is very promising by the way, and I'm encountering a small problem. I have a camera configured with Orientation = Inverted and Video Writer = Camera passthrough. When viewed, the image is fine, but the recorded events don't apply the rotation.
I didn't have this problem with version 1.36.

Thanks in advance
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Camera rotation and recording event with passthrough

Post by iconnor »

When we do passthrough, there is a flag in the mp4 header for transformations like rotate. IIRC there isn't one for Invert. I thought I had put in a warning for this, but perhaps not. I'll have to check the code.

It is generally better to do the transformation in the camera if you can.
phil56
Posts: 11
Joined: Mon Aug 09, 2021 1:40 pm

Re: Camera rotation and recording event with passthrough

Post by phil56 »

Hello,

Thank you for your reply, and yes I can do this inversion in the camera.
My message was only to point out the change in behavior between these two versions.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Camera rotation and recording event with passthrough

Post by iconnor »

I just did a test here and it is working fine for me, so there must be another variable at play.

Is the recorded video stored as mp4? Is it h264 or h265? What is set for codec in the top right?
Post Reply