[MOD][2011-08-27]Improved video & audio setting - LG Optimus 3D

Hi there,
here's my patched media_profiles.xml which improves your LG 3D video&audio recording quality.
The sound is significant improvement, i was sick of that "crispy" noise. After trying this patch you'd hear the sound is more natural.
You only need to apply these settings (replace the file in your system).
No need for additional patches or extra camera apps!
For recording on SD I recomend to use Class 6 or better, but i've made some tests on Class 4 with pretty good results as well.
That this improves:
2D and 3D video bitrate to 15Mbps
Video sound to 48kHz at 256kbps
What do I need
Your rooted LG Optimus 3D
Any file manager (eg. Root Explorer)
Download my file mediaprofiles.zip (see link below)
How do I install it
Root your phone (if not already done)
Download the file mediaprofiles.zip
Extract the media_profiles.xml from the Zip to the SD card of your phone
In your phone file manager:
go to system/etc and make a backup of your media_profiles.xml (eg rename it)
copy or move the new media_profiles.xml (the downloaded) to system/etc
Reboot your phone
Enjoy improved video & sound quality
Note that some players may still report the sound is only LQ at 24KHz 64kbps but just try it, you'll hear the difference very well
BUGS
Front camera is not recording
Camera app may crash when saving video - however video should be saved correctly.
... will try to get this fixed asap ...
DOWNLOAD:
File attached

Thank you so much,great job
15mb are for 720p or 1080p in 2d?

thanks so much
great mod =))

Seems to be working fine. Video is crisper in high detail areas and the bitrate in my sample video increased from 8 Mbit/s to about 12 or 13 Mbit/s.
Some weird behavior though: After I've shot a video (when I tap the Stop button) I get booted to the home screen instead of remaining in the Camera application. The video itself is fine though, no corruption or anything, but it's a bit of an annoyance to get booted.

Hi,
the bug with front camera seems to be fixed,
also the crashing camera app when saving the video seems to be fixed.
I'll make some tests and if this will work fine I will post the updated MOD asap....

I m using root explorer and i can't replace the mod file, i have read only message

nic85 said:
I m using root explorer and i can't replace the mod file, i have read only message
Click to expand...
Click to collapse
Had the same Problem. Had to deinstall Root explorer and update to the latest Version it worked then.

Ok it works, i had to set r/w
P. S. But 3D recording dont work for me
P.p. S after recorded 2 1080p video, the camera stop working

New MOD attached.
This is 2D/3D video still at 13-15Mbps
Bugs fixed:
Front camera working (with its default LQ settings)
Original Camera app is no longer crashing after saving the video
New bug:
Sound quality is normal - default, no improvement.
Will try to fix this asap.....

3d recording is working now?

its working on the two phones i got. feel free to test on yours. thanx.

it works now
waiting for audio improved,and higher bitrate for 1080p,like 20Mb/s
how can i/we support your work?have u got any paypal account?

everything stable ?

Yep Thanks to the dev

nice il try it
wont install

Great work, actually the audio quality was the most thing annnoying me with this phone.
Waiting for it ti install.

wencel said:
its working on the two phones i got. feel free to test on yours. thanx.
Click to expand...
Click to collapse
Men.. you dont look my post?
Im gonna quote myself....
If someone have knowledge, and can help please, Shoot me a PM.
See ya! and excuse if you mistunderstand something, my english isnt soo good.
Click to expand...
Click to collapse
OMg.... stupid.
EDIT: ( dont be kid, you just downloaded my mod and edited media profiles.... i checked it right now... and is my custom media profiles... )
Check the original media profiles, then check my media profiles and you see the diference, and then check my media profiles with the media profiles of this mod.. the same, just edited the bitrate...
And 1 more thing about the "audio" tweak... Be carefull with that, because some phones cant handle it for any reason, and the recording will crash soon as the phone "exceed" the limit.

may sound strange, but can we have a "compromise" version?
I would love this as the macroblocking on 3D is obvious on my big TV, but my SD card isn't that fast, any chance of an 8mbps version? (for 3D, double the bitrate of stock but not so high it needs an expensive SD card)

