[DEV] media_profiles.xml modding (improve picture&video quality) - HTC Desire S

Hi,all .
I'm trying to modding media_profiles.xml for desire s because this thread
http://forum.xda-developers.com/showthread.php?t=1065992
(some time i use phone cam to record my piano so sound quality is important )
This is what i change from original file
Main Cam / Front Cam
Audio
- Change Audio Codec from amrnb to aac (for high quality)
- 2 channel(stereo)
- Increase Bit Rate to 128kbps and SampleRate to 44.1k
Image
- Change Image Encoding Quality to 100/95/90
Video
- Change height&width to match 720p size and bit rate to 17000000 for main cam
- Change height&width to match VGA size and bit rate 4000000 for front cam
Testing with VoidU S 1.1a it work perfectly audio in video improve a lot! and i can use stereo recordring now (stock kernel)
Feel free to test but! Don't forgot to backup original before use adb to push file to /system/etc
**seem to be not working with UnityV9 (Stereo Recording) but on stock kernal it work perfrectly!**

How strange, I was just modding this file this morning.
I was able to successfully mod the file too and improve audio quality in camera recordings, but what I actually want to do was improve the sound quality when using the stock voice recorder. Any ideas?

I just test with Unity Kernel. It seem like unity doesn't support Stereo Recording! :/

Is this fix possible to apply also on MIUI rom?

Can you not increase image quality from this file?
Sent from my HTC Desire S using xda premium

Related

[Q] Sound and image quality

Hi,
is there pls a way on how to improve the sound quality in recorded video and improve the still image quality/compression ?
The video in 2D and 3D is quite OK but the sound is recorded at 24kHz (while CD quality is 44kHz). Is there a way to get this improved? The sampling rate is quite low and decreases the overall quality of the video.
Also, i'd like to know if there's a way to change/setup jpeg compression for stills. The jpeg files and quite low and missing lots of details, i believe this could be much better if i could adjust the jpeg compression ratio. Is there some way to do it? some xml configuration file that can be modified or other way?
My phone is rooted, stock rom 10D.
Thanx,
Josef

Camera sound quality very poor

Ok I'm loving my sensation but the quailty of the sound is shocking any wind or any sort of movement and it just ruins the video
I can't seem to find good setting I fins 3.0 has better sound quailty but the size of the files are huge compaired to sizes on 3.5 drives me mental I have my hole Rom set up the way I like but just can't find that good video sound quailty
Does any one else have to share about there video sound quailty
daddyspud said:
Ok I'm loving my sensation but the quailty of the sound is shocking any wind or any sort of movement and it just ruins the video
I can't seem to find good setting I fins 3.0 has better sound quailty but the size of the files are huge compaired to sizes on 3.5 drives me mental I have my hole Rom set up the way I like but just can't find that good video sound quailty
Does any one else have to share about there video sound quailty
Click to expand...
Click to collapse
Hi,
Have you tried switching off stereo sound.
Sometimes this improves it.
Yh I've done all that the video sound on a sense 3.0 n stock kernal and stero sound turned of is loads better than 3.5 but the files size of a video on 3.0 even on low are huge
I took a 3 min video on low quailty and it was just over 100mb
I took a 3 min video on 3.5 also low quailty and it was only 20/30 mb
It's shocking and I don't know of a 3.0 Rom with lower video formats so its a catch 21
I send a fear few video clips on what's app and what's apps only allows 12 videos size so around 1.45 / 2 mins ok 3.5 roms
And about 10/12 secs on 3.0 lol
Edit I've also found is if u use ur head set the video sound quailty is loads better but that really is a work around and no one want to be taking video with there head set plugged in
I am also having problems with poor video camera sound quality. I'm using Android Revolution HD 3.6.X and I love, love it very much, but the video camera sound is clipping out and scratchy. Does anyone have any ideas on how to fix it?
I have been experimenting and hopefully, this will help others. I have an app called Blade Buddy. I went into the settings and checked the setting for camera - sound. I took a sample video and the sound quality was a "little" better. My next move is to update the ROM where there are updated files for the Sony Bravia Engine.

[Q] Improve audio quality when recording video.

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?

[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

[MOD] Better Camera Mod for CM7 - [email protected] / [email protected]

Hi, this mod is for CyanogenMod 7 for our LG Optimus 3D. Improved A LOT of recording in 1080p and 720p and a little picture quality.
Features:
1080p at [email protected] ( In stock CM7 record at 10/[email protected] )
720p at [email protected] ( In stock CM7 record at 6/[email protected] )
Improved image quality, ( Best ImageDecoding memCap (After 20.000.000) (Now 25.000.000) )
How to install: Copy "media_profile.xml" in "System/etc" and replace it.
Download: https://www.dropbox.com/s/58erw44hgy6bl7o/media_profiles.xml
If you force close in camera try this ([email protected]): http://db.tt/KhpiPwFM
TEST VIDEO: http://youtu.be/Cauwj9mHISA
Did you test this? I think the bitrate is somewhat high and you need a rather good memory card to support such high bitrates especially for [email protected]/40mbps
pandaball said:
Did you test this? I think the bitrate is somewhat high and you need a rather good memory card to support such high bitrates especially for [email protected]/40mbps
Click to expand...
Click to collapse
My sdcard is class 4, and works good, and de quality of the video is incredible...
Test it
Hi all
After installing the camera in video mode, forcing closure.
Try this:
http://db.tt/KhpiPwFM
link is dead
great job will try in my bro's phone 2morow
Tell me this works for 3D video recording?
Sent from my LG-SU870 using xda app-developers app

Categories

Resources