Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP itzik2sh

27th March 2012, 01:04 PM   |  #1  
itzik2sh's Avatar
OP Senior Member
Thanks Meter: 739
 
1,508 posts
Join Date:Joined: Sep 2011
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/show...&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) :
Attached Thumbnails
Click image for larger version

Name:	before.jpg
Views:	369
Size:	65.7 KB
ID:	967815   Click image for larger version

Name:	now.jpg
Views:	361
Size:	62.7 KB
ID:	967816  
Attached Files
File Type: zip Camcorder_MOD.zip - [Click for QR Code] (2.17 MB, 53 views)
File Type: zip Original_Camcorder.zip - [Click for QR Code] (2.17 MB, 15 views)
Last edited by itzik2sh; 27th March 2012 at 01:31 PM.
The Following 8 Users Say Thank You to itzik2sh For This Useful Post: [ View ]
27th March 2012, 01:24 PM   |  #2  
itzik2sh's Avatar
OP Senior Member
Thanks Meter: 739
 
1,508 posts
Join Date:Joined: Sep 2011
You can use this to sync A/V - http://fixounet.free.fr/avidemux/download.html
Last edited by itzik2sh; 27th March 2012 at 04:36 PM.
The Following User Says Thank You to itzik2sh For This Useful Post: [ View ]
27th March 2012, 03:10 PM   |  #3  
FBis251's Avatar
Recognized Contributor
Thanks Meter: 3,704
 
3,344 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Awesome work! Thanks.
The Following User Says Thank You to FBis251 For This Useful Post: [ View ]
27th March 2012, 03:54 PM   |  #4  
Senior Member
Flag Birmingham, Al
Thanks Meter: 64
 
546 posts
Join Date:Joined: Jul 2011
More
Glad to have u aboard thanks for this man this is well needed!!!!!
The Following User Says Thank You to HolyGhostBoy1 For This Useful Post: [ View ]
23rd April 2012, 04:22 PM   |  #5  
itzik2sh's Avatar
OP Senior Member
Thanks Meter: 739
 
1,508 posts
Join Date:Joined: Sep 2011
Now having AntonX kernel supporting Vodoo Sound - I will test audio HiFi record option enabled on video recording and update.
26th April 2012, 02:21 AM   |  #6  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Apr 2012
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.
1st May 2012, 11:32 PM   |  #7  
Junior Member
Thanks Meter: 0
 
21 posts
Join Date:Joined: Aug 2011
Quote:
Originally Posted by Eurik

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.

Yeah.. would be awesome.

Thanks for the work, itzik2sh.
2nd May 2012, 10:42 AM   |  #8  
itzik2sh's Avatar
OP Senior Member
Thanks Meter: 739
 
1,508 posts
Join Date:Joined: Sep 2011
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.
Last edited by itzik2sh; 6th June 2012 at 10:18 AM.
6th May 2012, 12:22 PM   |  #9  
itzik2sh's Avatar
OP Senior Member
Thanks Meter: 739
 
1,508 posts
Join Date:Joined: Sep 2011
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/show....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.
Last edited by itzik2sh; 6th May 2012 at 12:45 PM.
7th May 2012, 09:37 AM   |  #10  
lainvalenajr's Avatar
Senior Member
Flag Chula Vista
Thanks Meter: 46
 
1,358 posts
Join Date:Joined: Dec 2010
More
Nice improvement

Sent from my SGH-T959V using xda premium

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes