Related
Is there a way to improve the sound quality during video recording on the Sensation?
When recording loud music in a club or a consert, the quality is realy bad.
I guess the microphone input level is to high.
Is there a working solution for this?
NoModE said:
Is there a way to improve the sound quality during video recording on the Sensation?
When recording loud music in a club or a consert, the quality is realy bad.
I guess the microphone input level is to high.
Is there a working solution for this?
Click to expand...
Click to collapse
Goto HKCU/Software/Samsung/Camera
Find AudioNormalCodec
the options are:
0 - Default : GSM-AMR-NB 8000Hz 1ch (this is the default but has lots of high pitched noises in the background)
1 - MPEG4 AAC 16000Hz 1ch (this so far is the cleanest audio that I found you can get during video recording)
2 - Qualcomm QCELP 1000Hz 2ch (this is the MMS setting, not good at all for video recording)
I have found this solution, but i can't find "AudioNormalCodec" in my Omnia II...
if you can, pls let me know.
riddler88 said:
Goto HKCU/Software/Samsung/Camera
Find AudioNormalCodec
the options are:
0 - Default : GSM-AMR-NB 8000Hz 1ch (this is the default but has lots of high pitched noises in the background)
1 - MPEG4 AAC 16000Hz 1ch (this so far is the cleanest audio that I found you can get during video recording)
2 - Qualcomm QCELP 1000Hz 2ch (this is the MMS setting, not good at all for video recording)
I have found this solution, but i can't find "AudioNormalCodec" in my Omnia II...
if you can, pls let me know.
Click to expand...
Click to collapse
You know that you posted this in HTC Sensation forum? Can you tell me where can I find register on android device?
Hi.
Got the same problem, I tried to make a video during a gig and the sound was horrible, no way to fix that you think ?
Thx.
got the same problem sound qualityis okay but after playin in pc or phone i got some noises during playback zzz zzz sound
Just came back from a concert yesterday and am really dissapointed about the quality of the sound. picture is just amazing but my girlfriends Galaxy S had way better sound recording. anny progress in this?
I'd read in other thread that unchecking the stereo option in video camera settings the sound was better...
MasterKaiser said:
I'd read in other thread that unchecking the stereo option in video camera settings the sound was better...
Click to expand...
Click to collapse
Apparantely so, and also 3.5 ROM's fix the audio even with STereo
Hgaara said:
Apparantely so, and also 3.5 ROM's fix the audio even with STereo
Click to expand...
Click to collapse
not so sure about that to be honest, recorded at a gig last night with latest revolution hd 4.1.4 rom and the sound was horrible
really would appreciate it if someone knows or could find a way to take the recording volume down a notch or two
vegi71 said:
not so sure about that to be honest, recorded at a gig last night with latest revolution hd 4.1.4 rom and the sound was horrible
really would appreciate it if someone knows or could find a way to take the recording volume down a notch or two
Click to expand...
Click to collapse
Surely there must be an app or developer out there who knows how to fix this mess. Again, another event recording ruined. The htc sensation is fine for unamplified natural voices, but even speech or music at LOW volume is pingy, distorted and generally sux.
The Chic Corea concert I recorded was a total disaster. unticking stereo still not effective. Why does iphone make great recordings, but htc can't get it together? or is this an android issue in general? Don't get me wrong... love android and open source, but really... someone needs to nail this one. Is there any point in complaining to htc? ♥
---------- Post added at 12:10 AM ---------- Previous post was at 12:05 AM ----------
Natural voices are ok, but this makes two concert video recordings ruined using my htc sensation. the sound is distorted pingy and beyond painful to listen to. Can't some brilliant developer create an app or fix for this? Is there any point complaining to htc, or are they too busy getting out their latest phone?
Sux that iphone video recordings. Natural voice and music is ok, but anything amplified, even at a moderate level, is ping-distortion city. and turning off stereo setting doesn't help much either. Thanks for the whine, now the cheese.
done some digging and i think, from what i read, android wasn't given a facility to lower recording volume. so i guess that plus a highly sensitive mic equals crappy sound recording with no fix, for the time being hopefully
I don't think it has to do with Android. I remember at some point on my Vibrant I was able to change the setting and got much better sound after. It may have been a DSP manager app I did it through or it could have been a setting when I was using CM7. Either way, I'm almost positive there is a way to adjust it.
sound quality
I have found a big improvement in sound quality by UN checking stereo sound in the video recorder setting menu.
+1 on this, I'd love to figure this out
I agree. This is one of the weakest points of the sensation. We have great video capture - but the sound can totally ruin the experience. If a Dev could figure this out it would be golden!
I am not sure about this, just a quick thought. But MAYBE the noise comes from the mics on the back of the sensation? Maybe HTC didn't thought about turning off the those mic's while recording.
Just a thought...
I believe the stereo recording uses the 2nd mic above the camera, while mono just uses the standard mic, that we make calls with. I did some tests just by covering the mic holes while recording.
I just think it would be great if we could have a DEV take a look at how to lower the mic gain.
There is a thread over in the HD2 forums, that deals with edits to some lib files for mic gain, but I don't know if that would be something to take a look at. Here is the thread:
http://forum.xda-developers.com/showthread.php?t=1162224
We need this fixed!
I think the problem is that there is no normal codec for audio coding. Oddly Andoid revolution HD writes with a frequency of 44,100 Hz, but the quality is very poor, although an order of magnitude better than in HyperSensation. Unfortunaly, developer chamber is at the bottom, and understandably so - because enough other bugs.
Just wanted to check in on this old thread and see if this is all still in issue with the Sensation and the latest ICS Roms? Wondering if HTC has fixed the high mic gain by now?
Thanks
Can any of the early adopters here confirm whether the Pixel (not XL) is capable of recording stereo audio when capturing videos? All of the example videos I've seen on YouTube seem to be recorded with monaural audio.
This could be the only deal breaker for me. I take my HTC M8 to concerts frequently, and it captures phenomenal stereo audio that doesn't distort or clip in loud venues. As much as I like the Pixel, I would probably have to buy the HTC 10 instead if the audio recording capabilities were overlooked by Google.
bjamerican said:
Can any of the early adopters here confirm whether the Pixel (not XL) is capable of recording stereo audio when capturing videos? All of the example videos I've seen on YouTube seem to be recorded with monaural audio.
This could be the only deal breaker for me. I take my HTC M8 to concerts frequently, and it captures phenomenal stereo audio that doesn't distort or clip in loud venues. As much as I like the Pixel, I would probably have to buy the HTC 10 instead if the audio recording capabilities were overlooked by Google.
Click to expand...
Click to collapse
I just did some testing for you. The built in video recorder records in mono. However, the Pixel obviously has the ability to record in stereo because I just tried the "Sony Audio recorder" on Google Play and it records stereo audio. If you just need audio and not video this has the ability to record very high quality stereo recordings.
gadgetgaz said:
I just did some testing for you. The built in video recorder records in mono. However, the Pixel obviously has the ability to record in stereo because I just tried the "Sony Audio recorder" on Google Play and it records stereo audio. If you just need audio and not video this has the ability to record very high quality stereo recordings.
Click to expand...
Click to collapse
Wow thanks for looking into this!
I'm really disappointed to learn that the "best phone camera ever" doesn't record videos in stereo! Google really needs to address this in an app update quickly.
Good to know that the hardware is capable, at least. The Pixel also seems to do well in very high sound pressure levels too, based on concert clips I've seen posted on Youtube (this is something HTC has always excelled at).
bjamerican said:
Wow thanks for looking into this!
I'm really disappointed to learn that the "best phone camera ever" doesn't record videos in stereo! Google really needs to address this in an app update quickly.
Good to know that the hardware is capable, at least. The Pixel also seems to do well in very high sound pressure levels too, based on concert clips I've seen posted on Youtube (this is something HTC has always excelled at).
Click to expand...
Click to collapse
Okay.... It is not very meaningful as "stereo" it is not an XY or A-B studio recording physical pattern.
It is more useful for most people as a mono recording, less noise that is heavy left or right from handling phone to record a "home video" (of a meowing cat or cute baby etc)
That said I am an audio engineer and musician, and I can see a usefulness in having two sources, in case one is better. Mixing them might be better with some of each side panned to the other.
I just consider it two channel recording. Stereo is about perceiving a binaural field L+R, not just two paired signals. The analogy isn't moot. A single mic close to a sound source in a studio and one mic in a distant point that provides "room noise" or "reverb" is 2 channels, not a stereo.
So I think it better to know that there are many options and considerations to make when you do use an app to record with both mics as to how to mix the sources knowing they aren't intrinsically just stereo. That's why I prefer the built in camera app to just stick to mono which is overall better sound for most people. 2 channels only sound good if you do some "audio mixing" in a DAW....
Sent from my sailfish using XDA Labs
nednednerb said:
Okay.... It is not very meaningful as "stereo" it is not an XY or A-B studio recording physical pattern.
It is more useful for most people as a mono recording, less noise that is heavy left or right from handling phone to record a "home video" (of a meowing cat or cute baby etc)
That said I am an audio engineer and musician, and I can see a usefulness in having two sources, in case one is better. Mixing them might be better with some of each side panned to the other.
I just consider it two channel recording. Stereo is about perceiving a binaural field L+R, not just two paired signals. The analogy isn't moot. A single mic close to a sound source in a studio and one mic in a distant point that provides "room noise" or "reverb" is 2 channels, not a stereo.
So I think it better to know that there are many options and considerations to make when you do use an app to record with both mics as to how to mix the sources knowing they aren't intrinsically just stereo. That's why I prefer the built in camera app to just stick to mono which is overall better sound for most people. 2 channels only sound good if you do some "audio mixing" in a DAW....
Sent from my sailfish using XDA Labs
Click to expand...
Click to collapse
Great information and very useful
gadgetgaz said:
I just did some testing for you. The built in video recorder records in mono. However, the Pixel obviously has the ability to record in stereo because I just tried the "Sony Audio recorder" on Google Play and it records stereo audio. If you just need audio and not video this has the ability to record very high quality stereo recordings.
Click to expand...
Click to collapse
In your tests, did you compare the waveform of both channels to see if differences exist? How do you know the Sony app didn't just take the mono input and record it to both left and right channels?
Hi I didn't compare the waveforms I just listened to the audio. If you record a single sound source and rotate the phone while recording you can hear the sound going from one ear to the other on playback. If it was a mono recording you wouldn't be able to tell that the phone was being rotated at the time the recording was made.
So which mic is left, and which one is right?
Solutions Etcetera said:
In your tests, did you compare the waveform of both channels to see if differences exist? How do you know the Sony app didn't just take the mono input and record it to both left and right channels?
Click to expand...
Click to collapse
You can easily tell immediately if a video was recorded with 1 or 2 channels of audio, especially when wearing headphones. Here is a clip I recorded with my HTC M8... Notice how the sound pans when I turn the camera away from the stage!
https://youtu.be/-yqL9uD2oxY
2 channels is simply more lifelike... We have two ears, so the Pixel should be using two mics for the most realistic audio.
Device: Pixel (sailfish) running Android 7.1 Nougat
One of our users (we are developers of an audio recorder app on Google Play) is reporting that the top microphone on the Pixel has a slight hiss (when he records stereo audio).
Is this an exception (maybe just a bad device) ? Or are other Pixel users seeing this as a general behavior on Pixels ?
This is confirmed when he records mono audio as well, by using the top microphone (aka "Camcorder" microphone). In our app, the user can choose the "Audio Source for Mono" and set it to Camcorder for the top microphone. For stereo, the user can modify the "Audio Source for Stereo" to find a setting that works best. Even the best setting there had a hiss when recording audio. Hiss was less obvious in certain environments.
Hiss in the top microphone on Android phones can be due to interference from the antenna. One can test if this is the cause, by turning on the Airplane Mode (which shuts off the antenna). Usually the hiss will disappear.
However, in his case the top microphone persisted in having that slight hiss (even with Airplane Mode set to On).
Thanks.
EDIT:
To test this with our app, you can search "mp3 recorder" on Google Play - our app is the "Amazing MP3 Recorder Pro" app there.
EDIT 2:
I have heard back from one person who is suggesting the problem is NOT universal to Pixel - and may just be a problem with that user's device (thus warranting a RMA - Return Merchandise authorization i.e. a return candidate).
Hey Guys!
I have a problem lately on my s6.
When i record videos in loud environments the audio gets really distorted and the video gets unusable.
Its really annoying since i like to record videos when i go to concerts etc.
Never had a problem with it until a few weeks ago.
Does it have something to do with nougat?
Here are some examples:
youtu.be/wb_8UHzyEO4
youtu.be/Dh4ZNHt-hsc
Do you know what causes this and is there any fix?
Maybe theres an audio mod which includes auto gain control or a limiter or something?
Thanks in advance!
Hi, I am having the exact same issue,
One day in a club my microphone was fine and the next absolutely unusable with horrible clipping!
Did you find a fix?
Calum
Same problem!
wow..what a grap phone i got...they are not able to put in a working limiter / loudness adjustment..
Hey Guys!
I have a problem lately on my Galaxy S6.
When i record videos in loud environments the audio gets really distorted and the video gets unusable.
Its really annoying since i like to record videos when i go to concerts etc.
Never had a problem with it until a few weeks ago.
Does it have something to do with nougat?
Here are some examples:
youtu.be/wb_8UHzyEO4
youtu.be/Dh4ZNHt-hsc
Do you know what causes this and is there any fix?
Maybe theres an audio mod which includes auto gain control or a limiter or something?
Thanks in advance!
Delete
Huge thx to rocker00 and Cirra92. We worked on this for weeks, it was an adventure starting from scratch trying to reverse engineer this what Xiaomi did. A lot of frustration, hours of testing and comparing and finally getting to this point that for me, us, we have the sound that we want.
I am a huge fan of 'what you hear is what you get ' recordings. This has been done with the changes... BUT ... read below for further technical information and limitations.
Also to be precise, Xiaomi messed up the left and right microphone. Easily tested in recordings and a headphones, so that was changed in the config files.
As I already wrote in the other (original) topic, AGC can be a good thing. AGC stands for automatic gain control which makes all the sounds sound at the same level.
Most people will like that you hear birds in the background really well and that conversations will always be at the 'good' level. Now our human ear can hear the slightest noise and still cope with loud things. Our brain adjusts the volume in a sort of way. If you technically translate the difference in sound levels this means an unbelievable dynamic range. Now some of us remember a VU-meter and that ideally peaks will go to 0dB to avoid distortion and get the best signal to noise ratio. AGC normally regulates this ... but due to the huge levels in our environments it is almost technically impossible to always do this. There is always a technical limit. You can look at it like HDR, it can be fantastic but useless in a complete dark environment were the sensor doesn't get light or gets way to much light.
AGC is switched off in the modded files so what you hear in dynamics is what your ears hear . BUT!!!! there is the technical limit of 0dB and the opposite side of the scale which is almost silence. The goal is to keep within these two and to aim at the 0dB. That setting can easily be controlled by DEC1 and DEC2 levels in the files which are easily modifiable.
There is another technical thing which you cannot control and which are the microphones themselves. They might have a hardware limitation to how loud they might record without distortion. Even in a professional environment microphones have limits.
The microphones that we have in our devices are really excellent and the difference between original and modded is day and night, no magnifying glasses or angel dust needed to hear it with headphones.
To bad Android hasn't got a recording mixer to set the level like the playback mixer. For the moment I found 1 application which can change the level and which is called Footej camera. It also has a VU meter which is a must, especially in loud environments.
So people give it a go and please provide feedback. Without positive or negative feedback there is no progress.
Now let me get back to my coffee.
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
The issue is that the quality is very bad even at 20mbps bit rate. The video has artefacts all over. I also own a Samsung galaxy note 3. Quite old device but with a great camera. Although note 5 Pro still camera beats it's old sensor, but videos come out great on my oldy Galaxy note 3.
Another biggest bug is that the continuous auto focus in camcorder works like in photo mode. Quick auto focus ruining all the video. I am talking about the lack of smooth continuous auto focus. The lens focuses back and forth quickly instead of slow smooth focusing. This ruins the whole quality and is quite irritating. I have tried many camera apps but the same bug. That means it's in the libs and nobody seems to notice it. The dynamic range is also very poor.
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
All the videos I took with this phone were ruined because of this issue .. I'm surprised to know there were minds working on it in the background.
I've never edited the build.prop on the vendor folder so I was digging through the lines in the /system version at first before double checking your note.
I've tested before and after the mod and I can confirm this is working with Pie pr1..
Huge thanks.
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
fed_xD said:
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
Click to expand...
Click to collapse
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
lukesan said:
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
Click to expand...
Click to collapse
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
fed_xD said:
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
Click to expand...
Click to collapse
The mod changes left and right modules since they are wrong in the roms. Might be that a case is messing up the levels in recordings. Try without I would say.
If not fixed it might be your phone itself. We tried on 3 phones here (mine, rocker00 and Cirra92) and all were good. Quality of left and right mic should be the same ... so if volumes are not equal then you might need to change the DEC1 or DEC2 value, we'll say the correct location where they are if it doesn't work for you.
@lukesan I really wished to have half of your patience! Great explanation man!
@unisol107 I don't think we've that kind of bug on the global version, or maybe i didn't notice it! and if it's really about libs then unfortunately i can't do anything about it, you need a programmer (C++), Thanks for your kind words
@Half Alive It's good to hear that buddy.Enjoy it
@fed_xD NOOOOOOWAAAAAAAY , this part exactly you can ask luksan how much time i spent on fixing it! the top microphone was the main one from Xiaomi's genius engineers..lol!! but i think those bugs are intended..this is how to run the business! i tested this module on MIUI 9.5.19.0 and Masik 2.3 and it's bug free, so again noway especially in this part
Thanks for these fixes.I tried it on miui 9.5.14 and the difference is huge.The video's background noise has significantly reduced which I think Xiaomi should do from the start though.Anyways excellent writeup @lukesan and thanks for the awesome work @rocker00
unisol107 said:
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
...
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
Click to expand...
Click to collapse
Not really audio related and haven't really played with video yet. I was about to ask to put a small clip on Youtube but they compress video so I would not see the issue.
The global version also has different cam modules.
Thinking as I type:
EIS : crops picture and uses sensors to define shakiness. Could cause less sharp images. Try without anti-shake to determine that issue.
Default video bitrate : 20mbit/s. Could be too little for a real time simple encoder. Check with green grass, like a football (soccer) field, and pan the video. If low bitrate grass will be like blocks and not sharp. Solution would be simple and even trying H.265 in Aranova's gcam (developer settings and activate) might fix that. 13.3mbit/s but H.265
Dynamic range. I have a S7 which is worse I think. Taking pictures sometimes clouds not visible in the sky while my whyred (lets call it that way) shows everything. Might be because of the Sony sensor in your devices. Use of Masik rom. which has HDR recording might mask this issue.
The fast AF, yes it can be an issue but I guess it is a compromise for taking pictures fast. People love a fast camera ... mm Masik rom also has object tracking.
@rocker00 I've found how to change the prop from magisk... Just add:
Code:
resetprop ro.vendor.audio.sdk.fluencetype none
in common/post-fs-data.sh and enable it in module.prop with
Code:
POSTFSDATA=true
Attached my modified version of yours module.
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
Just disable module and check if still same happen
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
I noticed the same too.I'm in miui ROM and the other person has difficulty in hearing my voice.So ,even though this fixes video problem,but it creates another problem
@fed_xD @Subhashis Now I am confused! i don't have that bug!
Please try this one, now mics are the same like before, please report back!
Edit: You are right guys, looks like i didn't test the call in a proper way since i was focus on the camera but i've found a quick fix for this issue , now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job.
Thread updated.
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
@fed_xD @Subhashis @Subhashis
Fixed, give rocker00 new files in the openingpost a try.
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
I have my own miui camera v2 port and I've added your fix in it. It's working good on LineageOS. The background noise has a really big difference. In few days I'll back home and so will share the module with also your fix if you are OK with that. I've already put link to this thread in the module and will add also in the post.
Thanks for the share, I'll just suggest you to use a unique name for the module in module.prop (see the one I've posted previously) to avoid problems with other modules.
In your new one you changed only mixer_paths.xml right?
rocker00 said:
@fed_xD @Subhashis
, now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job..
Click to expand...
Click to collapse
Thanks for the fixes.Now everything is working perfectly.:good: