[Q] Inverted camcorder stereo recording - ONE Q&A, Help & Troubleshooting

Hi guys, as per title, I am suffering with the problem. The stereo recording becomes inverted. It suppose to be top mic = left ch, and bottom mic = right ch, but it's doing the upside down, is it affected only to me? I got Note 2 running CM also having this problem but after flashing back to stock and it was okay. Current ROM CM11 Nightlies, I can't upgrade to Lollipop due to I need some Xposed module for my app to work.
--Happens in Landscape mode. If use inverse landscape, the stereo recording is fine, but I don't want to hold my phone inverse landscape while taking video recording.
Same as this issue on JIRA, but no solution, sigh: https://jira.cyanogenmod.org/browse/CYAN-4301

soralz said:
Hi guys, as per title, I am suffering with the problem. The stereo recording becomes inverted. It suppose to be top mic = left ch, and bottom mic = right ch, but it's doing the upside down, is it affected only to me? I got Note 2 running CM also having this problem but after flashing back to stock and it was okay. Current ROM CM11 Nightlies, I can't upgrade to Lollipop due to I need some Xposed module for my app to work.
--Happens in Landscape mode. If use inverse landscape, the stereo recording is fine, but I don't want to hold my phone inverse landscape while taking video recording.
Same as this issue on JIRA, but no solution, sigh: https://jira.cyanogenmod.org/browse/CYAN-4301
Click to expand...
Click to collapse
No idea what you are talking about because it only works that way. The only thing I see is that you prefer to hold your phone in way that reverses the recording?
(Still don't know what that affects) but I'm pretty sure if you reversed the values in your mixer_paths.xml file in /system/etc/ it would work that way?
sent from my amazingly awesome OnePlus One with Stereo Mod
Don't forget to hit thanks!

Related

AOKP / Left speaker balance / swaped left and right

Hi there,
since i flashed ICS AOKP i found the right speaker was much louder than the left one.
OK, searched and applied the fix from the DEV forum.
For me this did not solve the issue, so i thought the left speaker was broken.
I installed Mobo player from the market, there you can mute the speakers individually. When i mute the right speaker, aktually the left speaker got muted... and vice versa.
Anyway i found that the left speaker was still working and that if playing a video the difference in volume is not so critical compared to the standart Android sounds, so i guess my speaker is not broken.
Has anyone observed something likely?
Cheers,
Happen

weird problems with camera apps.

Hello,
trying the video camera with third party apps, i noticed this weird squeak sound while autofocusing
clip here: youtu.be/bNSNSiVkiQg
with the native camera app i don't have this problem, but the stereo sound is inverted! even weirder: it does this from the second video i record after i reboot the phone. the first one is fine, then they all have audio inverted right<->left
any advice? (other than factory reset)
can you please test if you have the same issue? if it is, it mean it is a problem of the device itself and should be noted to huawei.
it's easy checking the left/right channel simply by blowing on the sides of the phone (lower mic is right, upper mic is left) with the audio recorder app it works always fine. with video, you need to make at least 2 of them because the problem comes from the second one. at least for me...
thanks
mghire said:
Hello,
trying the video camera with third party apps, i noticed this weird squeak sound while autofocusing
clip here: youtu.be/bNSNSiVkiQg
with the native camera app i don't have this problem, but the stereo sound is inverted! even weirder: it does this from the second video i record after i reboot the phone. the first one is fine, then they all have audio inverted right<->left
any advice? (other than factory reset)
can you please test if you have the same issue? if it is, it mean it is a problem of the device itself and should be noted to huawei.
it's easy checking the left/right channel simply by blowing on the sides of the phone (lower mic is right, upper mic is left) with the audio recorder app it works always fine. with video, you need to make at least 2 of them because the problem comes from the second one. at least for me...
thanks
Click to expand...
Click to collapse
For me bottom is left upper is right
faizalotai said:
For me bottom is left upper is right
Click to expand...
Click to collapse
thanks! have you tested with the video app or with the audio recording app? if with video it's like this and with the audio recorder it's bottom/right; upper/left. i'm not the only one.
edit. also, turning the phone while recording (bottom to the right or to the left in portrait mode), it's always swapped. when bottom is to the right, audio of that side is on the left, and vice versa
mghire said:
thanks! have you tested with the video app or with the audio recording app? if with video it's like this and with the audio recorder it's bottom/right; upper/left. i'm not the only one.
edit. also, turning the phone while recording (bottom to the right or to the left in portrait mode), it's always swapped. when bottom is to the right, audio of that side is on the left, and vice versa
Click to expand...
Click to collapse
Yes,same as mine..maybe thats an honor features...lol.
Btw, im still with mm, we need people with nougat to test this out also
faizalotai said:
Yes,same as mine..maybe thats an honor features...lol.
Btw, im still with mm, we need people with nougat to test this out also
Click to expand...
Click to collapse
thanks a lot!
if the third party camera app audio issue is confirmed too, we may confirm another "fature"... :/
i did the video with google camera (but also tried cinema fv-5) and the auto focusing noise it there, not always, but most of the time. expecially when it struggles focusing.
anyone willing to try? this is not as easy to reproduce, but definitely there.
hi all,
testing again, I noticed that the noise is most likely mechanical. it is possible to ear it in a silent environment while switching from camera to video with the stock camera app.
here's a recording of it
https://drive.google.com/file/d/0BzRd4ezyPZACZXY4WkoyREFESnM/view?usp=drivesdk
it's the same of the video in the opening post youtu.be/bNSNSiVkiQg
can you guys check if it's a common problem? the customer service just keep saying to factory reset, but that does nothing... (also cleaned camera app cache many times)
thanks
mghire said:
Hello,
trying the video camera with third party apps, i noticed this weird squeak sound while autofocusing
clip here: youtu.be/bNSNSiVkiQg
with the native camera app i don't have this problem, but the stereo sound is inverted! even weirder: it does this from the second video i record after i reboot the phone. the first one is fine, then they all have audio inverted right<->left
any advice? (other than factory reset)
can you please test if you have the same issue? if it is, it mean it is a problem of the device itself and should be noted to huawei.
it's easy checking the left/right channel simply by blowing on the sides of the phone (lower mic is right, upper mic is left) with the audio recorder app it works always fine. with video, you need to make at least 2 of them because the problem comes from the second one. at least for me...
thanks
Click to expand...
Click to collapse
Did you ever solve this, or is it purely hardware? I noticed a horrible squeak on PA Rom and on 3rd party cameras on stock.
It's hardware, cannot solve this

speaker mono sound?

hi. i just got this phone and flashed lineageos right out of the box so i dont know if this is a hardware or software problem.
when i for example watch youtube videos in landscape mode, sound only comes from the (real) bottom of the phone. making it appear as if the sound comes from left/right direction depending on how you hold the phone.
pretty annoying with mono sound appearing to come from left or right.
i feel like this should be a premium phone and have stereo sound in landscape mode for watching videos and playing games.
can anyone enlighten me on this?
The only loud speaker used for media is at the bottom of the phone, if you want to use the earpiece speaker you need to flash a mod (If one exists)
I know this is a late reply,
but I'm having the same issue - although I'm on a custom stock ROM, where nothing but bloat is removed.
Have I disabled this somehere?
What's the feature called?

Delete

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:

Question Microphone & accelerometer stopped working on ROG 5 after November update

I can no longer make calls without using a wired or bluetooth headset because the other party cannot hear me. Confirmed by trying Google voice search and attempting to record voice using the sound recorder. In addition, auto rotate no longer works; the camera will only ever take pics in portrait mode and holding the phone horizontal doesn't change the orientation of the icons. Same problem with any other app that detects orientation, from web browser to Youtube (manually making Youtube fullscreen works as landscape).
I haven't dropped the phone or subject it to any physical impact either.
I have tried to downgrade the firmware by flashing each individual extracted image file to its corresponding partition using fastboot, and now I have the older update from September, but the problem persists. Is there a fix?

Categories

Resources