![]() I tried to set the audio source and audio encoder parameters in AUDIO_SOURCE_MIC and AUDIO_ENCODER_AMR_NB no matter what kind of the application I launched. Video record used AUDIO_SOURCE_CAMCORDER and AUDIO_ENCODER_AAC_ELD parameters.Īnd audio record used AUDIO_SOURCE_MIC and AUDIO_ENCODER_AMR_NB. StagefrightRecorder: clipAudioSampleRate: encoder 1Īs you can see the StagefrightRecorder will set different parameters between audio record and video record. StagefrightRecorder: clipAudioBitRate: encoder 1 StagefrightRecorder: setOutputFile: 36, 0, 0 StagefrightRecorder: setParamAudioEncodingBitRate: 12200 StagefrightRecorder: setParameter: key (audio-param-encoding-bitrate) => value (12200) StagefrightRecorder: setParameters: audio-param-encoding-bitrate=12200 StagefrightRecorder: setParamAudioSamplingRate: 44100 ![]() StagefrightRecorder: setParameter: key (audio-param-sampling-rate) => value (44100) StagefrightRecorder: setParameters: audio-param-sampling-rate=44100 StagefrightRecorder: setParamAudioNumberOfChannels: 1 StagefrightRecorder: setParameter: key (audio-param-number-of-channels) => value (1) StagefrightRecorder: setParameters: audio-param-number-of-channels=1 ![]() StagefrightRecorder: setParamAudioEncodingBitRate: 96000 StagefrightRecorder: setParameter: key (audio-param-encoding-bitrate) => value (96000) StagefrightRecorder: setParameters: audio-param-encoding-bitrate=96000 StagefrightRecorder: setParamVideoEncodingBitRate: 3000000 StagefrightRecorder: setParameter: key (video-param-encoding-bitrate) => value (3000000) StagefrightRecorder: setParameters: video-param-encoding-bitrate=3000000 StagefrightRecorder: setVideoSize: 1280x720 StagefrightRecorder: setVideoFrameRate: 30 StagefrightRecorder: fix the Audio source I captured two logcats, one is the only audio record, another is video record.Īfter comparing these two logcats, I found there is a difference between audio record and video record. I personally think this method is informal. Hello there, I hope you're all doing well.įinally, I fixed this issue up. I also attached my wm8962.c for reference. Here I attach a video link for demonstrating this issue. But the video always has the beeping sound. I didn't play any audio file while the camera is recording. ![]() Then we can clearly hear there is a beeping sound in my video. There is no noise or beeping sound while we playback the recording file.īut after I used a variety of camera applications to film video. We use a different kind of Voice Recorder applications to record voice. We take an Analog MIC to connect the wm8962 for recording audio. We use a UVC camera for snapshot and video recording. We porting a wm8962 codec on i.xm6 duallite. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |