[Q] Improve audio quality when recording video. - Nexus S Q&A, Help & Troubleshooting

Hi, I open this thread to ask a simple question.
I'm using stock 4.0.3 Android version with Simple Kernel 1.0 and with Voodoo Sound/Colors enabled in kernel. I noticed that video with the stock camera app are recorded using a 16kHz sampling rate and have 96kbps bitrate with AAC codec.
I wonder if there is a way to change the audio format of the recorded audio (e.g. 44.1kHz/128kbps) in order to take full advantage of the new audio drivers. I mean, now thanks to Supercurio's work the audio path is well handled by the system using the features of the Wolfson audio chipset, why waste that signal quality by using a low quality encoding? (16KHz/96 kbps AAC is not so suitable for music recording...)
With external apps such as Tapatalk I can record loseless WAV using 44Khz sample rate, how to embed this functionality in the stock camera app?

(if this is the wrong section i ask moderators to move the thread, though I think this is a pretty interesting matter to talk about)

Reserved
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.

I want to know it, too! Thanks everyone in advance

Shark_On_Land said:
Reserved
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.
Click to expand...
Click to collapse
Why do you reserve posts in every thread instead of giving suggestions?!
@op there isn't an option available in the stock one. You can however use third party apps or such things to get it.
Sent from my Nexus S using Tapatalk

mic quality on other side of conversation
when talking on the phone people say I sound nasally on the other side. Would downgrading my radio help. Is it just the mic on the nexus or would swapping the radio make a difference? I had a N1 for two years and no issues like this.
I9020t
Rom Nexusbeam 4.1.0
Radio KI1
kernel matrix ---It was doing this before i flashed it and cm9
Leads me to believe that its just the nature of the nexus s
I didn't tapl on it much when I it before i rooted it.

shockem said:
Why do you reserve posts in every thread instead of giving suggestions?!
@op there isn't an option available in the stock one. You can however use third party apps or such things to get it.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
I'm continuing this thread because it's main question remains still unsolved. How to record video with decent audio endcoding quality (as said 44kHz/16bit good bitrate)? 3rd party app? What apps are we talking about?

Rael2k said:
Hi, I open this thread to ask a simple question.
I'm using stock 4.0.3 Android version with Simple Kernel 1.0 and with Voodoo Sound/Colors enabled in kernel. I noticed that video with the stock camera app are recorded using a 16kHz sampling rate and have 96kbps bitrate with AAC codec.
I wonder if there is a way to change the audio format of the recorded audio (e.g. 44.1kHz/128kbps) in order to take full advantage of the new audio drivers. I mean, now thanks to Supercurio's work the audio path is well handled by the system using the features of the Wolfson audio chipset, why waste that signal quality by using a low quality encoding? (16KHz/96 kbps AAC is not so suitable for music recording...)
With external apps such as Tapatalk I can record loseless WAV using 44Khz sample rate, how to embed this functionality in the stock camera app?
Click to expand...
Click to collapse
I have also been searching the internet about this for what feels like EVER!
I have been a tape-a-talk user for over one year and have tried several ROMs and video recording apps.
Only one that I know of (lgcamera) allows you to change the audio recording attributes (up to 48000Hz and AAC 320kbps). It also includes AMR and AMR_WB (but AMR is just '3gp', right?). However, even at the highest AAC settings, I still can't record video with high quality audio (I checked by uploading my vids to a pc and right clicking properties - the audio bitrate is only 103kbps & is 16 bit)
I wrote to the developer (just yesterday) and I sent him some clips and he reckons that it is a hardware issue. He also said that "WAV can be record by software encoder, and AAC is a hardware encoder", which explained my question that you also asked re tape-a-talk being able to record in crystal clear WAV.
I am still not happy with this answer, because it makes no sense to me that you can record in high quality audio (WAV) yet not in a lossy format at high qualities (eg 256 kbps AAC).
- I'm on a Nexus S (rooted). Stock ICS 4.0.4, Matr1x Kernel V20 (with VOODOO sound, settings for oversampling etc all cranked up)
---------- Post added at 10:54 AM ---------- Previous post was at 10:45 AM ----------
I just found this, which is to do with latency, but I am not sure if this will improve recording capabilities...

So - any luck?
Found anything new re your OP?

Related

[Q] Best handbrake settings for Honeycomb 3.1?

I have a Handbrake profile saved from back in March. I found it from a YouTube video links section, where the author of the "how-to" video about re-encoding video for the best playback on the Xoom posted a link to a pretty good Handbrake preset for the Xoom.
I am just wondering... if video playback is now better in Honeycomb 3.1, if there would be a better setting (for better quality video) out there? Does anyone have a Handbrake preset that looks really good on the Xoom that is new for the 3.1 update?
The preset I have from March works well, and videos encoded using the preset play without stutter - but the quality is a bit blurry at times... which leads me to wonder if the Xoom couldn't handle higher quality video now.
I had lots of trouble finding the right combo with Handbrake. Videos would play fine but weren't very crisp.
Switched over to the latest version of an old app - DVD Fab. Works extremely well, videos are sharp and play buttery smooth.
JFMFT,
What setting are you currently using? I'm at work so cant check mine right now. I know whatever settings I was using seemed to work pretty well-will get back to you with specifics.
If you have a solid preset to tweak, then try using the "Constant Quality" setting under the "Video" tab:
Constant Quality - Handbrake
CRF Guide - Handbrake
Read the above links; they have great info. If you don't, then at least note that higher RF means lower quality (higher compression).
For me, a single Handbrake preset doesn't produce the results I want -- good quality balanced with decent file sizes -- across different kinds of video. Animation differs greatly from fast-paced action (frames, distinct lines/edges, blur, etc.), for example.
In Handbrake, I started with H264 baseline profile settings, then settled on some tweaks in the "Advanced" tab after some reading and experimentation:
Motorola Support FAQ: Motorola XOOM - Optimal video settings
HandBrake Docs (links to option descriptions): x264 Options - Handbrake
Now, I vary only the "Constant Quality" parameter between RF 19 and 25, depending on the type and quality of the source. It takes some trial and error, but I think it's a worthwhile effort. Working first with short samples (5-10 min) from the video source will help things move quicker, too.
Get RockPlayer, it literally plays everything.
Forget Handbrake / DVD Fab. Free vs Cost issue aside, DVD Catalyst 4 FTW!
Away from home currently, but I will check into my settings & report back soon.
Sent from my ThunderBolt using Tapatalk
http://www.opinionatedfool.com/2011/05/2-part-mini-series-part-2-what-can-i-do.html
Hit the link above there is a section provided Handbrake info and a download link to a working preset file. =)
jiwengang said:
http://www.opinionatedfool.com/2011/05/2-part-mini-series-part-2-what-can-i-do.html
Hit the link above there is a section provided Handbrake info and a download link to a working preset file. =)
Click to expand...
Click to collapse
Link doesn't work for me
kev0153 said:
Link doesn't work for me
Click to expand...
Click to collapse
http://www.4shared.com/file/dCvb641f/Xoom.html?
try this one?
Here are my Handbrake settings for my Xoom.
I'm getting pretty good results in term of quality/size.
For the Picture settings, I'm changing the Anamorphic to None and setting the Width to 1280 (be sure to check the Keep Aspect ratio).
Maybe the Anamorphic could be changed to other, I didn't test to see the difference.
You can try setting Constant Quality or increase the Bitrate value (I'm using 1500 which seems to be enough)
Encoding is quite fast (depending of the PC of course)
Enjoy playing them with the default HC video player
JFMFT said:
I have a Handbrake profile saved from back in March. I found it from a YouTube video links section, where the author of the "how-to" video about re-encoding video for the best playback on the Xoom posted a link to a pretty good Handbrake preset for the Xoom.
I am just wondering... if video playback is now better in Honeycomb 3.1, if there would be a better setting (for better quality video) out there? Does anyone have a Handbrake preset that looks really good on the Xoom that is new for the 3.1 update?
The preset I have from March works well, and videos encoded using the preset play without stutter - but the quality is a bit blurry at times... which leads me to wonder if the Xoom couldn't handle higher quality video now.
Click to expand...
Click to collapse
"video playback is now better in Honeycomb 3.1" i agree. Honeycomb 3.1 improve the hardware capabilities, so video will play more smoothly. but for video conversion, you need to increase the bit rate. this is my own experience.

[MOD] 2.3.6/7 Video Recording audio improvement -- WIP

Hi everyone
when you record a video on your original SGS 4G camera, your audio sampling is :
66 kbps bit rate.
16 KHz sample rate.
which is pretty lame...
If you ever tried to record live shows or concerts, you probably noticed audio is awful on recorded video...
Introducing Video Recording audio improvement MOD
found and very well explained by rafalense (http://forum.xda-developers.com/showpost.php?p=10980448&postcount=268).
Performed on SGS 4G camera by me. So, now recorded audio sampling is :
118 kbps bit rate.
32 KHz sample rate.
file size change is barely noticed.
Still camera is not modified.
I took, as a basis, the Team Acid modified camera - done by DSexton702.
So it is capable of taking pictures when battery is low and also by using the power button.
This is still in beta as :
1. Currently Audio-Video is out of sync. I need to check if this can be fixed by changing Video sampling rate....
In the meanwhile, you can fix this on PC very easily.
2. This mod does not use the media profile xml for greater video frame rate.
I actually put the original file back. I found the result to be not supported by all players and having some side effects like visual waves (and much larger file size).
3. Actually I examined DSexton702 media profile and it defines some various audio sample rates but always create 16KHz at the end.
If someone here has the knowledge in A/V synchronization or a good setup that works - please let me know so i will fix it.
Thanks.
CWM Flashable files to download (Camcorder mod and original camcorder to revert back) :
You can use this to sync A/V - http://fixounet.free.fr/avidemux/download.html
Awesome work! Thanks.
Glad to have u aboard thanks for this man this is well needed!!!!!
Now having AntonX kernel supporting Vodoo Sound - I will test audio HiFi record option enabled on video recording and update.
Would love to see this become final. You certainly are right about the audio during concert recording. All we hear is pure bass... Thank you for working on a much needed video recording mod.
Eurik said:
Would love to see this become final. You certainly are right about the audio during concert recording. All we hear is pure bass... Thank you for working on a much needed video recording mod.
Click to expand...
Click to collapse
Yeah.. would be awesome.
Thanks for the work, itzik2sh.
Edit : guys working with Voodoo sound (with supporting kernel)
need to run the Voodoo sound app and choose 'Recording Preset' - then change default to 'Loud environment - with DRC'
This should improve the recording level of loud shows.
Hi
Did anyone here test this MOD with live concert recording ?
If it doesn't help than I'll drop all further work.
I thought this problem is SGS 4G unique, but it turns out it exists on all Sammy phones,
even Nexus and SGS 2. See this bounty thread for SGS 2 :
http://forum.xda-developers.com/showthread.php?t=1172048
and this :
http://forum.xda-developers.com/showthread.php?t=896826
I'll try to ask AntonX to take a look or maybe ask supercurio on kernel implementation...
I also tried installing LGCamera from the market, which supposingly has an audio gain control, but it fails to launch and I had to uninstall it.
Nice improvement
Sent from my SGH-T959V using xda premium
Very good, very like
itzik2sh said:
Edit : guys working with Voodoo sound (with supporting kernel)
need to run the Voodoo sound app and choose 'Recording Preset' - then change default to 'Loud environment - with DRC'
This should improve the recording level of loud shows.
Click to expand...
Click to collapse
After voodoo digital recording, video and audio are repacked and converted to the device analog sampling rates, that this tweak changes (but also unsyncs)...
So if you have the time and effort, I'd appreciate if you share your experience with us all.
Sent from my SGH-T959V using xda premium

[Q] Bad Sound quality while recording video

Hi all,
currently running rooted Stock ROM 4.4.4. and while the video quality os OK I´m very dissatisfied with the sound quality when recording videos. Tried using the (new) google Camera app from playtore which is my standard app and also tried using the free OpenCamera app.
The sound is extremely muffled and it seems like noise reduction or internal audio processing is the culpit.
Is there any chance to get rid of the noise cancelling when recording videos?
I know it must be possible because for example the Hi-Q MP3 audio recording app I use allows me to choose the audio input (raw audio, main mic) and I get much better sound quality using the raw audio unprocessed sound input vs. main mic which seems to be amplified.
Any hints on this guys?
Thanks a bunch,
Kusie
Did you try and search? Few threads about this.
Sent from my Nexus 5 using Tapatalk
Seems my first search was not good enough, did a new search with different search words and found two threads.
Thanks!
Kusie said:
Seems my first search was not good enough, did a new search with different search words and found two threads.
Thanks!
Click to expand...
Click to collapse
There's also quite a lengthy thread called something like "Microphone issues" that also covers this issue.

Very Bad audio quality in video recording

Hello guys First of all it's my first post in the nexus 5 group (i've did a pre-search) and i contact you with this problem
Last night i went out with friends at a pool party and used my nexus 5 for recording some videos from the stage. The music wasn't to loud, just like normal club music, in open space. Today when i took a look on the video i got scared...the sound quality is insanely BAD !. It's like the phone is set to +100 gain in the microphone... I tried normalizing audio in premier pro but with no chance. So i ask you guys, do you know any solution on how i can repair the problem. The best audio quality i had in recording videos in club (audio especially) was with my Nokia E51 that had the best mics i can find one a phone...
so here is a comparison:
In club music (closed space) shot with my Htc One S (no dual mic or things like that) -> https://www.facebook.com/photo.php?v=487777791348118&set=vb.100003477036350&type=3&theater
in club music (closed space) shot with my Nokia E51 (a 5-6 years phone that still records audio crispy clear for a phone ! - don't look at video quality) -> https://www.facebook.com/photo.php?v=247706518688581&set=vb.100003477036350&type=3&theater
last night with my nexus 5 ->https://www.dropbox.com/s/3vtisokit5ontwl/VID_20140727_032412.mp4
All the link are so you guys can see that exact problem that i have. I want to repair it, if it is possible in the stock rom (with a app) or if i need to install a custom rom, what is the best rom that resolves my problem and has best performance .
Thank you in advance !
I have exactly the same problem. Tried recording at a couple of indoor parties(so a little louder than your situation. Couldn't recognize any music when playing the video's afterwards. Terrible quality
Sent from my Nexus 5 using XDA Premium 4 mobile app
Partial fix - i think
Ok so last night i got an app from play store called microphone that has a setting on the mic called mic gain. it was set to +32 dB....overgain ! so i set it to 0 and did some recording in the house with my audio system on a high volume and afterwards put the phone next to the speaker and seem that it records decent . but i think it is a problem related to software settings... will keep you updated on what i found
Sounds awesome. Thanks for your effords
Sent from my Nexus 5 using XDA Premium 4 mobile app
Problem solved?
I can't post links so if anyone wanna fix this or just post the links from my post that would be great, thank you.
So I've found a solution, or at least a temporary one
Get the camera app called Lgcamera. In this app you can manually set your audio settings.
Set it to AAC and set the stereo option to On (this did it for me atleast).
/store/apps/details?id=rubberbigpepper.lgCamera&hl=sv
I made a little video about it since I couldn't find this solution before, hope it helps!
/watch?v=RVWcE3dQoMk
Please help spread the video on forums where this issue is discussed so more people (and perhaps even Google?) can record without that awful noise reduction/cancellation! If enough people complain then they will probably (hopefully) implement these settings in the "Google Camera" app!
Thanks for the video! This is the video.
http://youtube.com/watch?v=RVWcE3dQoMk
And the link to the Play Store:
https://play.google.com/store/apps/details?id=rubberbigpepper.lgCamera&hl=nl
Sent from my Nexus 5 using XDA Premium
BE CAREFULL though with LGCamera, because I found that no matter what you choose in settings, fullHD (1024p) videos are ALWAYS recorded with 15 frames per second only (vs 30 as normal), making the videos look very choppy. So I deinstalled LGCamera again. Otherwise great app.
But I found a good substitute, it called Open Camera, link to the (free) app and also a possible video mic fix (reduces mic gain).
Link and more info here:
http://forum.xda-developers.com/showpost.php?p=54391146&postcount=54
HTH,
Kusie
Kusie said:
BE CAREFULL though with LGCamera, because I found that no matter what you choose in settings, fullHD (1024p) videos are ALWAYS recorded with 15 frames per second only (vs 30 as normal), making the videos look very choppy. So I deinstalled LGCamera again. Otherwise great app.
But I found a good substitute, it called Open Camera, link to the (free) app and also a possible video mic fix (reduces mic gain).
Link and more info here:
http://forum.xda-developers.com/showpost.php?p=54391146&postcount=54
HTH,
Kusie
Click to expand...
Click to collapse
Hmm, strange. I do not have that problem. I record with 30FPS without any problems. Maybe something is wrong in the settings? Have you tried changing the video format around? The app is not that great but it does the job for now, atleast for me.
Edit:
I noticed that the front camera is not that great in Lgcamera, but the back I have no problems with. I recorded a video on my instagram if anyone wanna check it out. I'm still changing the bit values around hoping it will sound even better.
Speakers are "semi-loud" and i recommend watching the video in your phone or atleast lowering the bass if you're watching it with "real speakers".
instagram.com/p/rCDsh5xX9C/?modal=true
Here are my settings for this particular video:
Back camera
1920x1080
H.264
Vid Bitrate 17mbit
Vid framerate 30
AAC
44100 Samplerate
128000 Bitrate (unsure of what value is best here)
Stereo OFF
Ok thanks, I might give it another try... Open Camera works well for me, though.
Did you check the actual framerate of your resulting video with a tool like mediainfo or VLC Player codec Info?
Nice guitar work btw
Greetings from a drummer,
K.
Kusie said:
Ok thanks, I might give it another try... Open Camera works well for me, though.
Did you check the actual framerate of your resulting video with a tool like mediainfo or VLC Player codec Info?
Nice guitar work btw
Greetings from a drummer,
K.
Click to expand...
Click to collapse
Frame rate in VLC: imgur.com/SEyPhoh.png
Open Camera works too, but I still get the audio artifacts when recording with a backing track. I get those in LG too, just not as much. Lg is in no way perfect, but the sample and bit rate allows a bit more customization if you ask me.
I'll upload one with OC when I get home! And thanks
By the way, what settings did you use in Open Camera? Or did you just lower the gain?
Callemusicman said:
44100 Samplerate
128000 Bitrate (unsure of what value is best here)
Stereo OFF
Click to expand...
Click to collapse
higher bitrate = better quality/higher filesize :good:
HUUUGE discovery today!
Update your LG-camera, go to settings and set audio to "voice communication" = headset. You can now record with your headset, see my instagram @Callemusicman for results!
It completely removes the noise cancellation!!
Isn't there any other solution? Because if i use, for example, Instagram, the sound is still very bad... so this LG app isn't usefull for recording with Instagram or other apps...
http://forum.xda-developers.com/google-nexus-5/development/mod-camcorder-audio-quality-fix-t2837930

[Q] WhatsApp Audio Quality Record Solution

Hello,
With some devices, whatsapp audio record looks very awful, almost unlistenable. I know that the app provide some compression over the file to save bandwith, but the strange thing is that with other devices(Sony, Apple, etc...) the sound quality is just great. With this, i have 2 theories about it:
1- There must be a file with audio profiles that the app could use, just like media_profiles.xml that tells output, bitrate, etc, or...
2- Whatsapp is using a "generic" audio record method, not getting advantage of other audio options the device could offer.
The only problem with the second theory is that if you record a video throught the own app/3rd party, the audio is very clear and good.I've tried to look over system/, data/, etc/ and libs/ to see if there's any file that could lead to solution but nothing came.
Please, someone consider some further investigation about this issue, with i believe many people faces this.
Thank you.

Categories

Resources