Question MIUI´s stock cam doesn´t use media_profiles.xml? - Xiaomi 11T Pro

While i tried to raise the bitrates for my Mi 11T Pro,
It works for all profiles except when changing to H265 (HEVC) in the settings.
Does it use a different system config or does it use its own and i have to decompile and Modify the App to raise the bitrate?

Related

Is there any working fix for the poor audio when recording videos? (SOLVED)

It looks like the culprit is too aggressive noise cancellation. Even when recording in my room I can hear the sound is distorted a bit.
Update to latest
Enviado desde mi MI MAX 2 mediante Tapatalk
Dark_AJ9 said:
Update to latest
Enviado desde mi MI MAX 2 mediante Tapatalk
Click to expand...
Click to collapse
It doesn't help.
I've found a proper fix that actually works.
Mi Max 2 workaround for noise cancellation mess when recording video.
https://drive.google.com/uc?id=0BwsS2VrtI6iAZWZNNUFhTk96Wkk&export=download
Your device needs to be rooted.
Root Explorer app is recommended.
1)Make backup of audio_platform_info and mixer_paths_mtp (/system/etc/)
2) Write down these files' permissions (rw-r-r-)
3)copy-paste new files from the archive.
4) Fix their permissions.
5) Reboot.
Audio volume settings in the new files are kinda aggressive(90), so you'll definitely have to decrease your multimedia volume in MIUI to ~30% . It depends on your headphones,
Now when you record video you won't get audio distortions coz of noise cancellation anymore.
If sound is too loud or you want to decrease mic sensitivity, you can edit mixer_paths_mtp yourself. Look for "90" values. Actually I think you can easily reduce audio volume to 80 and it will be fine ..and safer.
Here is the link to the original poster. https://4pda.ru/forum/index.php?showtopic=793497&st=360#entry57205432 (if u wanna do it manually yourself then DON'T change already existing values
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="1"/> <device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="1"/>
in audio_platform_info. You need to add the new values at the end
Use chrome to translate it.
PS I've tried fluence method but it caused echo when talking on the phone.
Click to expand...
Click to collapse
Is it really work? I'll try, but not sure. Did you tried it?
Sorry for my bad english
Anyone tested it in Max 2 who can confirm.
Put "Cinema fv-5 pro" app
I fixed my metalic noise problem on my Mi Max 2.
Install the app Cinema FV-5 Pro.
The noise you ear is do to low mp3 bandwith.
With this app you can increase the audio quality.
In the app go to settings, click on:
- audio-source: built in mic
- custom audio settings
- enconding format: automatic
- audio channels: stereo 2
- audio bitrate 120000
- sampling rate: 44100
That worked for me.

Xiaomi Redmi K20 Pro video recording

I own a Xiaomi Redmi K20 Pro. As you might be aware that it rocks Qualcomm Snapdragon 855. Please check out the specs of SD 855 on the web, if you don't know already.
The chip supports HDR10+ recording at the hardware level. While I understand that you need to have a supporting camera lens to record with that color gamut, I have found it to be disturbing that the metadata of the video recorded on the camera shows Rec.601 as the record profile with Y'Cb'Cr of 4:2:0.
I want to know whether is it possible to record on this device in Rec.2020 or at least Rec.709? Does anyone have any idea?
Additionally, the chip supports 802.11ax(which I guess uses 60GHz spectrum). How to check if the fone also supports WiFi connection in this band and the WPA3?
Wow, surprisingly not a lot of people are aware of this issue.
You cloud try FreeDcam from GitHub.
You'll have to change the profiles via profile editor.
I am able to record videos in Rec.2020 using the same app on Asus 8Z.
Check out the attached screenshot to see my settings to shoot video in 10bit Rec.2020
Though, utilising the same is a pain in post processing platform (Davinci Resolve), but I fortunately found a the correct way to transform the color space.

How to edit /etc/media_profiles.xml on Android 10 with Magisk

The fine people at OnePlus hardcoded a maximum audio bitrate of 96000Bps into /etc/media_profiles.xml and even camera apps like Cinema 4k that provide the option of setting a higher bitrate with external microphones are overridden by this standard value.
With Android 10 it seems there is no way to edit this file and have an app read a higher value such as 320kBps.
From what I understand there is a Magisk module that lets you edit build.prop, so I wonder whether there is a way to achieve this with a similar approach?
Same situation here. I need more video bitrate for recording (60fps UHD)
Copy the file to your internal storage, edit it the way you want it and then create a Magisk module to systemlessly replace the file.
Done.

Question Anyway to adjust bitrate with stock app?

Hello,
While I can use mcpro24fps, it would be nice to be able to adjust bitrate from the stock app as well.

General Deleted

Deleted
Hi! I've tested the mod but it's not working, bitrate is still at 96, test with "media info" from Google play...
I think you need to modify the file from /odm/etc/, those from vendor are not used by android anymore. Check my magisk module regarding what files I've changed and how I've did it, here: https://forum.xda-developers.com/t/...-recording-quality-mod-magisk-module.4587667/
I will also include a higher bitrate, it helps a little, but I'm more focused on reducing the white/static noise and tuning the equalizer...
Keep up the good work!
I test it with stock RUI C10 EU, with stock camera on 4K 60FPS but again the bitrate is 96kbps.
Thanks for letting me know I'll try to do some more revisions on this
Temporary removing file to prevent further problems for people

Categories

Resources