Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horrible audio quality in all camera apps #11

Open
7ERr0r opened this issue Aug 23, 2022 · 0 comments
Open

Horrible audio quality in all camera apps #11

7ERr0r opened this issue Aug 23, 2022 · 0 comments

Comments

@7ERr0r
Copy link

7ERr0r commented Aug 23, 2022

Hi. There is no way to record with decent audio quality.
All camera apps i've tested have this problem:

  • Default Fairphone camera [1]
  • GCam [1]
  • OpenCamera [2]
  • Quick Video Recorder [2]

[1] Unusable audio. No way to change it
[2] Audio source can be RAW (without denosing), but still codec is 96 kb/s

ffmpeg gives the same AAC 96 kb/s for every video from all the camera apps.

ffmpeg -i VID_20220823_000000.mp4

Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s

Problem is with media_profiles.xml probably like:
https://forum.xda-developers.com/t/how-to-edit-etc-media_profiles-xml-on-android-10-with-magisk.4149989/

Here:
https://github.com/WeAreFairphone/android_device_fairphone_FP4/blob/b3a85dc2d8f781ec168a0ace941bb36c90029267/media/media_profiles.xml

Also, i've found that:

  • MediaRecorder.AudioSource.CAMCORDER is the worst
  • MediaRecorder.AudioSource.UNPROCESSED raw, is a little better

https://developer.android.com/reference/android/media/MediaRecorder.AudioSource#CAMCORDER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant