Any suggestion about recording mirrored video for front camera

140 views
Skip to first unread message
Assigned to leoh...@google.com by wuj...@google.com

Fei Xing

unread,
Oct 20, 2020, 5:49:50 AM10/20/20
to Android CameraX Discussion Group
Hi,

Currently we are using CameraX VideoCapture for simply recording videos, but I got a problem don't know how to resolve. In CameraX, Preview is auto mirrored for front camera, but the VideoCapture not and video file is not like jpeg image file which can include some meta data to decorate the content file. So the result is the recorded video for front camera is inconsistent with preview. Do you have any suggestion for this issue?

Thanks a lot.

Scott Nien

unread,
Oct 22, 2020, 4:12:21 AM10/22/20
to Fei Xing, Android CameraX Discussion Group
Hi Fei , 
As you might know,  CameraX VideoCapture is not a public API yet.  This means it is not fully tested and might contain lots of bugs.  We understand that video recording is a essential feature for camera app so we plan to have the VideoCapture alpha-released in the early 2021.  We will consider adding this feature in our VideoCapture Alpha. 

Fei Xing

unread,
Oct 22, 2020, 4:20:56 AM10/22/20
to Android CameraX Discussion Group, Scott Nien, Android CameraX Discussion Group, Fei Xing
Got it, thank you~

Fei Xing

unread,
Aug 3, 2021, 2:13:05 PM8/3/21
to Android CameraX Discussion Group, Fei Xing, Scott Nien, Android CameraX Discussion Group
Hi,

Almost one year has passed,  is there any progress or update on this feature?

Android CameraX Discussion Group

unread,
Aug 3, 2021, 5:19:15 PM8/3/21
to Android CameraX Discussion Group, xi...@sea.com, Scott Nien, Android CameraX Discussion Group
Hi there,

Thanks for following up! We're actually working on the video API now - you can see the process and the source code at https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:camera/camera-video/

This has not yet launched in alpha as the team is working on going through our internal review process. Once it launches we will announce it here and you should be able to see a build in Maven. If you're interested in trying it out sooner you are welcome to do a local build and try it out!

Thanks,
-Eric

Reply all
Reply to author
Forward
0 new messages