|ErosizeD| said:
Men.. you dont look my post?
Im gonna quote myself....
OMg.... stupid.
EDIT: ( dont be kid, you just downloaded my mod and edited media profiles.... i checked it right now... and is my custom media profiles... )
Check the original media profiles, then check my media profiles and you see the diference, and then check my media profiles with the media profiles of this mod.. the same, just edited the bitrate...
And 1 more thing about the "audio" tweak... Be carefull with that, because some phones cant handle it for any reason, and the recording will crash soon as the phone "exceed" the limit.
Click to expand...
Click to collapse
omg! He do that??!

mmace said:
may sound strange, but can we have a "compromise" version?
I would love this as the macroblocking on 3D is obvious on my big TV, but my SD card isn't that fast, any chance of an 8mbps version? (for 3D, double the bitrate of stock but not so high it needs an expensive SD card)
Click to expand...
Click to collapse
I think you should buy a class 6 sd card, or save the camera files into internal memory.. These mods are made for the best results as we can

Related

Improved 2.2 Camera.apk and Media_profiles.xml

Here we go
8mbps for all recording working
Standard High Profile
800x480 - H264 - 8mpbs - .mp4 extension
http://www.mediafire.com/?6bh8o8gwa920ikl
just download , extract and overwrite original ones(remember to set permissions on camera.apk).
Thanks
Any secondary effects?
Can you or anyone post some screenshots ?
kozxmartt said:
Can you or anyone post some screenshots ?
Click to expand...
Click to collapse
+1
compare between old version and new one please
Quality is improved but cant check by how much bcoz it is night over here.
I'll check it tomorrow morning and post the results.
coolsid8 said:
Quality is improved but cant check by how much bcoz it is night over here.
I'll check it tomorrow morning and post the results.
Click to expand...
Click to collapse
its not too much... but a little slight of improve.... read the media_profile.xml n compare..... thts the diffrence... huhu
i have delay with voice
Just quick question, why anybody is trying to get the flash working as it should, like it does with vignette???
can someone please elaborate exactly how to install this? i can't open it with file manager on the sd card (it's extracted)
Astral07 said:
can someone please elaborate exactly how to install this? i can't open it with file manager on the sd card (it's extracted)
Click to expand...
Click to collapse
Download the file, extract it. move the extracted file to sd card.
from phone: using root explorer, locate extracted file, move it to system/app, you will get a warning message saying camera.apk already exists are you sure you want to overwrite it?
click ok
long press on camera.apk and change permissions accordingly.
USER: check "read" "write"
GROUP: check "read"
OTHERS: check "read"
reboot phone
I can't play the file on Windows 7. I have tried with many third party .3gp apps. But it didn't success. So which software do I have to play on PC.
And what about photo improvement as you did great job with the 2.1 one??? When could we be able to adjust exposure, X10 has quite big problem to take good photos without exposure adjusting during photo shooting...
Sent from my X10i using XDA App
tried all night. slight improvement, delay with voice.
blisslove said:
I can't play the file on Windows 7. I have tried with many third party .3gp apps. But it didn't success. So which software do I have to play on PC.
Click to expand...
Click to collapse
Search Google for VLC Media Player.
stanleycup said:
Search Google for VLC Media Player.
Click to expand...
Click to collapse
Cheers mate. I forgot that VLC player.
When I compared to watch .3gp and .mp4, .mp4 video quality is better than .3gp
Mr Patchy Patch said:
Download the file, extract it. move the extracted file to sd card.
from phone: using root explorer, locate extracted file, move it to system/app, you will get a warning message saying camera.apk already exists are you sure you want to overwrite it?
click ok
long press on camera.apk and change permissions accordingly.
USER: check "read" "write"
GROUP: check "read"
OTHERS: check "read"
reboot phone
Click to expand...
Click to collapse
is this version much better than the built in Camcoder patch in wolfbreak v4.4?
just overwrite that current version?
thats it?
MMS settings
Hi ... as for 2.1 camera excellente job .... I can cleary see the improvement
As usual to change the audio may be dangerous for shyncronisation
One think I observed and I would like to suggest is concerning the MMS settings
Currently the format is 3gp but with size 640 by 480 ......
Trying differente sizes ... produce reboot when playing the video
Because of these settings the video length pemitted within the 300k standard is just 7-8 sec istead of the almost 30 sec permited with 320 by 240 or by using QIF smaller sizes......
What I wonder is if it would be possible to set the MMS video on 3gp but with smaller size or if it is available a tool (like the one used in the last 2.1) able to resize the mms video
Thanks
Is this the same Camera app that Wolfbreak has included as an update to his CM 6.1.3 v4.4?
If so then can you optimize the 720p quality please, since I get audio delays and the recorded videos also have lags in them. The 720p can be enabled by just clicking 'Custom' in the quality settings and although you see green lines and distorted images on screen, the camera app actually records in 720p
If you can fix the audio and video issues, this will be the final answer to _ALL_ of our camcorder woes
Camera uninstalled by mistake..
Any ideas on how to install the new or get the old one back on CM 6.1.3 v4.4. Should have just replaced the camera.apk but instead I uninstalled.
Update: Used flashtool to install camera.apk from Rendeiro. Thanks to him.
Install the codec from here...
http://www.windows7codecs.com
You dont need any 3rd party softwares.... Say thanks, if helped....
blisslove said:
I can't play the file on Windows 7. I have tried with many third party .3gp apps. But it didn't success. So which software do I have to play on PC.
Click to expand...
Click to collapse
Sent from my X10i using XDA App

[MOD] 720p recording ported from Hancocks ROM

BEFORE YOU READ ANY FURTHER, THIS MOD/PORT (WHATEVER) WILL PROPABLY ONLY WORK ON RED LENSED DEFYS! SORRY BUT IT SEEMS TO BE A HARDWARE THING! AND THERE ALSO MIGHT BE THE SLIGHT POSSIBILITY THAT IT IS LIMITED TO 3.4.2_145-003 VERSION ONLY! (AT LEAST THIS IS THE VERSION HANCOCKS ROM IS BASED ON AND THE SAME I TESTED IT WITH)
to make it short, i (kind of) ported the 720p recording capability of hankocks rom 1.11 to pays rom 3.3 (based on 3.4.2_145-003).
first of all, I AM NO DEVELOPER! so all props go to hankock! what i did was the following:
i took all the libs from hancocks rom which had something to do with camera & encoding (as you can see, not a very devlike procedure) and put them into my system/libs. then i took media_profiles.xml from hancocks rom and put it to my system/etc (of course i changed back permissions afterwards). first i used hancocks patched stock camera app and merged my and his build.prop so that the whole thing would run on my rom. and it worked perfectly. but this solution has 2 drawbacks:
1. hancock used 3gpp container, which is imho inferior to mp4
2. the audio encoding is very bad (amr_nb, 8kbps)
then i found out, that if i used lgcamera instead i would't need to change build.prop anymore and it still worked fine. besides of that, lgcamera is much more customizable settingwise. and by not modifying build.prop, i hope to enhance compatibility of this mod to other froyo versions.
and that is what my package contains:
-all libs with "enc", "cam", "camera" in therr names from hancocks rom (i know, i'm an amateur )
-media_profiles.xml from hancocks rom
-lgcamera 5.25 (free) btw. it works with the latest pro version from the market too
please use tenfars clockwork mod or other custom recovery to flash this update.zip. the built in original recovery won't work (doesn't accept signature). BEFORE YOU START, DON'T FORGET TO MAKE A NADROID BACKUP!!!
here you find an untouched video sample: http://forum.kut-btu.de/video/VIDEO00017.mp4
([email protected],8fps, mp4-container, video: [email protected]~10000kbit/s, audio: [email protected]/s, 44khz)
i know, seems very choppy but this is because i was walking constantly. framerate is quite good. my defy runs at 1,2ghz but i tested 720p rec @ 800mhz too and it worked the same. it might be necessary to apply sdcard read_ahead_kb patch (mine runs at 2560 kb instead of 128) to avoid slow framerate effect which could be observed on hancocks rom.
sadly, recording with .h264 codec is still not possible (and i doubt it ever will). hence the resulting video is no match for the 720p recordings of e.g. the samsung wave but imho it is still a lot better than stock and looks almost great
now i leave it to the real devs to optimize this, whatever it is.
DISCLAIMER:
I WILL NOT BE HELD RESPONSIBLE FOR ANY DAMAGES RESULTING FROM THIS MODIFICATION!
/edit:
mod works fine on the following froyo versions:
-3.4.2-117
-3.4.2-145 (as the mod comes from this version)
-3.4.2-155
mod doesn't work on:
-3.4.3-11
strange behavior detected:
after recording in 720p dmesg shows:
Timed out waiting for DSP suspend 3
pm_op()latform_pm_suspend+0x0/0x54 returns -1
PMevice C6410 failed to suspend:error -1
PM:Some devices failed to suspend
Click to expand...
Click to collapse
don't know, which impact this has on battery drain. after fresh reboot and w/o recording in 720p this problem doesn't show up.
Thnaks for this - i'll have a play with it later today
It works with Barebones 1.4... when im recording it seems little bit choppy, but playing it in MoboPlayer is good (smooth, maybe not 30 fps but its good!).
Thank you!
Antszej said:
It works with Barebones 1.4... when im recording it seems little bit choppy, but playing it in MoboPlayer is good (smooth, maybe not 30 fps but its good!).
Thank you!
Click to expand...
Click to collapse
great! since Barebones 1.4 is based on CEE 3.4.2-155-002 Deblur, we can add it to the compatibility list.
yes, the recording view seems choppy on my system too, but the resulting video is quite smooth (~23-24fps).
http://www.multiupload.com/APEW3UPMI0
Here is the sample.
juuu
I want this for green lens...
insestito said:
juuu
I want this for green lens...
Click to expand...
Click to collapse
sorry. i believe that 720p recording isn't impossible for green lense models. but i do believe that this patch based on hancocks mod will do the trick only for red lens defys. because it isn't just the color of the lens but a totally different sensor. perhaps someone figures out a mod for green lenses too.
But official Froyo is near, just wait, it should have 720p recording for EVERYONE.
I compare it to xd1 ROM files, and find the different files are,
720p_mp4venc_sn.dll64P
libOMX.TI.720P.Encoder.so
libOMX.TI.JPEG.Encoder.so
libOMX.TI.mp4.splt.Encoder.so
libOMX.TI.Video.encoder.so
Hope it can reduce the update size.
Antszej said:
But official Froyo is near, just wait, it should have 720p recording for EVERYONE.
Click to expand...
Click to collapse
what leads you to this assumption?
sunoldman said:
I compare it to xd1 ROM files, and find the different files are,
720p_mp4venc_sn.dll64P
libOMX.TI.720P.Encoder.so
libOMX.TI.JPEG.Encoder.so
libOMX.TI.mp4.splt.Encoder.so
libOMX.TI.Video.encoder.so
Hope it can reduce the update size.
Click to expand...
Click to collapse
feel free to modify the package everyone... my work is done
Worked like a charm for me, thanks!
ToTTenTranz said:
Worked like a charm for me, thanks!
Click to expand...
Click to collapse
u r welcome
Yep it works here too but i cant see much difference between WVGA and this 720p..its almost the same. Is there any app on market that has continuous autofocus while recording video(like barcode scanner) ?
I'll create this patch for the green lens?
insestito said:
I'll create this patch for the green lens?
Click to expand...
Click to collapse
is this a statement or a question?
derbestimmer said:
is this a statement or a question?
Click to expand...
Click to collapse
Question for you or any Dev, sorry...
Google translator is very bad...
insestito said:
Question for you or any Dev, sorry...
Google translator is very bad...
Click to expand...
Click to collapse
i don't think i will be any helpfull, cause i'm no dev. i just took the work of a dev and ported it to another rom. sorry. perhaps someone else is able to do it.
My problem with Hancocks ROM is that lgcamera records very light sound, no matter what encoding I chose (AMR_NB, AMR_WB or AAC). I am not even sure the software records sound on defy with encoding as AMR_WB and AAC.
Video works ok with MPEG4 encoding though with twp slight issues. One is video file bitrate is not the same as configured in lgcamera settings. The other one is framerate is always below 25 - not sure if SD card speed is the bottleneck.
shural said:
My problem with Hancocks ROM is that lgcamera records very light sound, no matter what encoding I chose (AMR_NB, AMR_WB or AAC). I am not even sure the software records sound on defy with encoding as AMR_WB and AAC.
Video works ok with MPEG4 encoding though with twp slight issues. One is video file bitrate is not the same as configured in lgcamera settings. The other one is framerate is always below 25 - not sure if SD card speed is the bottleneck.
Click to expand...
Click to collapse
with light sound, do you mean quiet or bad quality? strange when i set lgcamera from amr_nb to aac, it does use this codec at least the resulting video shows this in codecinfo. and i think the sound quality is slightly better too compared to amr. concerning the other two issues, i have the same experience. the framerate never goes over 23,9fps and when i force it to 25 or even 30, lgcamera won't start recording. youre right the bitrates of the resulting video are mostly lower then the bitrates chosen in lgcamera. 13 prduces ~10, 10 produces ~8 and 8 produces ~6 mbps. but imho there is a difference visible between 13 and 8mbps respectively 10 and 6 in the resulting video. at least on the computer you can see the difference.
Sent from my MB525 using Tapatalk

