Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,797 Members 51,557 Now Online
XDA Developers Android and Mobile Development Forum

[Dev]Media_profiles.xml Configuration Values/Mod For Our X8 6/3/12

Tip us?
 
CKKnot
Old
(Last edited by CKKnot; 7th March 2012 at 01:22 PM.)
#1  
CKKnot's Avatar
Senior Member - OP
Thanks Meter 516
Posts: 549
Join Date: Oct 2011
Location: Kuching
Arrow [Dev]Media_profiles.xml Configuration Values/Mod For Our X8 6/3/12

Aim:
This is for all people/dev/noob for posting and suggest a new media_profiles.xml configuration that suit our x8 the most...

The desired configuration must be,
1. No lag during recording, delay, stuck, Video/Audio interleave (Video and audio does not match each other).
2. Can be played on our x8 stock player.
3. Must be high quality enough/fine to be viewed.
4. The highest bit-rate available.

Quote:
Okay, here is it, the media_profiles.xml configuration for all our X8
Code:
<MediaSettings>
    <CamcorderProfiles>

        <EncoderProfile quality="high" fileFormat="mp4" duration="60">
            <Video codec="h264"
                   bitRate="2500000"
                   width="640"
                   height="480"
                   frameRate="30" />

            <Audio codec="aac"
                   bitRate="128000"
                   sampleRate="48000"
                   channels="1" />
        </EncoderProfile>

        <EncoderProfile quality="low" fileFormat="3gp" duration="30">
            <Video codec="h263"
                   bitRate="70500"
                   width="176"
                   height="144"
                   frameRate="15" />

            <Audio codec="armnb"
                   bitRate="12200"
                   sampleRate="8000"
                   channels="1" />

        </EncoderProfile>

        <ImageEncoding quality="99" />
        <ImageEncoding quality="99" />
        <ImageEncoding quality="99" />
        <ImageDecoding memCap="80000000" />

        <Camera previewFrameRate="0" />

    </CamcorderProfiles>

    <!--AAC and HQ encorder for shakira-->

    <EncoderOutputFileFormat name="mp4" />
    <EncoderOutputFileFormat name="3gp" />

    <VideoEncoderCap name="h264" enabled="true"
        minBitRate="2500000" maxBitRate="2500000"
        minFrameWidth="640" maxFrameWidth="640"
        minFrameHeight="480" maxFrameHeight="480"
        minFrameRate="30" maxFrameRate="30" />

    <VideoEncoderCap name="h263" enabled="true"
        minBitRate="70500" maxBitRate="70500"
        minFrameWidth="176" maxFrameWidth="176"
        minFrameHeight="144" maxFrameHeight="144"
        minFrameRate="15" maxFrameRate="15" />
		
    <AudioEncoderCap name="aac" enabled="true"
        minBitRate="128000" maxBitRate="128000"
        minSampleRate="48000" maxSampleRate="48000"
        minChannels="1" maxChannels="1" />

    <AudioEncoderCap name="amrnb" enabled="true"
        minBitRate="12200" maxBitRate="12200"
        minSampleRate="8000" maxSampleRate="8000"
        minChannels="1" maxChannels="1" />
Note: This configuration is for Class 4 Sdcard only! Class 10 Sdcard would have higher write that could accept higher rate of incoming data... or
Our phone is limited to 2.5 MB/s due to CPU/GPU speed
-For who after edit got a bootloop, video recording gone white, there's is something wrong with your value...
-For who is going a bootloop, you got two option
-Restore
-Adb replace the file

For who is lazy enough Click thanks and download this
6/3/12 media_profile.zip

All people in xda is welcomed to use my mod as it credited and link to it.

Change Logs:
6/3/12
-Fixed no audio issue, it turn out i put 96000 sampling rate instead of 48000 Sorry guys
-Now you can record and play 2.5 mb/s @ 128 kb/s video audio without any problem...

5/3/12
-Added MMS low profile support to enable mms sending...
-The video will have very low quality to ensure video can keep up to 30 sec of recording.
-Blame GSM & 3GPP
-MMS low profile recording can record up to 30s (Thanks my effort for rebooting my phone a thousand time )
-Average bitrate for MMS low profile recording... 80 KB/s
-Link to this page and give credit pls
Attached Files
File Type: zip media_profile.zip - [Click for QR Code] (124.4 KB, 1153 views)
Xperia X8
For a lifetime as if it doesn't toasted to ashes.

