Is it possible to record video without audio using VideoCapture?

1,033 views
Skip to first unread message

John Zhang

unread,
Jul 7, 2020, 11:50:57 PM7/7/20
to Android CameraX Discussion Group
I have an app which records video using VideoCapture, but I need to grant audio recording permission and it records audio. Is it possible to record just video without audio?

AL HO

unread,
Jul 8, 2020, 9:36:14 PM7/8/20
to Android CameraX Discussion Group, johnr...@gmail.com
Hi John,
Currently, VideoCapture is not publicly released.
Recording a video without audio is possible in the future plan.

Hector Creation

unread,
Apr 29, 2021, 2:05:22 AM4/29/21
to Android CameraX Discussion Group, AL(XiangCheng) Ho, johnr...@gmail.com
Any updates on this.

Android CameraX Discussion Group

unread,
Apr 29, 2021, 3:01:57 AM4/29/21
to Android CameraX Discussion Group, aslamep...@gmail.com, AL(XiangCheng) Ho, johnr...@gmail.com
Thanks for reaching out. We are still working on Video library. Plan to release the first alpha version later this year. Please stay tune!

Balasubramanian Maruthavanan

unread,
Oct 16, 2021, 8:28:20 AM10/16/21
to Android CameraX Discussion Group, Android CameraX Discussion Group, aslamep...@gmail.com, ho...@google.com, johnr...@gmail.com
is this feature available to use?

Gerry Fan

unread,
Oct 16, 2021, 12:30:00 PM10/16/21
to Balasubramanian Maruthavanan, Android CameraX Discussion Group, aslamep...@gmail.com, ho...@google.com, johnr...@gmail.com
The release is available in 1.1.0-alpha10, in library camera-video (but be reminded that this is 1st video capture alpha release, inside alpha10 release package: it is on the release train).
      Audio is configurable with withAudioEnabled(): by default, it is video only(audio off). 

There was another thread talking about the similar thing(asking how to enable audio).

One more thing: like to "sell" you a page here: https://developer.android.com/training/camerax/video-capture (the VideoCapture API overview section might help a little), the sample (tried to repeat some info in the README.md) too :-).  let us know what you think about doc (and sample too), thank you for the question.

(I personally feel the current.txt in the source code is very useful; the intention is that the diagram on the doc page + current.txt  should be sufficient to enable coding: love to know whether it reaches its goal, just let us know)


--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/45c7cd3f-c996-47fd-9f45-e16ad6f701c8n%40android.com.
Reply all
Reply to author
Forward
0 new messages