[MOD] [N900] [ROOT] Camera "Smooth motion" extended record time. Update 12.11.2013

[MOD] [N900] [ROOT] Camera "Smooth motion" extended record time. Update 12.11.2013
Modified camera:
1. 1920x1080 60 fps (smooth motion) with extended time limit to 90 minutes.
2. Audio bitrate raised to 256kbit (was 128).
3. JPEG compression quality raised to 100 (was 96).
4. File naming of photos and videos changed to "yyyy.MM.dd_hh.mm.ss" (was "yyyyMMdd_hhmmss").
This version with 4Gb video file size limit, for SD cards formated to fat 32 and internal flash memory:
Download all 3 parts !!!
View attachment SamsungCamera2_4Gb_limit.part1.rar
View attachment SamsungCamera2_4Gb_limit.part2.rar
View attachment SamsungCamera2_4Gb_limit.part3.rar
------------------------------------------------------------------------------------------------------------------
This version with unlimited video file size (90 minutes time limit), for SD cards formated to ntfs, exfat etc (dont instal it on phone with fat32 SD card, camera will hang when file reach 4Gb):
Download all 3 parts !!!
View attachment SamsungCamera2_unlimited.part1.rar
View attachment SamsungCamera2_unlimited.part2.rar
View attachment SamsungCamera2_unlimited.part3.rar
Install: extract archive, copy SamsungCamera2.apk to "system/app" (make backup) give to it rw- r-- r-- permisions, delete "system/app/SamsungCamera2.odex" (make backup) if it exist, then reboot. Camera icon will disappear, you find it in apps.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Update 12.11.2013 Default recording mode is "smooth motion" with posibility to make photos in this mode. To switch to 1920x1080x30 go to settings, video, video size - 1920x1080 (or else).
This version with 4Gb video file size limit, for SD cards formated to fat 32 and internal flash memory:
Download all 3 parts !!!
View attachment SamsungCamera2_4Gb.part1.rar
View attachment SamsungCamera2_4Gb.part2.rar
View attachment SamsungCamera2_4Gb.part3.rar
------------------------------------------------------------------------------------
This version with unlimited video file size (90 minutes time limit), for SD cards formated to ntfs, exfat etc (dont instal it on phone with fat32 SD card, camera will hang when file reach 4Gb):
Download all 3 parts !!!
View attachment SamsungCamera2.part1.rar
View attachment SamsungCamera2.part2.rar
View attachment SamsungCamera2.part3.rar
WARNING: It seems that 4Gb limit is there. Camera in logs shows max file size is 68 Terabytes. May be system restriction of recordings max file size.
This sounds pretty sweet, even tho I'm not rooted myself.
I'm wondering why Samsung set these limits, there must be some stability issues with this, otherwise it makes no sense to me. Btw, is Note 3 FAT or NTFS as standard?
Sent from my Note 3
Rallerbabz said:
This sounds pretty sweet, even tho I'm not rooted myself.
I'm wondering why Samsung set these limits, there must be some stability issues with this, otherwise it makes no sense to me. Btw, is Note 3 FAT or NTFS as standard?
Sent from my Note 3
Click to expand...
Click to collapse
This mod very well tested on N9005 4K mode - its OK. Internal memory dont takes files bigger than 4Gb.
this was exactly what I was looking for.. awesome stuff... but is it possible to make default video recording to 60fps?
Dheemanth10 said:
this was exactly what I was looking for.. awesome stuff... but is it possible to make default video recording to 60fps?
Click to expand...
Click to collapse
I dont have much time, it takes 3-5 hours of work.
If it works on N9005 as well it is great! Thanks alexhc18 for this!!!
Mr.Mefisto said:
If it works on N9005 as well it is great! Thanks alexhc18 for this!!!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2505106&page=13
Does this work on snapdragon version ?
Sent from my SAMSUNG-SM-N900A using xda app-developers app
Is it possible to set smooth mode by default so that you don't have to set it everytime? (Changes don't get saved with stock camera)
drakeymcmb said:
Does this work on snapdragon version ?
Sent from my SAMSUNG-SM-N900A using xda app-developers app
Click to expand...
Click to collapse
Must work without 4K mode. For snap see #7 post.
onyxogen said:
Is it possible to set smooth mode by default so that you don't have to set it everytime? (Changes don't get saved with stock camera)
Click to expand...
Click to collapse
I working on it.
Any chance of making an Xposed version?
Can you crack the limit "shot on recording " when we use Smooth motion..
thanks!!
rulala said:
Can you crack the limit "shot on recording " when we use Smooth motion..
thanks!!
Click to expand...
Click to collapse
Limit? I dont have it.
alexhc18 said:
Limit? I dont have it.
Click to expand...
Click to collapse
sorry I have not root my n900 yet.
so I have not use your mod yet. I appreciate it.
But The stock Camera only shot photos on recording [email protected] .
If you use Smooth motion(60fps) , You can't shot photos and record together.
So your mod had remove this limit from stock camera ?
Big thanks.:good: sorry my bad English.
Good work. Thank you
SM-N9000Q ROM V3.2
SM-N900 cihazımdan Tapatalk 2 ile gönderildi
rulala said:
sorry I have not root my n900 yet.
so I have not use your mod yet. I appreciate it.
But The stock Camera only shot photos on recording [email protected] .
If you use Smooth motion(60fps) , You can't shot photos and record together.
So your mod had remove this limit from stock camera ?
Big thanks.:good: sorry my bad English.
Click to expand...
Click to collapse
On MJ7 ROM this limit is absent.
Possible cause is CSC region restriction.
EDIT
I checked out. You are right. Not posible on stock camera. With my last camera this limit is gone until you switch to 30fps then back to 60fps.
alexhc18 said:
On MJ7 ROM this limit is absent.
Possible cause is CSC region restriction.
EDIT
I checked out. You are right. Not posible on stock camera. With my last camera this limit is gone until you switch to 30fps then back to 60fps.
Click to expand...
Click to collapse
thanks your reply.
it is really a very good MOD.
someday if i Root my phone, I will try it right away.
Is there a mod to enable the 4K video recording? Or is it a hardware limitation?
OMG-FFS said:
Is there a mod to enable the 4K video recording? Or is it a hardware limitation?
Click to expand...
Click to collapse
hardware limitation exynos doesn't support 4k

