How to properly Record Video on festivals? - Xiaomi Redmi Note 5 Pro Questions & Answers

I cant properly Record videos when loud music is involved. The sound is way too loud and muffled.
Is there any solution to this.
On stock camera and Gcam noice cancellation is being used making it sound even worse.
I found out that in Open camera choosing "unprocessed" in sound options fixes the things a little but still

Unfortunately not really. It seems that they simply screwed up the settings for ACG (automatic gain control) and audio drivers regarding video audio recordings. Most of the Xiaomi devices suffer from that. They do not care about that. It´s such a simple and basic function for a smartphone and I´m sure that hardware used could easily handle high gain audio inputs like on concerts or festivals, but the settings and config they choose to give us simply cripples the device.
It´s a shame really. There is a camera app called Footej Camera that allows you to adjust the input gain settings for video - that could be worth a try.
Also, if you´re rooted and are experienced with modifying system files you could try to modify mixer_path files to get better results. See for example thread: https://forum.xda-developers.com/redmi-note-5-pro/help/audio-recording-lacking-bass-t3814184
K.

Related

[Q] Sound "hacks", possible or not?

Hello.
The Motorola Defy, when used with PowerAMP, seems to sound reasonably good.
But... when you adjust PowerAMP's preamp and the EQ and get the volume to sound a lot higher than what you get with the stock player/media effects ... some songs sound distorted.
On the other hand... I've read about the Samsung Galaxy S and it's apps "Voodoo Sound" and "Galaxy Tuner".
Those apps seem to manipulate the hardware directly (instead of software preamp & EQ like PowerAMP seems to do). Apparently the Samsung has a dedicated Wolfson audio chip, so I suppose that's why they can do all of that.
So... the question is... can something of this be applied to a Motorola Defy? Even if it doesn't have any dedicated sound chip, could the hardware be manipulated in some way to achive something like what the Samsung apps do ?
I'm also remembering some mp3 players that could deliver more volume, but due to local european laws were forced to lower their output power... and then some people hacked the firmware and "erased" this limitation.
What I would like is, basically, more power, more volume thru the earphones. Could this be possible for the Motorola Defy ?
A side-note..
I am always curious when someone wants to have their media player louder:
Why?
Have you messed up your hearing somehow? Don't you use earplugs or headphones? Do you listen to music in very noisy environments... while vacuum cleaning perhaps?
That said, perhaps you could be a bit more specific as to what the applications for the Galaxy do exactly if you want to mimic their functionality on the Defy.
I think he's refering to hacks that adjust the frequency respon or/and adjust the software directly tied to the hardware for a more hi-fi experience. Not just meaning getting higher volume or changing eq-settings.
Just googled real quick and come cross this:
http://forum.xda-developers.com/showthread.php?t=735918
Sent from my MOTO Defy
I don't know of any mods/hacks but PowerAMP is able to play flac files.
Cyanogenmod includes a dsp app.
It has equalizer etc. pp.
You can also use it on other roms with root, afaik... (had it on hd2 sense rom) just google.
naenee said:
[...]
Why?
[...]
That said, perhaps you could be a bit more specific as to what the applications for the Galaxy do exactly if you want to mimic their functionality on the Defy.
Click to expand...
Click to collapse
I wan't my music played louder because... I wan't it played louder.
OK, I'll explain it to satisfy your curiosity
I usually play music when I'm working in loud or busy environments and I need to "focus" (intended pun, as I'm a photographer). I can't use canal earphones, so I sometimes need to use higher volume levels... wich the Defy doesn't seem to have, or at least not without distortion/clipping.
Regarding being more specific... don't you find specific enough the names of the 2 apps I've already given ?
Voodoo Sound
Galaxy Tuner
They work together and can adjust the Galaxy's headphone amplifier analog gain, thus increasing the volume noticiably without distortion, or so it seems.
These programs adjust some parameters in the Galaxy's audio chip, so the quality of the resulting sound is apparently better than waht you get from software EQ.
You can find a more complete explanation about all the possibilities here:
galaxyroot.com/guide-how-to-set-voodoo-sound-and-galaxy-tuner
(can't post links yet)
I can live with Defy's audio quality, but I'd want to prevent the distortion and the clipping I get when using PowerAMP to increase the volume.
K r i ll e said:
I think he's refering to hacks that adjust the frequency respon or/and adjust the software directly tied to the hardware for a more hi-fi experience. Not just meaning getting higher volume or changing eq-settings.
Click to expand...
Click to collapse
Exactly that. I want to know If it is possible to do that (or something close to that) with Defy's audio hardware.
domenukk said:
Cyanogenmod includes a dsp app.
It has equalizer etc. pp.
You can also use it on other roms with root, afaik... (had it on hd2 sense rom) just google.
Click to expand...
Click to collapse
The DSP app makes software adjustments. It can't prevent clipping or distortion... it can do a better job than PowerAMP, at best, though I really doubt that.
--------
In short: I wan't to know if it's possible to adjust parameters of the Defy's audio hardware to improve the sound. What "normal" audio apps do is simply adjust the audio data via software manipulation, but they're bounded by what the hardware allows.
I want to tweak the hardware (or, better said, the software that the hardware runs internally)
So... the "developers" part of this forum is just a wish... nobody knows a word about this ?
bokeron2020 said:
So... the "developers" part of this forum is just a wish... nobody knows a word about this ?
Click to expand...
Click to collapse
The "developers" are busy "developing" software and are not here simply for your beckon call when you want something made.
Erra said:
The "developers" are busy "developing" software and are not here simply for your beckon call when you want something made.
Click to expand...
Click to collapse
So what's the point in having a forum for people so busy that can't visit the forum or answer any questions ?
We'll... at least you weren't doing anything important. Thanks for answering... though I expected a more informative answer... but, alas, you're not a busy software developer developing software.

High-pass filter on audio

Hi there, fellows HOX users,
There were several topics about HOX's poor audio quality when capturing video or recording through voice apps, but still, there weren't any solutions how to solve the lack of frequencies down below ~100-200hz.
I have experience working with sound production, recordings, so I know that these limitations are only made by software. In that case, there must be some kind of solution to improve audio recording quality and enjoy HOX at 100%.
I tried editing srs_global.cfg (found in /system/etc/soundimage) (there was a guy who tried to improve the sound of the phone's loudspeaker and he kinda managed to do it by editing the file), by changing high-pass filter frequency in every "device"
//BLOCK: (srs_hpf_0) HiPass - Device 0
//=-=-=-=-=-=-=-=-=-=-=-=-
srs_hpf_0:hipass_order = 4 // Filter Order -
srs_hpf_0:hipass_frequency = 60 // Filter Frequency -
srs_hpf_0:hipass_is32bit = 1 // Filter Precision (16bit when 0) -
srs_hpf_0:hipass_skip = 1 // Skips High Pass Filter when true - toggle
Click to expand...
Click to collapse
but there aren't any results.
I don't really understand the types of devices and that they do (WOWHD, TruEQ, CSHP and so on).
Maybe there is any other cfg files who process audio input, because it's the same high-pass filter when recording on internal mic and with external 3.5mm mic.
Let's try to solve this problem everybody, because, as HTC support said
HTC is not designed for capturing things in loud environments
Click to expand...
Click to collapse
Yeah, whatever... It can do it!
STIFF. said:
Hi there, fellows HOX users,
There were several topics about HOX's poor audio quality when capturing video or recording through voice apps, but still, there weren't any solutions how to solve the lack of frequencies down below ~100-200hz.
I have experience working with sound production, recordings, so I know that these limitations are only made by software. In that case, there must be some kind of solution to improve audio recording quality and enjoy HOX at 100%.
I tried editing srs_global.cfg (found in /system/etc/soundimage) (there was a guy who tried to improve the sound of the phone's loudspeaker and he kinda managed to do it by editing the file), by changing high-pass filter frequency in every "device"
but there aren't any results.
I don't really understand the types of devices and that they do (WOWHD, TruEQ, CSHP and so on).
Maybe there is any other cfg files who process audio input, because it's the same high-pass filter when recording on internal mic and with external 3.5mm mic.
Let's try to solve this problem everybody, because, as HTC support said
Yeah, whatever... It can do it!
Click to expand...
Click to collapse
Don't mess with HPF, REALLY DON'T!
I have been experimenting with SRS trumedia 51 and music, HPF messes up when enabled!
these settings you have posted are from SRS_global which won't really do much, install musicBox and you can get SRS working...
There is a reason why you sould not enable HPF without know what values are right, I tried this and it made a mini explosion noise (a sqeek then a loud POP) when starting audio, I highly recommed you do not mess with it. Anyways, SRS will NOT do anything with audio recording, your best place to find audio recording values are in the media_profiles.xml in /system/etc
SRS has nothing at all to do with recording audio, only to output the SRS effect.
I hope this info helps
WOWHD is SRS WOWHD, this is a sound effect which enables a true surround sound experience.
TruEQ is SRS's native EQ settings, not much to say here...
CSHP is SRS CS Headphone. Or as I would like to call it, Dolby Digital 5.1 (Because it IS the exact same effect) (CSHP is only used in srs_truemedia_51) (HTC Enhancer uses this file)
Thank's for your answer.
I can't understand, how nobody is interested in improving audio recording quality, when it's obvious that it's a software limitation thing.
We have an almost perfect phone with good camera, but we can't fully enjoy watching and LISTENING recorded videos, because some "clever" people in HTC decided that it's normal to high-pass the mic and put a compressor on it, without any gain control - in result we have a tragic audio from loud concerts and even LOUD voice conversations (where people are sceaming a little bit).
Maybe someone has a solution?
Maybe HTC will offer switching to a ****ty iphone, which has almost perfect audio recording quality (for a phone)?!
STIFF. said:
Thank's for your answer.
I can't understand, how nobody is interested in improving audio recording quality, when it's obvious that it's a software limitation thing.
We have an almost perfect phone with good camera, but we can't fully enjoy watching and LISTENING recorded videos, because some "clever" people in HTC decided that it's normal to high-pass the mic and put a compressor on it, without any gain control - in result we have a tragic audio from loud concerts and even LOUD voice conversations (where people are sceaming a little bit).
Maybe someone has a solution?
Maybe HTC will offer switching to a ****ty iphone, which has almost perfect audio recording quality (for a phone)?!
Click to expand...
Click to collapse
Thanks for this post....

Audio recording lacking bass

Hi, I am running ressurection remix 8.1 on my whyred ai, cant seem to work out how to get any bass on my video recordings, on my mido I had to flash some changes to audio mixer files etc. Not sure if anyone else is having this problem but the audio reoding sounds really tinny.
anyone else notice this?
just realised the inbuilt audio recorder is ok, only video apps like google camera and opencamera seem to have the issue?
junglist said:
just realised the inbuilt audio recorder is ok, only video apps like google camera and opencamera seem to have the issue?
Click to expand...
Click to collapse
Same here I also noticed it. Seems they have a high pass filter at around 150Hz or something.
lukesan said:
Same here I also noticed it. Seems they have a high pass filter at around 150Hz or something.
Click to expand...
Click to collapse
yes, thats what I thought too, how the hell do we disable it? anyone?
junglist said:
yes, thats what I thought too, how the hell do we disable it? anyone?
Click to expand...
Click to collapse
Ok found a way to get really good audio quality. I've searched across boards and tried a lot of stuff. The volume level might be low(er) but I need to alter another XML file. Good enough for concerts and out in the open I would say.
First you need to change the max bitrate since they set that to 96KHz which is way to low. The file to edit is /vendor/etc/media_profiles_vendor.xml
Almost all the way down that file you see the AAC settings.
You will see
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="6" />
As you see I set it to 288000.
Next is the biggest issue. Seems the MIUI camera standard uses AGC and that high pass filter that up to date I haven't found. Open camera works but the other microphone you can select they go via the noise cancelling stuff which kills the audio and you get an underwater sound.
I have a official licensed cinema FV-5 from the playstore. Now there is an issue for the moment. I cannot record in 1080P (the image zooms in like crazy it seems, I contacted the developer for that). On 4K recording it works perfectly. Also remember in the menu to tab the little shaky hand to switch on the stabilizer as that works miracles.
Now go to the settings - audio - audio source is set to 'built-in mic(video camera)' ------ audio channels - stereo (2) ----- bitrate - 256000 ----- sampling rate - 48000 and very important 'disable audio automatic gain control - is switched on' meaning disabled.
Give it a go.
@junglist @lukesan Hi,
I downloaded Mi Max 3 ROM which is the same SOC and I found some interesting stuff about that!
mediaprofiles.xml in vendor is the same on both devices (at least on 9.5.19.0 which am using right now) but the one in system is different, on Mi Max 3 they changed the aac bitRate in so many lines from 156000 to 192000 which is looks interesting!
Also there’s a trick here, mediaprofiles.xml which is in system is the same media_profiles_vendor.xml which is vendor, same on our device, that means both files must be overriding not only mediaprofiles.xml in system!
here’s a flashable zip from Mi Max 3 ROM for any one wants to give a try, also check out this video which compares between our device and Mi Max 3 regarding this part:
https://www.youtube.com/watch?v=5LKThf9KWjs (09:42)
I still need to perform more testing before I can confirm if this really works or not!
rocker00 said:
@junglist @lukesan Hi,
I downloaded Mi Max 3 ROM which is the same SOC and I found some interesting stuff about that!
mediaprofiles.xml in vendor is the same on both devices (at least on 9.5.19.0 which am using right now) but the one in system is different, on Mi Max 3 they changed the aac bitRate in so many lines from 156000 to 192000 which is looks interesting!
Also there’s a trick here, mediaprofiles.xml which is in system is the same media_profiles_vendor.xml which is vendor, same on our device, that means both files must be overriding not only mediaprofiles.xml in system!
here’s a flashable zip from Mi Max 3 ROM for any one wants to give a try, also check out this video which compares between our device and Mi Max 3 regarding this part:
https://www.youtube.com/watch?v=5LKThf9KWjs (09:42)
I still need to perform more testing before I can confirm if this really works or not!
Click to expand...
Click to collapse
Ok, very cool find! Observations which I made over the last couple of days
We have 2 'issues' on the redmi note 5 (Whyred) so 1) the bitrate and 2) the highpass
1) is as you say media_profiles_vendor.xml we can easily alter that one. Check out the downloadable MI MIX 2 audio quality ... module for Magisk. Download extract and copy that xml file and set the same permissions 644 I believe. Make a backup of the original first. They set the bitrate really high on that one 256kbit/s I believe which is a bit overkill, but compared to 20mbit/s for the video it is nothing and I rather have overkill than 96kbit/s underwater sound.
So that one is easily fixable.
2) The high pass filter seems to be linked to the AGC. I really like the AGC since it keeps the volume constant and should be the standard for the 'normal' people who do not care about extreme hifi things. I would leave it on if I could only switch off the high pass filter. Shoot a video and it will be perfect for 99.999% of the people. Levels will almost be perfect. People easily understandable etc etc etc.
I would like to switch off the AGC (and the filter) for real audio recordings, meaning classical music etc etc .. this involves always having to check if your level is not to low or if the peaks are not to high causing clipping which means distortion.
For issue 2 the only app that I found that can do this is cinema-fv5. I made an error in my previous text to set it to 8MP since then the stabilization doesn't seem to work properly so I now set that to 2592x1296 which seems pretty 16/9 like to me. If you switch off the AGC in this app then you get AGC off and high pass off. Very low level audio but perfect quality. I guess perfect for a concert. (this weekend there is a local festival here so I can really test (and enjoy))
If you want good audio but mono then you need open camera for now. If you set the microphone to 'mono' you will also hear that the sound is good, setting it to stereo gets the noise cancellation working and it sounds like crap.
I'll try those Mi Max 3 things if I find a bit of time. Lets share knowledge and experience and we'll get it working like it should. This is the only small downside of the redmi note 5 that I have found so far. (and that is coming from an S7)
---------- Post added at 10:54 AM ---------- Previous post was at 10:00 AM ----------
@rocker00 Just flashed it. Does set the bitrate to 288kbit/s which is really high but, like said above compared to video that is peanuts. Better a lot more than what it was. But it does not switch off the AGC or high pass. Since you have the rom can you check and attach another file? The file is in the same path (vendor/ etc) our file on the redmi note 5 is called mixer_paths_skus.xml . I guess it might be a bit different on MI MAX but I guess some more audio is being controlled there.
@lukesan First please override media_profiles_vendor.xml manually because it looks like the script is not mounting vendor!
Regarding the file, media_profiles_V1_0.xml, mixer_paths_i2s.xml, mixer_paths_mtp.xml, mixer_paths_skus.xml, mixer_paths_skush.xml, mixer_paths_wcd9326.xml, mixer_paths_wcd9335.xml and mixer_paths_wcd9340.xml
are the same md5! but mixer_paths.xml (which i downloaded the whole rom just to get it in order to try to enable dual speaker) is completely different!
Also i have 2 doubts:
1- in build.prop which is in vendor they changed ro.vendor.audio.sdk.fluencetype to fluence which is none in our device(related to noise cancelling)
2-ACDB (Audio Calibration Database) which is completely different in Mi Max 3 cuz it has dual speaker and two speakers at the bottom, and ACDB is controlled by audio.primary.sdm660.so which is different for sure in both, i hope it's not related to that because it will be really a hard job!
here's the mixer_paths.xml am still looking into it maybe i can find something!
rocker00 said:
@lukesan First please override media_profiles_vendor.xml manually because it looks like the script is not mounting vendor!
Regarding the file, media_profiles_V1_0.xml, mixer_paths_i2s.xml, mixer_paths_mtp.xml, mixer_paths_skus.xml, mixer_paths_skush.xml, mixer_paths_wcd9326.xml, mixer_paths_wcd9335.xml and mixer_paths_wcd9340.xml
are the same md5! but mixer_paths.xml (which i downloaded the whole rom just to get it in order to try to enable dual speaker) is completely different!
Also i have 2 doubts:
1- in build.prop which is in vendor they changed ro.vendor.audio.sdk.fluencetype to fluence which is none in our device(related to noise cancelling)
2-ACDB (Audio Calibration Database) which is completely different in Mi Max 3 cuz it has dual speaker and two speakers at the bottom, and ACDB is controlled by audio.primary.sdm660.so which is different for sure in both, i hope it's not related to that because it will be really a hard job!
here's the mixer_paths.xml am still looking into it maybe i can find something!
Click to expand...
Click to collapse
Probably it is taking the media_profiles_vendor.xml which I already edited manually. Well to check that our device is capable you could check with Cinema-FV5 lite which is free up to 1280x720 resolution. Disable the AGC and you get a nice clear sound full audio spectrum. I'm on a 8.7.5 rom and when I start to record my image is taken from the upper left corner all zoomed in. Not sure which rom you are on, but could you give that a try?
If it's that *.so file we need to address someone with the right knowledge. I've never decompiled stuff like that.
lukesan said:
Probably it is taking the media_profiles_vendor.xml which I already edited manually. Well to check that our device is capable you could check with Cinema-FV5 lite which is free up to 1280x720 resolution. Disable the AGC and you get a nice clear sound full audio spectrum. I'm on a 8.7.5 rom and when I start to record my image is taken from the upper left corner all zoomed in. Not sure which rom you are on, but could you give that a try?
If it's that *.so file we need to address someone with the right knowledge. I've never decompiled stuff like that.
Click to expand...
Click to collapse
I'll try the app ASAP and i'll keep trying...never give up
BTW, that lib is most likely C++ signed binary so you can't do anything about it!
rocker00 said:
I'll try the app ASAP and i'll keep trying...never give up
BTW, that lib is most likely C++ signed binary so you can't do anything about it!
Click to expand...
Click to collapse
Just came back from the festival that I told about. The default MIUI video cam.. wow made a complete mess. The AGC went completely crazy and no bass. Using cinema-FV5 ... wow listening to it right now with my earplugs..... it's like I'm still there. Ok the bass sounds (only) a bit distorted, but I was standing at the front and the smart people there handed out headphones that dampened sound to the kids. I myself suffer from tinnitus so I have -20dB earplugs ... even then it was crazy loud.
So cinema-FV5 is definitely a must with music. Not sure if I can upload something on Youtube without violating copyrights. But surely this phone is capable of recording high quality audio for sure.
Same happened to me. After recording the stage with artists and loud music. It looked OK, stabilised video at 1080p, but sound lacks bass with stock camera app.
I would like to try better camera apps like gcam, just there are ~50 hours for me to wait till I can unlock my bootloader and flash a decent ROM.
Then we could record at 60fps 1080p and [email protected] with normal audio.
kellerman40 said:
Same happened to me. After recording the stage with artists and loud music. It looked OK, stabilised video at 1080p, but sound lacks bass with stock camera app.
I would like to try better camera apps like gcam, just there are ~50 hours for me to wait till I can unlock my bootloader and flash a decent ROM.
Then we could record at 60fps 1080p and [email protected] with normal audio.
Click to expand...
Click to collapse
Forget gcam or other roms for now since they use the same audio path. There is another trick I read about but it involves a lot of work and I would hardly call it a working thing unless you spend a lot of time. Check this thread. I know for the MI MIX but same procedure applies for now. https://forum.xda-developers.com/mi-mix-2/how-to/mi-mix-2-video-sound-recording-quality-t3776450
Leave the 60fps and 4K behind if it is in a dark environment. You might end up with dropped frames etc which is really annoying.
lukesan said:
Forget gcam or other roms for now since they use the same audio path. There is another trick I read about but it involves a lot of work and I would hardly call it a working thing unless you spend a lot of time. Check this thread. I know for the MI MIX but same procedure applies for now. https://forum.xda-developers.com/mi-mix-2/how-to/mi-mix-2-video-sound-recording-quality-t3776450
Leave the 60fps and 4K behind if it is in a dark environment. You might end up with dropped frames etc which is really annoying.
Click to expand...
Click to collapse
Have you tried it? I've tried your trick with the bitrate increase in media_profiles.xml, though I've set it to 192000 and used the FV-5 disable the AGC and it's much better quality! Although the bass is a bit too much pronounced and the meds and highs are a bit sacrificed, it's still much better than stock. But with the custom settings for audio in FV-5 it makes that "underwater" sound, no matter which combination I used, but I did everything according to your post, only if I leave the default values it works. (I now suspect it was maybe because of the stereo recording option)
I am interested to make some changes using the thread you linked, I'm just afraid not to make a mess of volumes in earpiece or introduce echo during a call or something like that, that's why I'm hesitating.
The AGC makes a total mess of recording, it lowers the quality and introduces background noise.
For the 60fps I'm not sure that works as none of the camera app that I've tried are able to record it (I'm on AOSP based rom) because it depends on the camera blobs, and I'm not sure Xiaomi updated the sources, but they did introduce it in MIUI 10 builds.
Cirra92 said:
Have you tried it? I've tried your trick with the bitrate increase in media_profiles.xml, though I've set it to 192000 and used the FV-5 disable the AGC and it's much better quality! Although the bass is a bit too much pronounced and the meds and highs are a bit sacrificed, it's still much better than stock. But with the custom settings for audio in FV-5 it makes that "underwater" sound, no matter which combination I used, but I did everything according to your post, only if I leave the default values it works. (I now suspect it was maybe because of the stereo recording option)
I am interested to make some changes using the thread you linked, I'm just afraid not to make a mess of volumes in earpiece or introduce echo during a call or something like that, that's why I'm hesitating.
The AGC makes a total mess of recording, it lowers the quality and introduces background noise.
For the 60fps I'm not sure that works as none of the camera app that I've tried are able to record it (I'm on AOSP based rom) because it depends on the camera blobs, and I'm not sure Xiaomi updated the sources, but they did introduce it in MIUI 10 builds.
Click to expand...
Click to collapse
Strange that you got the underwater sound. Can you check with this one? https://mediaarea.net/en/MediaInfo Just drag and drop the file on it. It will show the audio properties.
Just to confirm again my settings in FV-5 I changed the resolution to 2592x1296 (turn on handshake thing on where you can actually see where you are recording, weird setting I know). In the 'Audio' settings check the attached screenshot.
lukesan said:
Strange that you got the underwater sound. Can you check with this one? https://mediaarea.net/en/MediaInfo Just drag and drop the file on it. It will show the audio properties.
Just to confirm again my settings in FV-5 I changed the resolution to 2592x1296 (turn on handshake thing on where you can actually see where you are recording, weird setting I know). In the 'Audio' settings check the attached screenshot.
Click to expand...
Click to collapse
Oh yes I did that, but you didn't check the "Custom audio settings" box so the app uses default system settings rather than the ones you selected. Try it out if you didn't already.
And I've checked with MediaInfo, the video was recorded in 96K (because the app didn't use custom settings), but anyway it should be using maximum possible values the device has set in media_profiles_vendor.xml, which is in my case 192K. I've seen now that media_profiles_V1_0.xml is basically the same file and there is 96K set as maximum, maybe both files need to be changed?
Cirra92 said:
Oh yes I did that, but you didn't check the "Custom audio settings" box so the app uses default system settings rather than the ones you selected. Try it out if you didn't already.
And I've checked with MediaInfo, the video was recorded in 96K (because the app didn't use custom settings), but anyway it should be using maximum possible values the device has set in media_profiles_vendor.xml, which is in my case 192K. I've seen now that media_profiles_V1_0.xml is basically the same file and there is 96K set as maximum, maybe both files need to be changed?
Click to expand...
Click to collapse
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
lukesan said:
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
Click to expand...
Click to collapse
Well recording in 96K instead of 48K which was the case with MIUI 9.5 in GSMArena test is already an improvement, however I'm sure this device is capable of even more. So for now, seems that just disabling AGC made a very good difference, it might just get better if we raise the bitrate even more. I've seen in the thread you linked that they actually modified media_profiles_V1_0.xml in case of LineageOS to raise the bitrate, I will now try that one as well.
Here is my file you requested.
lukesan said:
That's normal since it seems you can't overwrite those settings in our current roms it seems. I bought that FV5 but I emailed support and never gotten answer back, to bad. It always takes the settings from that file on the phone it seems. And yes if you see 96Kb/s than it is normal that you hear these metallic sounds. Can you maybe attach the media_profiles_vendor.xml you have in the /system/vendor/etc dir?
Click to expand...
Click to collapse
I confirm that changing the media_profiles_v1_0.xml does increase the bitrate! I have set it to 192K, however since the maximum value that was set for each resolution (I've tested 1080p) is 156K the app used that one based on previous setting. Now every app should use the 156K if we don't alter the bitrate for each resolution separately (that's my guess at least).
lukesan said:
Just came back from the festival that I told about. The default MIUI video cam.. wow made a complete mess. The AGC went completely crazy and no bass. Using cinema-FV5 ... wow listening to it right now with my earplugs..... it's like I'm still there. Ok the bass sounds (only) a bit distorted, but I was standing at the front and the smart people there handed out headphones that dampened sound to the kids. I myself suffer from tinnitus so I have -20dB earplugs ... even then it was crazy loud.
So cinema-FV5 is definitely a must with music. Not sure if I can upload something on Youtube without violating copyrights. But surely this phone is capable of recording high quality audio for sure.
Click to expand...
Click to collapse
I tried this app with the steps you mentioned and yeah, sound is better for sure but it's much better if we can get the same result on stock cam.
let's take it step by step, first is the bit rate, even after using Mi Max 3 files the bit rate remains the same! i checked my old Sony Xperia z2 mediaprofiles.xml and i found the aac bitRate is also 192000, see the video sample result in the 1st pic from sony and second one from note 5 pro!
Now clearly there's something controlling the cam audio beside mediaprofiles.xml since the modifications wasn't enough!
I'll record a log while recording and let's see if i can find any info about that!
@Cirra92 60 FPS is working on 9.5, i thought like you about blobs but surprisingly no! now i'm on 9.5.19.0 and i just got the camera apk from MIUI 10 and i have 60 FPS!
Also i found another thing which is interesting but it's still not working even on Mi Max 3.....looks like 120 FPS HFR is on the way!
Check this video out: https://www.youtube.com/watch?v=0rjZx_5JD1s (13.06)
I managed to get this setting even if it's still grey!
etc\device_features/whyred.xml just added those lines:
<!--whether support camera video high frame-->
<bool name="support_camera_video_high_frame">true</bool>
let's try to make the cam perfect as much as possible!

About sound recording on custom ROM's

On Pie and Oreo custom ROM's audio recording quality is very low by default (96 kbps ), and, which is also important - mono (pseudostereo - technically, in video 2 audio channels).
On Oreo ROM's i can install Camcoder audio quality fix (by rocker00) and will fix it all (patch by nhappyman doesn't fix the sound).
On Pie ROM's - patch by rocker00 breaks the recording from the microphone (patch by nhappyman still doesnt' fix the sound).
It possible to make good sound recordind in video on Pie ROM's?
fxdxkx said:
On Pie and Oreo custom ROM's audio recording quality is very low by default (96 kbps ), and, which is also important - mono (pseudostereo - technically, in video 2 audio channels).
On Oreo ROM's i can install Camcoder audio quality fix (by rocker00) and will fix it all (patch by nhappyman doesn't fix the sound).
On Pie ROM's - patch by rocker00 breaks the recording from the microphone (patch by nhappyman still doesnt' fix the sound).
It possible to make good sound recordind in video on Pie ROM's?
Click to expand...
Click to collapse
I know and I don't understand why so little people notice this. Just tried another Pie rom again and I liked it till I noticed audio recording is still in mono and actually only uses the bottom microphone. If people think that 1 camera gives a better picture than another 1000's of people will start to notice and comment on this and multiple threads will be started. This issue ... silence.
For me personally a video recording the audio is part of the deal and if it sounds crap or mono then it is a no go. The mic's on our device are more than capable of good quality audio. I wish I had the time to check the XML files etc again. The fix with Rocker00 took weeks to get it working like we wanted to. I am getting really tired of flashing my phone and not being able to make calls or be available. Sometimes I wish I had a second similar phone where I could just change files, reboot and test over and over again.
emm...bump?

No audio in recorded videos

Hello, today I recorded video via camera and when I play it, there is no sound, only video. In downloaded videos is sound, in recorded no. I use stock Rom RUI v1.0. How to solve it?
You're one of many people who fell victims of these bustards. The so-called noise reduction is in fact sound reduction. I also have absolutely disgusting sound in recorded videos. These criminals don't bother to at least produce an update which fixes this. However, you'll find on this forum 2 tricks. One requires you to go through all these risky rooting things, another (suggested by me) is to use Open Camera app, which allows to record unprocessed sound.
srisail said:
You're one of many people who fell victims of these bustards. The so-called noise reduction is in fact sound reduction. I also have absolutely disgusting sound in recorded videos. These criminals don't bother to at least produce an update which fixes this. However, you'll find on this forum 2 tricks. One requires you to go through all these risky rooting things, another (suggested by me) is to use Open Camera app, which allows to record unprocessed sound.
Click to expand...
Click to collapse
Which are the methods with root?

Categories

Resources