AudioVideoRecordingSample icon indicating copy to clipboard operation
AudioVideoRecordingSample copied to clipboard

Simultaneous audio and video recording sample using MediaCodec/MediaMuxer

Results 23 AudioVideoRecordingSample issues
Sort by recently updated
recently updated
newest added

When doing a recording on the Samsung S4 with OS5.0.1. I got this crash log 11-18 07:53:25.045 18723-20104/com.serenegiant.audiovideosample E/ACodec: signalError(omxError 0x80001009, internalError -2147483648) 11-18 07:53:25.055 18723-20103/com.serenegiant.audiovideosample E/MediaCodec: Codec reported err...

I am using your code to record video. It is working fine of few phone. But i am getting lag in few phones like lenovo k8 plus/ pixel 2

I'm using a Samsung Galaxy tab A 8" 2019. I set resolution to 1600x900 and seems that the first video frames of the recording are like in slow motion. I...

How can I switch the camera from front to back and back to front with this code? I have used lot of code to switch camera but always I am...

Fatal Exception: java.lang.IllegalStateException at android.media.MediaCodec.getFormatNative(MediaCodec.java) at android.media.MediaCodec.getOutputFormat(MediaCodec.java:2515) at com.BattleAppLLC.BattleApp.view.squarevideo.encoder.MediaEncoder.drain(MediaEncoder.java:303) at com.BattleAppLLC.BattleApp.view.squarevideo.encoder.MediaEncoder.run(MediaEncoder.java:129) at java.lang.Thread.run(Thread.java:818) ![screen shot 2017-01-19 at 3 52 49 pm](https://cloud.githubusercontent.com/assets/6820710/22098086/63d6d16e-de5f-11e6-8eea-ceb3a49bc91f.png)

the bbp is short for bits per pixel. I can not understand why it is float number