How to use androidx.camera.core.VideoCapture to support pausing and resuming video recording

177 views
Skip to first unread message
Assigned to tonyt...@google.com by wuj...@google.com

yihao wu

unread,
Jul 5, 2023, 6:43:06 AM7/5/23
to Android CameraX Discussion Group
How to use androidx.camera.core.VideoCapture to support pausing and resuming video recording?I don't want to use the new VideoCapture because I have some problems in using it and I can't support our project. Thank you.

tonyt...@google.com

unread,
Jul 5, 2023, 12:53:44 PM7/5/23
to Android CameraX Discussion Group, wuy...@insta360.com
Hi,
Thanks for the question. Unfortunately, the legacy VideoCapture doesn't support pause/resume feature and it's deprecated now. We strongly suggest migrating to androidx.camera.video. May we know what blocks your project from adapting it?

yihao wu

unread,
Jul 9, 2023, 9:44:50 PM7/9/23
to Android CameraX Discussion Group, tonyt...@google.com, yihao wu
When I use the new VideoCapture, some phones don't use 4K, but they support 4K recording.
Is there any way to support the old VideoCapture?
For example, I create a MediaRecorder instead of using VideoCapture to record it?

tonyt...@google.com

unread,
Jul 12, 2023, 5:08:34 AM7/12/23
to Android CameraX Discussion Group, wuy...@insta360.com, tonyt...@google.com
That's not possible.
We are aware of the 4K issue and are planning to have an improvement on it.

Reply all
Reply to author
Forward
0 new messages