XPerience-KK 05 (TeamMex's Build) (2.6.32)
MiniCM10 - JB 4.1.0 Stable (nAa's Build)


Mod:
[Dev]Media_profiles.xml Configuration Values/Mod For Our X8
[Sound Enchantments]SRS Trumedia & MixeDDSP for our X8

The Following 29 Users Say Thank You to CKKnot For This Useful Post: [ Click to Expand ]
 
daddy_rhon
Old
#2  
daddy_rhon's Avatar
Senior Member
Thanks Meter 88
Posts: 332
Join Date: Nov 2011
how about in fde 2.4.5,no overclock with 8gb & a class 4 sdcard...thanx...
treat others as you would like them to treat you...
keep moving forward!!!

let us fight against ACTA...
xperia x8: white
digitizer: cypress
bootloader: locked
sdcard: 8gb (class6)
prod'n date: 11w33
 
CKKnot
Old
#3  
CKKnot's Avatar
Senior Member - OP
Thanks Meter 516
Posts: 549
Join Date: Oct 2011
Location: Kuching
Quote:
Originally Posted by daddy_rhon View Post
how about in fde 2.4.5,no overclock with 8gb & a class 4 sdcard...thanx...
erm... i don't quite understand your question
Xperia X8
For a lifetime as if it doesn't toasted to ashes.

XPerience-KK 05 (TeamMex's Build) (2.6.32)
MiniCM10 - JB 4.1.0 Stable (nAa's Build)


Mod:
[Dev]Media_profiles.xml Configuration Values/Mod For Our X8
[Sound Enchantments]SRS Trumedia & MixeDDSP for our X8

 
daddy_rhon
Old
#4  
daddy_rhon's Avatar
Senior Member
Thanks Meter 88
Posts: 332
Join Date: Nov 2011
Quote:
Originally Posted by CKKnot View Post
erm... i don't quite understand your question
Rules of posting here....
1. State kernel that you used=stock kernel

2. State the rom you used=fde 2.4.5
3. Governor and Min - Max CPU
Speed=no overclock

4. State the SDCARD Class(R/W speed=8gb class4...

Are this clear enough...thanx for keep sharing...
treat others as you would like them to treat you...
keep moving forward!!!

let us fight against ACTA...
xperia x8: white
digitizer: cypress
bootloader: locked
sdcard: 8gb (class6)
prod'n date: 11w33
 
CKKnot
Old
#5  
CKKnot's Avatar
Senior Member - OP
Thanks Meter 516
Posts: 549
Join Date: Oct 2011
Location: Kuching
Quote:
Originally Posted by daddy_rhon View Post
Rules of posting here....
1. State kernel that you used=stock kernel

2. State the rom you used=fde 2.4.5
3. Governor and Min - Max CPU
Speed=no overclock

4. State the SDCARD Class(R/W speed=8gb class4...

Are this clear enough...thanx for keep sharing...
@daddy_rhon, this thread is about the files that alter the video recording of our x8.
my goal was to search for the perfect one to used with out x8
Xperia X8
For a lifetime as if it doesn't toasted to ashes.

XPerience-KK 05 (TeamMex's Build) (2.6.32)
MiniCM10 - JB 4.1.0 Stable (nAa's Build)


Mod:
[Dev]Media_profiles.xml Configuration Values/Mod For Our X8
[Sound Enchantments]SRS Trumedia & MixeDDSP for our X8

 
daddy_rhon
Old
#6  
daddy_rhon's Avatar
Senior Member
Thanks Meter 88
Posts: 332
Join Date: Nov 2011
Quote:
Originally Posted by CKKnot View Post
@daddy_rhon, this thread is about the files that alter the video recording of our x8.
my goal was to search for the perfect one to used with out x8
sorry my fault,i understand,thanx for the info...
treat others as you would like them to treat you...
keep moving forward!!!

let us fight against ACTA...
xperia x8: white
digitizer: cypress
bootloader: locked
sdcard: 8gb (class6)
prod'n date: 11w33
 
CKKnot
Old
#7  
CKKnot's Avatar
Senior Member - OP
Thanks Meter 516
Posts: 549
Join Date: Oct 2011
Location: Kuching
Quote:
Originally Posted by daddy_rhon View Post
sorry my fault,i understand,thanx for the info...
it's nvm, it will take a long time to becomming a pro also

So, folks there are no configuration that is better than this?
Xperia X8
For a lifetime as if it doesn't toasted to ashes.

XPerience-KK 05 (TeamMex's Build) (2.6.32)
MiniCM10 - JB 4.1.0 Stable (nAa's Build)


Mod:
[Dev]Media_profiles.xml Configuration Values/Mod For Our X8
[Sound Enchantments]SRS Trumedia & MixeDDSP for our X8

 
mabdullah007
Old
#8  
Member
Thanks Meter 6
Posts: 62
Join Date: Feb 2011
sorry for noob's question but how to insalt it
 
CKKnot
Old
#9  
CKKnot's Avatar
Senior Member - OP
Thanks Meter 516
Posts: 549
Join Date: Oct 2011
Location: Kuching
Quote:
Originally Posted by mabdullah007 View Post
sorry for noob's question but how to insalt it
just install it though cwm
Xperia X8
For a lifetime as if it doesn't toasted to ashes.

XPerience-KK 05 (TeamMex's Build) (2.6.32)
MiniCM10 - JB 4.1.0 Stable (nAa's Build)


Mod:
[Dev]Media_profiles.xml Configuration Values/Mod For Our X8
[Sound Enchantments]SRS Trumedia & MixeDDSP for our X8

 
SinaH
Old
#10  
SinaH's Avatar
Member
Thanks Meter 11
Posts: 89
Join Date: Feb 2012
Location: Marivan
Its true ?
Quote:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" /> minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
or this ?
Quote:
<AudioEncoderCap name="aac" enabled="true"
minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" minBitRate="128000" maxBitRate="128000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
I thisnk that in your xml ( /> ) is not true !!!
plz help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes