Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,279 Members 52,397 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: What bitrate do you want to see?
60 Mbps 4 11.43%
70 Mbps 2 5.71%
80 Mbps 4 11.43%
90 Mbps 7 20.00%
INFINITE BITRATE! 25 71.43%
Multiple Choice Poll. Voters: 35. You may not vote on this poll

[Cam mod] Increase Bitrate to 80 Mbps/160Mbps!

Tip us?
 
tomascus
Old
(Last edited by tomascus; 6th September 2014 at 07:35 AM.)
#91  
Senior Member - OP
Thanks Meter 409
Posts: 1,104
Join Date: Jun 2012
Location: Melbourne
Quote:
Originally Posted by dryla View Post
Ok, so how change bitrate in this? I'm green in modding codes, and if You can do this, can You upload files with bitrate at 80mb/s?
everyone has to start from somewhere, change the strings like:
Code:
  const v2, 0x1c9c380
0x1c9c380 corresponds to 30000000 in decimal, which is 30 Mbps - the bitrate for 1080p60 video.

Example - you want to change to 60 Mbps, which is 60000000 or 0x3938700 in hexidecimal:

Code:
  const v2,  0x3938700
HINT: Use google

Quick rundown:

Code:
    const v2, 0x2faf080  (constant of v2 is set to 0x2faf080)

    iput v2, v0, Landroid/media/CamcorderProfile;->videoBitRate:I (put this value v2 into VideoBitrate)

    const/16 v2, 0x78 (put 16-bit value 0x78 into v2)

    iput v2, v0, Landroid/media/CamcorderProfile;->videoFrameRate:I (put this value v2 into VideoFrameRate)
 
dryla
Old
#92  
dryla's Avatar
Member
Thanks Meter 14
Posts: 72
Join Date: Jan 2013
Location: Warsaw
I do everything step by step and Camera app is always force stop (clearing data app isn"t help) Would be grateful if You do this, change video bitrate 60mb/s in 720p@120fps and 1080p@60fps.I can't do this always is broken file, please man help me

I want to make my first rom for Z2 and to do this I must change video bitrate to 60mb/s. If I make this rom I write your credits for help (if You want, your choice)
Tags
4k ultra hd bitrate mod modifed
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes