You can play with the values in /system/etc/media_profiles.xml but may be ultimately limited by restrictions at kernel level for the moment
Edit: you also need to consider potential sd I/O limitations
Sent from my s-on HTC sensation
The /system/etc/media_profiles.xml only work on Android 2.2 devices ( to my knowledge )
I don't care about I/O a class 4-6-10 works very well ( y can play videos with 20mbps and higher bitrate at 1080p without buffering ) and the SGSII with about 7MB/s of writes speed can do 30mbps so i think the sensation with higher i/o its ok.
The DSP it seems better than the SGSII, so i so I think you will not have bottleneck.
About the kernel... What?
to my knowledge, the O2X SGSII don't use the kernel to control bitrate speeds.
historically, the media_profiles linked to settings _in the kernel_. So changing a single file would do nothing without patching the kernel too.
(The media_profiles.xml file just describes the os what to expect, but it's the kernel + radio that actually controls the DSP). This is why you need a certain kernel + radio image for the HTC Desire for instance to enable 720p recording.
Now, I have no idea if it works the same on the sensation, I have _no_ information about the internal workings of the newer DSP.
For now, trust me when I say that comparing things to the SGSII has _no_ use whatsoever. The DSPs and the way of fetching images from the sensor are completely different. Also don't expect changing a simple .XML file will make a difference. This has not worked on HTC devices before, but who knows, maybe we're lucky now.
Look again at the bottom of said xml. Even if you lift any constraints in the apk smalis they will be overidden by the limitations in media_profiles
Done a lot of development on these devices over the past few years, min/max Bitrate is defined in media profiles, along with several other "limitations"/ "min/max" values.
If additional kernel modifications are required (which is in theory possible) we would require source and s-off yes
Rest assured, as soon as the source is up on HTC developers, a custom kernel is my number 1 priority
Sent from my s-on HTC sensation
Ok for now, we gonna wait.
The improvement of the camera is nessesary!! i think the sensation have a hard compression, and that was the reason why that crapy photos, and blurred videos. ( only 10mbps at 1080p and 8mbps at 720p )
media_profiles are only applicable to AOSP Roms and programs in the market, HTC controls everything on Sense from the Camera.apk itself
HTC One Developer Edition - InsertCoin
Samsung Galaxy Note -II - Stock
HTC One X White - Stock
HTC Evo 3D - Sprint
Mytouch4G - Rooted - Stock
HTC MAGIC 32A - Black
HD2 - CM
HTC G1 - CM
follow me on twitter @bhullarcharan
Originally Posted by iwantandroid
I cried when I lerned this phone i got from tmobile didnt have Android. Can sum1 help me get Android on my new G1 and then tel me how to jailbroke it please
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?