Android camera preview and encode to mp4 using MediaCodec and MediaMuxer.
CameraPreview is hosted in the following web site
https://github.com/icylord/CameraPreview
If you think the Android project CameraPreview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of CameraPreview.
Item | Value |
---|---|
Java File Count | 12 |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Required Permissions | android.permission.CAMERA android.permission.WRITE_EXTERNAL_STORAGE |
CameraPreview has the following Java source files.
android.media.cts.EncodeAndMuxTest.java android.media.cts.EncodeDecodeTest.java android.media.cts.EncodeDecodeTest.java android.media.cts.EncoderTest.java android.media.cts.MediaMuxerTest.java org.camera.activity.CameraSurfacePreviewActivity.java org.camera.activity.CameraSurfaceTextureActivity.java org.camera.camera.CameraWrapper.java org.camera.encode.VideoEncoderFromBuffer.java org.camera.encode.VideoEncoderFromSurface.java org.camera.preview.CameraSurfacePreview.java org.camera.preview.CameraTexturePreview.java