[MOD] Improve image/video/sound quality

Hello friends!
This is my very first work so please do not hate me.
So, simple as the title says this mod/hack don't know how to call - it increases your cameras bitRates from its limitations. For example for video recording original bitRate was 10000000 and acc audio codec rate was 128000. With this mod it improved to 20000000 and audio codec to 288000. This is maximum as its possible (as far as I know). This is because video encoder h264 supports maximum of 20000000bitRates. Also let's not forget image quality it doesn't seem to be changed a lot but still its an improvement. Increased all image encoding quality values to 99.
DONT FORGET TO MAKE NANDROID BACKUP THIS IS IMPORTANT
+ you can make a backup of your original media_profiles.xml
Flashable install
1. Download mod.zip and place to your SD card/root.
2. Reboot into recovery.
3. Clear Cache/Dalvik Cache.
4. Install Camera Mod.
5. Clear Cache/Dalvik Cache.
6. Reboot and enjoy.
I don't think wiping cache is necessary but to avoid problems its suggestible.
Manual install
1. Download media_profiles.rar extract it anywhere on your PC.
2. Push it to your system/etc (I am using root explorer so it's easy to mount R/W).
3. Obviously click yes if prompted.
4. Reboot.
-------------------------------------------------------------------------
If problems occur please be sure permission are set right which are -rw-r-r- or 644
Hope everything will work for you and you will enjoy this!
If you find any mistakes/bugs etc please fix me! :angel:
There is no benefit in increasing the audio bitrate of the video encoder above 128k, the microphone isn't good enough for it to make a difference and you are just using up unnecessary extra space on your device.
bcpk said:
There is no benefit in increasing the audio bitrate of the video encoder above 128k, the microphone isn't good enough for it to make a difference and you are just using up unnecessary extra space on your device.
Click to expand...
Click to collapse
+1 for the feedback. Interesting what others can say and if they achieved anything. Is it your knowledge talking or you actually run some tests?
http://imgur.com/py6f00L
bcpk said:
There is no benefit in increasing the audio bitrate of the video encoder above 128k, the microphone isn't good enough for it to make a difference and you are just using up unnecessary extra space on your device.
Click to expand...
Click to collapse
This is probably true. The mic is good but not that good so over 128k AAC is kind of overkill. We just need video bitrate improvements.
Overkill
eddvys said:
+1 for the feedback. Interesting what others can say and if they achieved anything. Is it your knowledge talking or you actually run some tests?
http://imgur.com/py6f00L
Click to expand...
Click to collapse
He´s just using common sense. Even the original 128 kbps was overkill for the quality you get from the mic and 288 kbps? Well, that´s just insane. Imagine that people listen to studio recordings @ 128 kbps AAC.
Edit:
Just noticed that you also increased the video bitrate to 20 Mbps. Really? We are talking about 720p videos from a mobile phone
knizmi said:
He´s just using common sense. Even the original 128 kbps was overkill for the quality you get from the mic and 288 kbps? Well, that´s just insane. Imagine that people listen to studio recordings @ 128 kbps AAC.
Edit:
Just noticed that you also increased the video bitrate to 20 Mbps. Really? We are talking about 720p videos from a mobile phone
Click to expand...
Click to collapse
Let him play around with the settings until he finds a sweet spot. This is just him experimenting right now. No need to be so negative.
CADude said:
Let him play around with the settings until he finds a sweet spot. This is just him experimenting right now. No need to be so negative.
Click to expand...
Click to collapse
I am being negative here because of " Interesting what others can say and if they achieved anything." Sorry to say that, but this is a very arrogant attitude, especially when he was replying to someone who was right. Edviss basically told him "You never achieved anything, so shut up.", while he probably doesn´t know what he is doing himself.
knizmi said:
I am being negative here because of " Interesting what others can say and if they achieved anything." Sorry to say that, but this is a very arrogant attitude, especially when he was replying to someone who was right. Edviss basically told him "You never achieved anything, so shut up.", while he probably doesn´t know what he is doing himself.
Click to expand...
Click to collapse
What are you talking about dude? Could you please show me where I was talking like that? You need to take this forum life a little more simpler. With this attitude of yours go hide better somewhere
thanks for investigating this, will check your progress now and then
Sent from my XT1032 using XDA Premium 4 mobile app
Will it work on stock ROM XT1033
Sent from my XT1033 using Tapatalk
eddvys said:
Hello friends!
This is my very first work so please do not hate me.
So, simple as the title says this mod/hack don't know how to call - it increases your cameras bitRates from its limitations. For example for video recording original bitRate was 10000000 and acc audio codec rate was 128000. With this mod it improved to 20000000 and audio codec to 288000. This is maximum as its possible (as far as I know). This is because video encoder h264 supports maximum of 20000000bitRates. Also let's not forget image quality it doesn't seem to be changed a lot but still its an improvement. Increased all image encoding quality values to 99.
DONT FORGET TO MAKE NANDROID BACKUP THIS IS IMPORTANT
+ you can make a backup of your original media_profiles.xml
Flashable install
1. Download mod.zip and place to your SD card/root.
2. Reboot into recovery.
3. Clear Cache/Dalvik Cache.
4. Install Camera Mod.
5. Clear Cache/Dalvik Cache.
6. Reboot and enjoy.
I don't think wiping cache is necessary but to avoid problems its suggestible.
Manual install
1. Download media_profiles.rar extract it anywhere on your PC.
2. Push it to your system/etc (I am using root explorer so it's easy to mount R/W).
3. Obviously click yes if prompted.
4. Reboot.
-------------------------------------------------------------------------
If problems occur please be sure permission are set right which are -rw-r-r- or 644
Hope everything will work for you and you will enjoy this!
If you find any mistakes/bugs etc please fix me! :angel:
Click to expand...
Click to collapse
Is there an upgrade possible ?
h2o64 said:
Is there an upgrade possible ?
Click to expand...
Click to collapse
I haven't got the device anymore, its really hard this way.
eddvys said:
I haven't got the device anymore, its really hard this way.
Click to expand...
Click to collapse
Oh.
That's little files. If you want a tester. Many people can do it

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

Categories

Resources