i had been using mik's CM7 (all versions), and the camcorder sound quality is horrible. there is a strange sound distortion and a distorted kinda background noise.
but theres a quite easy workaround for CM7 roms. you can change the audio encoding in /etc/media_profiles.xml
this is a workaround, not a fix. both the stock cam and cm7 cam records audio in AMR-NB, at 8000Hz. I dunno why only CM7 has the sound distortion. i tried with the three audio encodings- AMR-NB, AMR-WB, and AAC. Theoritically, AAC should record better sound, but thats not true in Optimus One. It records the same distorted sound, but with an unusual high bass. AMR-WB at 16,000Hz seems the best choice, with lot of details in audio, though slight distortion is still there. Well, the attatched file makes it record in amr-wb.
you need to rename the file you downloaded to media_profiles.xml, and restart ur device after putting it in /etc
feel free to suggest better encodings or a possible fix.
arnab321 said:
i had been using mik's CM7 (all versions), and the camcorder sound quality is horrible. there is a strange sound distortion and a distorted kinda background noise.
but theres a quite easy workaround for CM7 roms. you can change the audio encoding in /etc/media_profiles.xml
this is a workaround, not a fix. both the stock cam and cm7 cam records audio in AMR-NB, at 8000Hz. I dunno why only CM7 has the sound distortion. i tried with the three audio encodings- AMR-NB, AMR-WB, and AAC. Theoritically, AAC should record better sound, but thats not true in Optimus One. It records the same distorted sound, but with an unusual high bass. AMR-WB at 16,000Hz seems the best choice, with lot of details in audio, though slight distortion is still there. Well, the attatched file makes it record in amr-wb.
you need to rename the file you downloaded to media_profiles.xml, and restart ur device after putting it in /etc
feel free to suggest better encodings or a possible fix.
Click to expand...
Click to collapse
Use lgcamera app from the market... it can record better quality sound...
Sent from my LG-P500 using xda premium
Rockr172 said:
Use lgcamera app from the market... it can record better quality sound...
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
It doesn't, unless you change the audio to amr-wb.
Sent from my LG-P500
Can someone please make a flashable zip/undo zip out of this? My phone's not writing to /etc even when mounted r/w... oddest thing.
Tested working for me on CM7.1 ThunderG rom with 2.6.32.42-franco.Kernel.v18 kernel. Is all the the below diff needed?
88a89,94
> <Audio codec="amrwb"
> bitRate="23050"
> sampleRate="16000"
> channels="1" />
>
> <!--
92a99,100
> -->
>
145,147c153,155
< <ImageEncoding quality="90" />
< <ImageEncoding quality="80" />
< <ImageEncoding quality="70" />
---
> <ImageEncoding quality="95" />
> <ImageEncoding quality="85" />
> <ImageEncoding quality="75" />
169c177
< minFrameWidth="176" maxFrameWidth="6400"
---
> minFrameWidth="176" maxFrameWidth="640"
175c183
< minFrameWidth="176" maxFrameWidth="6400"
---
> minFrameWidth="176" maxFrameWidth="640"
Click to expand...
Click to collapse
Related
The following instructions will enable you to record videos in fullscreen ( 800x480 )
1. Pull the file from the phone
adb pull /system/etc/media_profiles.xml
2. Make a copy of "media_profiles.xml" ( in case you want to restore it )
3. edit "media_profiles.xml" and change the following line from
-----
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
width="720" <---- this value
height="480"
frameRate="24" />
-----
to
-----
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
width="800"
height="480"
frameRate="24" />
-----
4. Save the changes and reupload the file
adb push media_profiles.xml /system/etc/
5. Reboot the phone
adb shell reboot
** Upon request, I've uploaded the file "media_profiles.xml.zip". Unzip and skip to step 4.
Regards,
Kenny N
Thanks for the info. Could u maybe just upload an already edited version off the xml to maybe save some of us some time? Would appreciate it
agriff said:
Thanks for the info. Could u maybe just upload an already edited version off the xml to maybe save some of us some time? Would appreciate it
Click to expand...
Click to collapse
done and done - have fun
I guess they used the standard 3:2 aspect ratio that is used by DVD movies to keep things standardized. The 800x480 resolution should be better though if you are just watching the movies on your phone and computer.
Yes, they use the standard 3:2 aspect ratio. However, not sure about the others, I use the phone for playbacks
Is it possible to make the same with foto!!! to change resolution for widescreen fotos on Froyo, to display it on widescreen TV and laptop.....
Hey vnbuddy, I haven't tried to do your mod yet but there's something I think you should be aware of. There's a guy here in the forum whos been trying to enable 720p video recording on the Nexus One. Heres the thread: http://forum.xda-developers.com/showthread.php?t=672823
Check it out, you might be interested in helping.
thanks, will check it out and report
fiuza91 said:
Hey vnbuddy, I haven't tried to do your mod yet but there's something I think you should be aware of. There's a guy here in the forum whos been trying to enable 720p video recording on the Nexus One. Heres the thread: http://forum.xda-developers.com/showthread.php?t=672823
Check it out, you might be interested in helping.
Click to expand...
Click to collapse
Yeah - I saw the thread. You can try to change frameRate="24" to frameRate="30" if you want to play around with. There shouldn't be any side affects. But not sure if you will be able to achieve 30fps
Regards,
Kenny N
alexdzn said:
Is it possible to make the same with foto!!! to change resolution for widescreen fotos on Froyo, to display it on widescreen TV and laptop.....
Click to expand...
Click to collapse
I've checked their codes. At this point, it's not possible to adjust this setting without major modifications
Regards,
Kenny N
As it's written in that file shouldn't the high profile encode the video in mp4 (h264)? If I take a video it always saves it as 3gp...
Does changing the bitRate value have any noticeable effect?
vnbuddy2002 said:
Yeah - I saw the thread. You can try to change frameRate="24" to frameRate="30" if you want to play around with. There shouldn't be any side affects. But not sure if you will be able to achieve 30fps
Nice find vnbuddy, works great on Froyo leak, no FC's. Full screen and noticably sharper
Click to expand...
Click to collapse
vnbuddy2002 said:
The following instructions will enable you to record videos in fullscreen ( 800x480 )
1. Pull the file from the phone
adb pull /system/etc/media_profiles.xml
2. Make a copy of "media_profiles.xml" ( in case you want to restore it )
3. edit "media_profiles.xml" and change the following line from
-----
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
width="720" <---- this value
height="480"
frameRate="24" />
-----
to
-----
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
width="800"
height="480"
frameRate="24" />
-----
4. Save the changes and reupload the file
adb push media_profiles.xml /system/etc/
5. Reboot the phone
adb shell reboot
** Upon request, I've uploaded the file "media_profiles.xml.zip". Unzip and skip to step 4.
Regards,
Kenny N
Click to expand...
Click to collapse
Is this supposed to play existing mp4 files full screen by way of camera. I pushed the zip, rebooted but camera plays mp4 same, not full screen. ?
kamasi36 said:
Is this supposed to play existing mp4 files full screen by way of camera. I pushed the zip, rebooted but camera plays mp4 same, not full screen. ?
Click to expand...
Click to collapse
No, as stated in the thread title and OP, it makes it to where you record from here on out in 800x480, which is the same resolution as our screens (fullscreen). The video's that you have previously recorded were recorded in 720x480 (3:2).
vnbuddy2002 said:
The following instructions will enable you to record videos in fullscreen ( 800x480 )
1. Pull the file from the phone....
Click to expand...
Click to collapse
Trouble Pushing xml
I don't know what the problem is. Following instuctions, but I'm getting this message when I try to push the file..
C:\AndroidSDK\tools>adb push media_profiles.xml /system/etc
failed to copy 'media_profiles.xml' to '/system/etc/media_profiles.xml': Read-on
ly file system
C:\AndroidSDK\tools>
I'd love to try this mod out.
Luckycookie I think your phone has to be rooted to use "push" in adb. Mine is stock and I got the same error
Edit: oh, yours is rooted? Dunno then :s
luckycook82 said:
I don't know what the problem is. Following instuctions, but I'm getting this message when I try to push the file..
C:\AndroidSDK\tools>adb push media_profiles.xml /system/etc
failed to copy 'media_profiles.xml' to '/system/etc/media_profiles.xml': Read-on
ly file system
C:\AndroidSDK\tools>
I'd love to try this mod out.
Click to expand...
Click to collapse
do :
adb remount
adb push X:/media_profiles.xml /system/etc
awesome! does it just "stretch" the video, or does it truly capture in widescreen with this mod?
pakraider said:
awesome! does it just "stretch" the video, or does it truly capture in widescreen with this mod?
Click to expand...
Click to collapse
It truly captures the video using that resolution.
Regards,
Kenny N
UPDATED 9-17-2011
Hey guys!
This sounds great! I'd applied a solution for syncing-in the video and audio on video recording on FroyoBread for our X8 without using lgCamera or other camera apps.
Simple, just update with xRecovery.
Ready made:
Only for FroyoBread (UPDATED 9-17-2011) ----> download here
or
do it manually using rootexplorer, copy (UPDATED 9-17-2011) this file to /system/etc
only for FBv023b, if you use other ROM, check out below.
For Other CM6 ROMs:
go to your RootExplorer: /system/etc/media_profiles.xml, edit it using text editor.
find the lines containing the "high" and "low" fileFormat, bitRate, frameRate, Audio codec and its bitrate & Samplerate.
Example: (from FroyoBread)
Code:
<CamcorderProfiles>
<EncoderProfile quality="high" fileFormat="3gp" duration="60">
<Video codec="h263" bitRate="1600000" width="640" height="480" frameRate="30" />
<Audio codec="aac" bitRate="12600" sampleRate="8000" channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="mp4" duration="30">
<Video codec="m4v" bitRate="256000" width="176" height="144" frameRate="15" />
<Audio codec="aac" bitRate="12800" sampleRate="8000" channels="1" />
</EncoderProfile>
Change those into these.
Guide: UPDATED 9-17-2011
quality: high
fileFormat: mp4
duration: 60
Video codec: h263
bitrate: 1600000
width: 640
height: 480
framerate: 20
Audio codec: aac
bitrate: 12200
samplerate: 8000
channels: 1
quality: low
fileFormat: mp4
duration: 30
Video codec: m4v
bitrate: 256000
width: 176
height: 144
framerate: 15
Audio codec: aac
bitrate: 12200
samplerate: 8000
channels: 1
Example: (from FroyoBread)
Code:
<CamcorderProfiles>
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h263" bitRate="1000000" width="640" height="480" frameRate="20" />
<Audio codec="aac" bitRate="12800" sampleRate="8000" channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="mp4" duration="30">
<Video codec="m4v" bitRate="256000" width="176" height="144" frameRate="15" />
<Audio codec="aac" bitRate="12800" sampleRate="8000" channels="1" />
</EncoderProfile>
save it, and reboot.
Then test it.
I hope you will understand the tut...
Click to expand...
Click to collapse
donate to my THANKS meter.
Nice jk now, Froyobread will be happy to know this
uffffs i am also working all these things today
i am also working for improved camera (camera lib) but nothing improve
well thnx guy i am gonna test it
i need improved camera like gdx camera not camcorder
deedii said:
Nice jk now, Froyobread will be happy to know this
Click to expand...
Click to collapse
and I am happy.
ithunter said:
uffffs i am also working all these things today
i am also working for improved camera (camera lib) but nothing improve
well thnx guy i am gonna test it
i need improved camera like gdx camera not camcorder
Click to expand...
Click to collapse
Oh ithunter sweetie this fix is for CM6, GDX is CM7 and video/image was already fixed and sync. We got this problem on CM6 really.
ithunter said:
uffffs i am also working all these things today
i am also working for improved camera (camera lib) but nothing improve
well thnx guy i am gonna test it
i need improved camera like gdx camera not camcorder
Click to expand...
Click to collapse
oh man, sorry. continue what you're doing man.
i am also talking about cm6
now my device is runing with froyobread last edition with myown some improvements
@dx is not providing us camera lib for cm6
so i am researching for lib editing and porting to cm6
ithunter said:
i am also talking about cm6
now my device is runing with froyobread last edition with myown some improvements
@dx is not providing us camera lib for cm6
so i am researching for lib editing and porting to cm6
Click to expand...
Click to collapse
well good luck mate. thanks in advance.
press thnx as i just
OMG you're great!
Thanks a lot, now CM6 is Practically Bugless
You Rock!
Not working on Krauser SROM, i've tried with xrecov and manually, but nothing, unsync
Probably doesn't work on this rom, maybe i will try FBread
RockitOut11 said:
Not working on Krauser SROM, i've tried with xrecov and manually, but nothing, unsync
Probably doesn't work on this rom, maybe i will try FBread
Click to expand...
Click to collapse
Results:
Krauser SROM : Not Working
FroyoBread v023b : Working
MiniCM6 1.0.2 : I will test it tonight
RockitOut11 said:
Results:
Krauser SROM : Not Working
FroyoBread v023b : Working
MiniCM6 1.0.2 : I will test it tonight
Click to expand...
Click to collapse
Thanks! I will be pleased to declare it working only for FroyoBread.
Edit: I made a TUT.
Thanks for the info,
Just for the record setting fps to 25 should do the sync too, check it HERE
mimorqleko said:
Thanks for the info,
Just for the record setting fps to 25 should do the sync too, check it HERE
Click to expand...
Click to collapse
But i tested it has millisecond delay from the audio. I think Fps 25 works only with lgcamera.
Sent from my X8 using xda premium
i've made a clean install of froyobread and install this zip.. but every time i switch to video mode... the image shows.. and begin to slow... and a FC appears....
=/
hunff said:
i've made a clean install of froyobread and install this zip.. but every time i switch to video mode... the image shows.. and begin to slow... and a FC appears....
=/
Click to expand...
Click to collapse
what version of FroyoBread are you using? it works in v023b
do it manually or follow the TUT.
Thanks for sharing!!
I've included this file in the unofficial Froyobread update v11. All credits to you!
check it HERE
NICE ONE JKRAUSER!
We have almost Complete Froyo now It's 98%? I think hehe, and Mimorqleko for giving us Unofficial Updates too
Thanks, It is working. Though it is not perfect but ir removes a huge miss sync A/V from Froyobread.
[MOD][ICS&GB][4/26/12]Camera HQ Mod: Extreme vs High (UPD: MDPI GB version updated)
So, after searching around, i finally modded sony camera ui to have higher 10mbps bitrate @ 720p. It was not editable with media_profiles.xml because of the apk predefines the profile by itself, thanks to user Xperia-Ray user feedback on the next thread . So i altered the profile it needs for 720p. I chose at 10mbps to reduce hiccup or dropped frames and to comply with media_profiles.xml default bitrate cap.
As for photo quality, I think ics beta camera apk already gives you 90% compression value (file [email protected]) and think it can be modified simply from media_profiles.xml (since the apk only have 3 stepping of level, and after that the quality of 1-100 is determined by native code so no APK editing will solve that)
UPDATE: Added modified one for Gingerbread. Taken & Modded from Larut mod here. Thanks to him for 100% JPEQ Quality Mod
UPDATE 2: Added modified one for MDPI-devices Gingerbread.
UPDATE 3: MDPI Gingerbread updated, added override in JPEG Quality to 100%. apparently Gingerbread ignores media_profiles.xml.
UPDATE 4: Added Alternative Xperia Pro GB version.
UPDATE 5: Added new ICS 562 Leaked version based camera apk and 14Mbps quality.
UPDATE 6: Added new ICS 562 Official Nordic version with improvement of 14Mbps for 720p and 4Mbps for 480p.
UPDATE 7: ICS version Official is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 7: Gingerbread version is split into 2 option, Extreme Quality and High Quality, Extreme supports 14Mbps 720p + 6Mbps VGA Quality. while high is set at 10Mbps 720p + 4mbps VGA Quality.
UPDATE 8: Added 5MP Option for 8MP module. Thanks to Xperia-Ray for the tips!
UPDATE 9: Added Alternative Version for ICS which reduce (or eliminate?) choppiness while recording HD. Please Try and give me feedback. Thanks to Xperia-Ray for the tips!
UPDATE 10: MDPI version is split into Extreme and High version.
DOWNLOADS
Gingerbread MDPI Version Download link:
http://www.mediafire.com/?03uqm3ktyzcv7rk Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://www.mediafire.com/?ao5wnia6cmanv4d High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality
https://www.box.com/s/81039f09e6b3de792181 Stock File. Thanks to Till-Kruspe
Gingerbread HDPI Version Download link:
http://www.mediafire.com/?apnu5jm4fu8en6x Extreme: For 14Mbps quality + 6Mbps VGA Quality + 100% JPEG Quality
http://forum.xda-developers.com/showpost.php?p=25165187&postcount=161 High: For 10Mbps quality + 4Mbps VGA Quality + 100% JPEG Quality + 5MP Still Capture, thanks to Xperia-Ray!
http://forum.xda-developers.com/attachment.php?attachmentid=1007250&d=1334589298 Stock File. Thanks to Lightspeed_x
ICS Official HDPI Version Download link:
http://www.mediafire.com/?deuzi41qakbmljd Extreme: For 14Mbps quality + 6Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?goy888j58fystt9 High: For 10Mbps quality + 4Mbps VGA Quality + 5MP Still Capture
http://www.mediafire.com/?59tw5c5mfdrlmp2 Normal: For stock quality + 5MP Still Capture
ICS Official Version Alternate Video Codec Download link:
http://www.mediafire.com/?tbeg1yh1uk0laa3
G'day!
FAQ:
Q: My Recording is only up to 10Mbps even though i use 14Mbps pack
A: Change the following in etc/media_profiles.xml from:
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
to
Code:
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="[COLOR="Red"]14000000[/COLOR]"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="[COLOR="Red"]14000000[/COLOR]"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
Q: In ICS it's choppy!
A: Turn Off Video Stabilization, seems like the stabilization is done in software, causing stuttering. Hope somebody can fix the camera driver for that.
Q: The Sound is only mono? Help!
A: Change media_profiles.xml from
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
to
Code:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="[COLOR="Red"]2[/COLOR]" />
Q: How to change JPEG Compression value in ICS?
A: Change the following in etc/media_profiles.xml from:
Code:
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
to
Code:
<ImageEncoding quality="[COLOR="Red"]100[/COLOR]" />
<ImageEncoding quality="[COLOR="Red"]90[/COLOR]" /> [I]// This is the medium quality, u can set it to 100% to override if you wish[/I]
<ImageEncoding quality="[COLOR="Red"]80[/COLOR]" /> [I]// This is the low quality, u can set it to 100% to override if you wish[/I]
<ImageDecoding memCap="[COLOR="Red"]30000000[/COLOR]" />
These lines depend on how many cameras you get. There will be 2 camera setting if your device has front cam, so if you want to improve the front one, set the above twice to the respective parent tag.
sent from my white ray using XDA App
Oh, thanks you so much!
Great work hansip, Now thats a Truely working Mod...
Short of thanks for today...
hansip87 said:
So, after searching around, i finally modded sony camera ui to have higher 10mbps bitrate @ 720p. It was not editable with media_profiles.xml because of the apk predefines the profile by itself. So i altered the profile it needs for 720p. I chose at 10mbps to reduce hiccup or dropped frames and to comply with media_profiles.xml default bitrate cap.
As for photo quality, I think ics beta camera apk already gives you 90% compression value (file [email protected]) and think it can be modified simply from media_profiles.xml (since the apk only have 3 stepping of level, and after that the quality of 1-100 is determined by native code so no APK editing will solve that)
Ok it's uploaded now, flash thru CWM & have a fun time!
G'day!
sent from my white ray using XDA App
Click to expand...
Click to collapse
great work!!thx!
but can it run in 2.3 firmware??
hjf9259 said:
great work!!thx!
but can it run in 2.3 firmware??
Click to expand...
Click to collapse
Unfortunately no. But I can build one if someone lend me the apk.
sent from my white ray using XDA App
yeah he just got nothing to do .. he definitely do OVERTIME
c'mon give him the apk!
hansip87 said:
Unfortunately no. But I can build one if someone lend me the apk.
sent from my white ray using XDA App
Click to expand...
Click to collapse
Finally!! Thank you, please check my post on same subject
http://forum.xda-developers.com/showpost.php?p=24138141&postcount=6
There is the link for the moded camera with quality mod (2.4 mb pics) pliz mod it to use 10Mbs
The phone can support up to 13mbs with lgcamera [email protected] 30fps.
10Mbs will be enough.
P.s do you know what would happen if you enable wmv,wma in the media_profiles?
Can we record at this format?
I didnt try to enable it because I read someone got boot loop. I still dont have backup and flash tools.
Xperia-Ray said:
Finally!! Thank you, please check my post on same subject
http://forum.xda-developers.com/showpost.php?p=24138141&postcount=6
There is the link for the moded camera with quality mod (2.4 mb pics) pliz mod it to use 10Mbs
The phone can support up to 13mbs with lgcamera [email protected] 30fps.
10Mbs will be enough.
P.s do you know what would happen if you enable wmv,wma in the media_profiles?
Can we record at this format?
I didnt try to enable it because I read someone got boot loop. I still dont have backup and flash tools.
Click to expand...
Click to collapse
Ok already added now Please try and report back if there's an issue with that.
hansip87 said:
Ok already added now Please try and report back if there's an issue with that.
Click to expand...
Click to collapse
Works perfectlly! Thank U
On the EXIF's there is no change. Everything is the same.
On Neo V photos are approximately 3 times bigger (0.5MB->1.5MB)
At videos there is change in info only about bitrate
Stock Bit rate : 5 993 Kbps
Custom Bit rate : 9 986 Kbps
And the size of videos is approximately 2 times bigger - in my test 15 sec movie at stock was ~11MB, at custom it was ~20MB.
Differences... I just did one shot of photo and video and weather sucks so there is no very good visible details.
JoHnNy08PL said:
On the EXIF's there is no change. Everything is the same.
On Neo V photos are approximately 3 times bigger (0.5MB->1.5MB)
At videos there is change in info only about bitrate
Stock Bit rate : 5 993 Kbps
Custom Bit rate : 9 986 Kbps
And the size of videos is approximately 2 times bigger - in my test 15 sec movie at stock was ~11MB, at custom it was ~20MB.
Differences... I just did one shot of photo and video and weather sucks so there is no very good visible details.
Click to expand...
Click to collapse
Jpeg has incomplete details, lacking the compression value. So the only parameter left, is the file size.
The video, well at least the metadata tells you the truth, so please report back if you can spot the differences.
Me myself is not a quality nitpicker (6mbps is quite good actually for me) so i'll give it to you all to decide
sent from my white ray using XDA App
GB 100% JPEQ Quality can working on ICS Beta ?
langtudongnai45 said:
GB 100% JPEQ Quality can working on ICS Beta ?
Click to expand...
Click to collapse
Edit the media_profiles.xml to fix your needs. no need for APK editing for ICS one. and yet, ICS already give you much larger file than Gingerbread, which indicates that the compression is already on 90%-100% level.
hansip87 said:
Edit the media_profiles.xml to fix your needs. no need for APK editing for ICS one. and yet, ICS already give you much larger file than Gingerbread, which indicates that the compression is already on 90%-100% level.
Click to expand...
Click to collapse
Thank u so much can do 120%
support for LWW please
tks for share ...
trantiena10 said:
support for LWW please
tks for share ...
Click to expand...
Click to collapse
well if you have the apk i'll mod that for you
you can download at : http://www.mediafire.com/?4c28r3wc0qe1e0l
tks for helping
can you change the resolution to 1080p??
Will this work on Rayonium(stock based GB rom) ??
Sent from my Optimus 2X using XDA
andrewfx1 said:
can you change the resolution to 1080p??
Click to expand...
Click to collapse
technically it's possible, but the CPU won't behave normally. Lack of processing power.
nexus: it should be. Backup first and try it.
is it me or you guys also feeling that ..
RAZR camera sucks..!
is there any way to improve the camera quality ??
Tell that to motorola..... Unlocked bootloader would allow us to disable JPEG compression, and greatly improve the picture quality..
Is there any other way... ? To improve..?
On the RAZR MAXX (which is the OG RAZR with a bigger battery), you can adjust the compression on a rooted phone as follows:
Copy the file /system/etc/media_profiles.xml to /system/etc/media_profiles.xml-ORIG. Keep the copy because you'll need the original file when future system updates come along.
In the file /system/etc/media_profiles.xml:
About 30 lines from the top, change
Code:
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
to
Code:
<!ATTLIST ImageEncoding quality (100|95|90|85|80|75|70|60|50|40) #REQUIRED>
also in the file, you need to look for a set of lines for each camera (front and rear) that looks like:
Code:
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
To remove compression altogether, change the quality values to 100. Change the memCap to at least twice the number of megapixels in your device's camera. Larger will not improve the quality of your photos; smaller will force Android to pick a compression value that makes the image fit into that number of bytes.
After making the change, reboot your device.
will it also work with normal razr..?
have you tried this and how are the results...!
can u upload some pics taken from your device..?
With these changes, the compression is still high and quality is bad :\ I'm using Vignette! With stock camera the photos are around 0.9 and 1.5 MB, with Vignette yesterday I took a 4MB photo! So I think that the compression is lower in that app!
vikcie said:
will it also work with normal razr..?
have you tried this and how are the results...!
can u upload some pics taken from your device..?
Click to expand...
Click to collapse
I haven't done it, but it will work for OG RAZR. There's nothing different between the OG RAZR and OG RAZR MAXX other than battery size.
For me, I haven't found the pictures to be that bad, so I haven't mucked with these settings.
solefero69 said:
With these changes, the compression is still high and quality is bad :\ I'm using Vignette! With stock camera the photos are around 0.9 and 1.5 MB, with Vignette yesterday I took a 4MB photo! So I think that the compression is lower in that app!
Click to expand...
Click to collapse
These are just suggestions I found while searching and others have stated they have helped. As I stated above, I haven't implemented them because I'm happy enough with what I'm getting right now.
Hi all, I have modded the Galaxy S5 mixer_paths.xml so that it will use earpiece aswell while playing music, watching youtube etc.
I found this on monivan's stereomod thread for the xperia Z (which i have) and I find it so cool that I wanted this on my wife's S5 so now I'm sharing here with you!
First of all, PLEASE DO A BACKUP OF YOUR CURRENT FILE BEFORE PROCEEDING!!
It is located in /system/etc/mixer_paths.xml
DISCLAIMER:
Everything you do is your choice, if you missing any important call or getting fired because of alarm didn't work, you busting your earpiece or thermonuclear war starts off and you point your finger at me, I will laugh at you.
I take no responsibility for your actions.
REQUIREMENTS :
-Rooted phone with busybox installed
-Stock rom (may also work on AOSP/CM, don't know try it yourself and let know here)
-galaxy s5 g900f
-users reported to work on note 10.1 and s4 also.
HOW TO INSTALL:
1. Download mixer_paths_xx_xx.zip
(Download links in download section)
(if not available request desktop version)
2. Move your stock/current mixer_paths.xml from /system/etc to any location on your sd card.
3. Unzip the zip file you just downloaded and copy mixer_paths.xml to /system/etc and set correct permission rw-r-r a.k.a. 0644
Like this:
XX0
X00
X00
4. Reboot
5. Turn down your volume before using and increase slowly to test safely.
I tuned volume values so that sound is not distorting at all kind of genres, with stock Samsung music player at full volume with no equaliser settings active.
But please be careful using this!!
Also I think S5 has much better earpiece than xperia Z or Z1, much more clear bass coming thru.
To test if this works see: Left/Right Stereo Audio/Visual Test.: http://youtu.be/dvqbq_0jZ_U
Have fun!
NOTE:
I now have made multiple versions made, to better fit everybody's needing.
I have made loud and normal versions, and I have made version with and without combined channels.
SINGLE AND DUAL CHANNEL?
I don't have to tell you guys what means loud and what means normal, but.. What means separated and combined channels?
Let's say, "RX1" is earpiece and "RX7" is loudspeaker. Those are hardware components.
Let's now say, we have an left and right channel. "RX1" and "RX2".
You might be thinking "why is RX1 earpiece and channel at the same time?"
-it isn't. Doesn't matter but read further.
Separate channel will mean left channel for example will play on earpiece (rx1 is playing rx2) and right channel is playing loudspeaker (rx7 is playing rx1)
Combined channel will mean left and right channels will both play on earpiece and loudspeaker at same time (rx1 is playing rx1 and rx2, and rx7 is playing rx1 and rx2)
TUTORIAL:
So, how to edit this to your exact needs?
Simple, open the xml file and goto somewhere around line 450. (Using 920 text editor from play store works fine)
You will see something like this ================================================================ -->
<!-- Play Scenario -->
<path name="handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="speaker">
<path name="spk" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="86" />
<ctl name="RX7 Digital Volume" value="74" />
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
</path>
<path name="headset">
<path name="ear" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="79" />
<ctl name="RX2 Digital Volume" value="79" /
<ctl name="COMP1 Switch" value="1" /
path>
The thing you want to adjust are in the "speaker" section.
Rx1 and rx7 digital volumes.
Just remember:
Rx1 is earpiece in this section and rx7 is loudspeaker in this section.
Also you can adjust headphone volume , it is just beneath speaker section.
Only adjust the digital volumes, nothing else.
DOWNLOAD SECTION
Combined channels:
-loud
http://www.mediafire.com/view/f4uvmvj0wr82y97
-normal
http://www.mediafire.com/view/1rgx6jkrwwl8duy
Separated channels:
-loud
http://www.mediafire.com/view/xrvp9gsk4w20262
-normal
http://www.mediafire.com/view/5a7hd861dhbppca
Swapped separated channels:
-loud
http://www.mediafire.com/download/ujbeheq04esk9i7/swapped_rx1.90_rx7.80single.zip
-normal
http://www.mediafire.com/download/awspttlhppdl2za/swapped_rx1.86_rx7.74single.zip
CHANGELOG:
V1
-initial release
V1.1
-combined left and right channel on both speakers
-little clearer bass
-Earpiece slightly boost
V1.2
-multiple versions
V1.3
-added swapped channel versions at request of @smartypants88
Bugs: not working for 900H (not yet, if someone provide me correct files for it i will try)
CREDITS: @monivan for making this for XZ, without him you wouldn't have this by now @dontbelive for finding this on Z1, without him monivan didn't bring this to XZ @Sony @samsung for the wonderful mixer_paths.xml
@my girlfriend for testing on her brandnew gold S5 xD
Well done! Good luck, dude! Keep it up!
G900H Compatible?
Mediafire not available
gyxter said:
Mediafire not available
Click to expand...
Click to collapse
You have to request desktop page in your browser, as stated in OP
Salim.Keady said:
G900H Compatible?
Click to expand...
Click to collapse
Try it yourself, just make backup before as I described.
If not work, send me your mixer_paths.xml :thumbup:
Works on AOSP 4.4.4. Running on Nameless ROM right now and it sounds beautiful.
androidfilesharing said:
Works on AOSP 4.4.4. Running on Nameless ROM right now and it sounds beautiful.
Click to expand...
Click to collapse
Yeah I'm glad you're enjoying it! :thumbup:
Will this MOD damage or have any ill effects on the ear piece?
thuglifesk said:
Will this MOD damage or have any ill effects on the ear piece?
Click to expand...
Click to collapse
I have tested volume's on my wife's g900f and I think all variants have same earpiece.
If you're unsure, you can set your volume to minimum before installing this mod, and when installed slightly increase volume and see it yourself.
It will not bang your earpiece immediately, IF volume is to loud on yours you will be warned by hearing distortion.
langeveld024 said:
I have tested volume's on my wife's g900f and I think all variants have same earpiece.
If you're unsure, you can set your volume to minimum before installing this mod, and when installed slightly increase volume and see it yourself.
It will not bang your earpiece immediately, IF volume is to loud on yours you will be warned by hearing distortion.
Click to expand...
Click to collapse
[edit]I've just seen the file is downloaded 181 times so I think everybody is happy
langeveld024 said:
I have tested volume's on my wife's g900f and I think all variants have same earpiece.
If you're unsure, you can set your volume to minimum before installing this mod, and when installed slightly increase volume and see it yourself.
It will not bang your earpiece immediately, IF volume is to loud on yours you will be warned by hearing distortion.
Click to expand...
Click to collapse
Ive noticed for music and ringtones its amazing. However, I hear distortion for notification sounds for some reason. Doesn't make sense though? Has anyone else experienced this?
So, does this actually use both speakers to play sounds?
koragg97 said:
So, does this actually use both speakers to play sounds?
Click to expand...
Click to collapse
Yes
thuglifesk said:
Ive noticed for music and ringtones its amazing. However, I hear distortion for notification sounds for some reason. Doesn't make sense though? Has anyone else experienced this?
Click to expand...
Click to collapse
Did you try another notification sound? Do you use v4a or something?
Do you use any volume mod?
Also, you can try lowering ring volume a step and let me know if it still persist.
hey even i did try the mod there is an improvement in sound quality but the base is still not clear as of sony devices...and really I would appreciate your efforts
sumedh123 said:
hey even i did try the mod there is an improvement in sound quality but the base is still not clear as of sony devices...and really I would appreciate your efforts
Click to expand...
Click to collapse
I can make another version with an filter for which may or may not improve it.
Anyway I'm owning an Z myself and I'd tested this mod on my wife's s5 but when compared I think s5 has much clearer bass than the Z.
Do you use any equaliser setting or other audio mod?
If so, make them undone and test again :thumbup:
This is great sir. Very impressed. The sound is fabulous.
Thank you.
Sent from my kick butt GoldenEye flashed SM-G900W8 using XDA Premium HD app
Your mode is ok but not enought , also you can try mine
Download http://speedy.sh/s5UeR/mixer-paths.xml
ManDone.vRs said:
Your mode is ok but not enought , also you can try mine
Download http://speedy.sh/s5UeR/mixer-paths.xml
Click to expand...
Click to collapse
What is in it? I see only some code from the site you shared when click slow download.
Only 30kb file.
Can you upload to another site perhaps?
New version is up, lemme know what you think guys!