Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Record video as shown in preview

Open lmJojo opened this issue 4 years ago • 8 comments

The video I recorded with my front-facing camera are always flipped. How can save it as previewed?

lmJojo avatar Nov 12 '21 06:11 lmJojo

You can do this by altering the metadata. Our Camera app doesn't support flipping it in the metadata yet.

thestinger avatar Nov 12 '21 13:11 thestinger

Currently CameraX only supports altering metadata for the images it takes and unfortunately not video (the same reason why geo-tagging isn't supported for video yet). We might need to wait until they make the required changes and include it in one of their releases.

MHShetty avatar Nov 12 '21 13:11 MHShetty

Hi @lmJojo,

A small update related to this feature request...

The CameraX team seems to have considered this feature request (that was earlier made by another user) - https://issuetracker.google.com/issues/194634656#comment9

We'll add this feature to our camera app as soon as CameraX supports it in one of their future releases.

Thanks a lot for making this feature request @lmJojo!

MHShetty avatar May 24 '22 10:05 MHShetty

Thanks

On 24 May 2022 3:36:12 pm IST, Mohit Shetty @.***> wrote:

Hi @lmJojo,

A small update related to this feature request -

The CameraX team seems to have considered this feature request (that was earlier made by another user) - https://issuetracker.google.com/issues/194634656#comment9

We'll add this feature to our camera app as soon as CameraX supports it in one of their future releases.

Thanks a lot for making this feature request @ImJojo!

-- Reply to this email directly or view it on GitHub: https://github.com/GrapheneOS/Camera/issues/61#issuecomment-1135704200 You are receiving this because you are subscribed to this thread.

Message ID: @.***> -- Sent from /e/ Mail.

GurucharanSavanth avatar May 24 '22 12:05 GurucharanSavanth

CameraX now supports this as of 1.3.0-alpha06

Added VideoCapture mirroring APIs, including VideoCapture.Builder.setMirrorMode(int) and VideoCapture.getMirrorMode(). The APIs are useful for applications require the video recording to be consistent with common camera preview behavior, i.e. the rear camera preview is not mirrored but the front camera preview is mirrored.

x86pup avatar Apr 19 '23 21:04 x86pup

Thanks you.I will try it.

lmJojo avatar Apr 20 '23 02:04 lmJojo

We haven't added the feature yet.

thestinger avatar Apr 20 '23 02:04 thestinger

Ok.I'm going to try it in my demo

lmJojo avatar Apr 20 '23 02:04 lmJojo