Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
itzik2sh
Old
(Last edited by itzik2sh; 27th March 2012 at 12:31 PM.)
#1  
itzik2sh's Avatar
Senior Member - OP
Thanks Meter 642
Posts: 1,318
Join Date: Sep 2011
Default [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/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:	364
Size:	65.7 KB
ID:	967815   Click image for larger version

Name:	now.jpg
Views:	357
Size:	62.7 KB
ID:	967816  
Attached Files
File Type: zip Camcorder_MOD.zip - [Click for QR Code] (2.17 MB, 52 views)
File Type: zip Original_Camcorder.zip - [Click for QR Code] (2.17 MB, 15 views)
The Following 8 Users Say Thank You to itzik2sh For This Useful Post: [ Click to Expand ]
 
itzik2sh
Old
(Last edited by itzik2sh; 27th March 2012 at 03:36 PM.)
#2  
itzik2sh's Avatar
Senior Member - OP
Thanks Meter 642
Posts: 1,318
Join Date: Sep 2011
You can use this to sync A/V - http://fixounet.free.fr/avidemux/download.html
The Following User Says Thank You to itzik2sh For This Useful Post: [ Click to Expand ]
 
FBis251
Old
#3  
FBis251's Avatar
Recognized Contributor
Thanks Meter 3066
Posts: 3,004
Join Date: Mar 2011

 
DONATE TO ME
Awesome work! Thanks.
The Following User Says Thank You to FBis251 For This Useful Post: [ Click to Expand ]
 
HolyGhostBoy1
Old
#4  
Senior Member
Thanks Meter 49
Posts: 362
Join Date: Jul 2011
Location: Birmingham, Al
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: [ Click to Expand ]
 
itzik2sh
Old
#5  
itzik2sh's Avatar
Senior Member - OP
Thanks Meter 642
Posts: 1,318
Join Date: Sep 2011
Now having AntonX kernel supporting Vodoo Sound - I will test audio HiFi record option enabled on video recording and update.
 
Eurik
Old
#6  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: 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.
 
WeeMaNcL
Old
#7  
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Aug 2011
Quote:
Originally Posted by Eurik View Post
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.
 
itzik2sh
Old
(Last edited by itzik2sh; 6th June 2012 at 09:18 AM.)
#8  
itzik2sh's Avatar
Senior Member - OP
Thanks Meter 642
Posts: 1,318
Join Date: 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.
 
itzik2sh
Old
(Last edited by itzik2sh; 6th May 2012 at 11:45 AM.)
#9  
itzik2sh's Avatar
Senior Member - OP
Thanks Meter 642
Posts: 1,318
Join Date: 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.
 
lainvalenajr
Old
#10  
lainvalenajr's Avatar
Senior Member
Thanks Meter 43
Posts: 1,343
Join Date: Dec 2010
Location: Chula Vista
Nice improvement

Sent from my SGH-T959V using xda premium

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...