[DEVS ONLY] Nexus 4 camera recording v0.2 (AVC high profile & LEVEL 4) (60FPS)

Status
Not open for further replies.
Search This thread

meangreenie

Senior Member
Mar 6, 2012
2,584
732
People have complained about the low mic volume while recording a lot on these forums. Didn't get fixed with 4.2.2, so I don't think it's your phone.
 
  • Like
Reactions: Shaky156

hp420

Senior Member
Jul 31, 2011
2,591
1,434
Gainesville, Fl
Google Nexus 4
T-Mobile LG G2
I wish instead of making a full kernel some devs would just release the source to patch the existing kernels with the mod. We've got so many great kernels already that have got insane amounts of mods included....why not let them get their hands on this so we can use the great camera enhancement alongside, say, color calibration improvements, etc.

I really, truly mean no offense by saying this, but since this is a kernel with only the camera improvement I'm going to pass.....but I would love nothing more than to see this implemented in matr1x, trinity and franco!! :D
 

AdamUpNorth

Senior Member
Apr 29, 2010
401
99
Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

+1

Great idea.

Personally I only really want this camera mod and modules activated in my kernel. Do this idea would be great.

Sent from my Nexus 4 using xda premium
 

Shaky156

Senior Member
Aug 19, 2012
1,214
2,240
HTC Desire
HTC Desire HD
Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

Just a quick question, would fastboot boot boot.img replace my old kernel?
Running Franco kernel now, the power Hal is modified

It wouldnt replace/flash your current kernel it would temporarily boot it





People have complained about the low mic volume while recording a lot on these forums. Didn't get fixed with 4.2.2, so I don't think it's your phone.


Thanks ive been looking into that waiting for qualcomm to respond their 44.1/48khz audio is a joke i think its set to that due to a hardware problem but im changing it soon to test since they havent replied to my tweet




will this work for 4.2.1 or only 4.2.2?


Works on both 4.2.1 and 4.2.2 but its better to wait patiently for another test v0.2




I wish instead of making a full kernel some devs would just release the source to patch the existing kernels with the mod. We've got so many great kernels already that have got insane amounts of mods included....why not let them get their hands on this so we can use the great camera enhancement alongside, say, color calibration improvements, etc.

I really, truly mean no offense by saying this, but since this is a kernel with only the camera improvement I'm going to pass.....but I would love nothing more than to see this implemented in matr1x, trinity and franco!! :D

I am in no way doing this to distribute a kernel with and make it better than others without releasing source, if you had read the thread you would actually understand that, this is a hack it isn't the right method ive done the right way before but its difficult without the internet as i need to pull aosp and build custom binarys, im looking into maybe switching it from kernel to binary modification something i have done in the past. This also hasnt been finished, once 60-90fps is achieved on 720p it can be implemented in all kernels.

Sent from my Nexus 4 using Tapatalk 2
 
Last edited:
  • Like
Reactions: meangreenie

Shaky156

Senior Member
Aug 19, 2012
1,214
2,240
HTC Desire
HTC Desire HD
Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

Pretty excited for you all to test 60fps, will give it a little test first to see if v0.2 works

Sent from my Nexus 4 using Tapatalk 2
 
  • Like
Reactions: io53

Shaky156

Senior Member
Aug 19, 2012
1,214
2,240
HTC Desire
HTC Desire HD
Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

Anyone know the Cmd to pull aosp cyanogemod jellybean for mako??

Sent from my Nexus 4 using Tapatalk 2
 

hp420

Senior Member
Jul 31, 2011
2,591
1,434
Gainesville, Fl
Google Nexus 4
T-Mobile LG G2
I am in no way doing this to distribute a kernel with and make it better than others without releasing source, if you had read the thread you would actually understand that, this is a hack it isn't the right method ive done the right way before but its difficult without the internet as i need to pull aosp and build custom binarys, im looking into maybe switching it from kernel to binary modification something i have done in the past. This also hasnt been finished, once 60-90fps is achieved on 720p it can be implemented in all kernels.

Sent from my Nexus 4 using Tapatalk 2

I'm sorry if I came off as accusing you of anything. That's not what I meant. I greatly appreciate your work on this, and I'd love to try it out. All I was saying is that it would be nice to have the source out so that other kernel devs could utilize it. It's not that I don't think your work is worthy or anything....I just like the features that are in some of the big-name kernels from devs who have been in the nexus family for several generations (trinity, franco, matr1x, etc.) If these "big 3" (I'll call them) had this feature rolled in I'd find it far more appealing because these are the kernels I'm comfortable with, and that offer me every feature I want.
 

Shaky156

Senior Member
Aug 19, 2012
1,214
2,240
HTC Desire
HTC Desire HD
Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

spent alllllll dayyyyyyyy on this wasted lots of time on this! Never again! But yes v0.2 its still a hack tried another method and it didnt happen So had to revert if 60fps = achieved then source code released and no more from me or maybe ill do more later god knows

Sent from my Nexus 4 using Tapatalk 2
 

hp420

Senior Member
Jul 31, 2011
2,591
1,434
Gainesville, Fl
Google Nexus 4
T-Mobile LG G2
spent alllllll dayyyyyyyy on this wasted lots of time on this! Never again! But yes v0.2 its still a hack tried another method and it didnt happen So had to revert if 60fps = achieved then source code released and no more from me or maybe ill do more later god knows

Sent from my Nexus 4 using Tapatalk 2

Why never again? Your work is appreciated by all of us. Thanks for your time! I'm looking forward to seeing that source :)
 

Shaky156

Senior Member
Aug 19, 2012
1,214
2,240
HTC Desire
HTC Desire HD
From the log : Init Profile/Level setting success

only setting bitrate fails so thats the last thing i need to fix as far as Im aware the profile/level/ and framerate is successfull. Might require more hard work and time by the looks of things if it fails with successfully setting encoding birate, think I know where the issue lies, if it requires more work then ill leave it for someone else to finish off
 
  • Like
Reactions: gie62001

AdamUpNorth

Senior Member
Apr 29, 2010
401
99
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 33
    Hi releasing a quick kernel to test the camera quality
    Compiled for Android jellybean 4.2.1 & 4.2.2
    Ive tested it needs more modified but ive activated high profile & level.

    For testing the boot.img boot in fasboot mode in terminal via fastboot boot boot.img

    Test and post results thank you

    Log outputs this
    OMXCodec: [OMX.qcom.video.decoder.avc] AVC profile = 100 (High), level = 51, ive changed kernel and set the level to 4 for now.
    High profile avc h.264 has been achieved along with changing of profile level upto 5.1.
    Now my focus/attention is on FPS attempting to achieve 60FPS recording

    This is a quick kernel based off motleys for testing purposes on camera quality so thank you motley! :D

    Downloads & Changelog in post#2

    Sent from my Nexus 4 using Tapatalk 2
    5
    Is it possible to improve picture quality on the camera? I'm not very happy with mine.

    Transmission sent from my badass Nexus 4.

    I think yes but I'm not promising anything

    Any chances, we get in touch with the source?

    yes very soon I hope as soon as I finish the 60fps and few other things, thing is I've hacked it to the point even if you choose another level or profile it wont change only the high profile level 4 is selected need to work on it abit more

    And can instant HDR pictures be achieved anytime soon?

    Sent from my Nexus 4 using xda premium

    Very interesting question something I'll need to look into in my spare time

    60 fps no way

    Sent from my Nexus 4 using xda app-developers app

    Yes way! lol

    Not sure about some of it but I can tell you that the higher bit rate helps with limiting the grainy video you see at times. 25Mbps is really about all you need at 1080p, any higher only makes for large files but no better quality.

    60fps? Negative. Honestly we can all get into a long debate over it but I'll save you the trouble - its dumb. No need for it in video. This isn't a high action game. Even the cinema standard is 24fps. Besides our hardware caps at 30. Just like most other phones. Drop to 30 again - the software drops frames anyway so you'd need to record Bruce Lee fighting to test and see if we can hit 60fps at all.

    The source would be great since the media encoding is embedded in the kernel it seems. Not in the .apk like the "old" days. Maybe see if we can get the audio sampling up to 192 or 320, instead of the lackluster 96 (seriously Google, wtf...)

    Lastly, there should be options for the FFC. What can we for for that?

    Sent from my Nexus 4 using xda app-developers app

    Dont worry you'll be able to limit the fps or atleast I'm hoping to do that so if its not your kinda thing then you can stick to your 30fps ;)

    60fps is a matter of opinion. Personally I deinterlace all my 30i media to 60p, and it looks great. 24fps (or rather, 23.976fps) in cinema is just a matter of tradition, rather than any technical superiority. We might see this trend changing soon with The Hobbit being recorded at 48fps.

    Anyway, the Padfone 2 with the same APQ8064 is capable of 720p at 60fps, so unless the hardware limitation you are talking about is with the camera module, the hardware encoder in the APQ8064 should be capable of 720p 60fps recording.

    Thank you for the info

    720p video @ 60fps would be amazing. That plus higher bitrates and AVC high profile would finally make the video recording worthwhile. I sincerely hope you figure this out, OP!

    Wait for v0.2

    HDR video HDR video HDR video. I would give you money if you got that working :)

    Sent from my Nexus 4 using xda premium

    Ive been thinking about that feature if i had full net access on my computer i wouldve already done a custom build, i have already done custom binarys built but didnt release that was months ago lkl
    5
    Re: Nexus 4 camera recording(AVC high profile & LEVEL 4 achieved!) (60FPS tests)

    ^^ Why attack other members like that, no need for it. Just disagree with an argument, makes you cooler..
    5
    OK. Here's my stab at a comparison video.

    Two videos. Both are split screen with the main profile on one half and high profile on the other. It's the same footage for both, just reversed sides so you can compare.

    I edited the XML file so the bitrate is 20mbps. The footage is all 1080p30. All low light which I think is good because you can see the compression artifacts more.
    To keep the timing right I had to clip the footage in places. It may appear that there's skipping but those are just my cuts.
    Ignore the colour difference...that was just me accidentally picking the wrong white balance before I recorded.

    You can really tell on the shot of the car with the green seat where the compression artifacts are much more visible on the main profile.

    Anyway, I hope this helps.

    Edit: It's hard to see on you tube because of the recompression. It's much clearer on the original footage that the high is better. To help, crank the res to 1080p in youtube and then full screen it

    http://youtu.be/WnF1-XXWaww

    http://youtu.be/mjz9MTM13qY
    5
    Re: Nexus 4 camera recording v0.1 (AVC high profile & LEVEL 4 achieved!) (60FPS tests

    Have some time later this week to work on it yay! Did have a look at the mi2 or whatever that other phones called for 60fps, not sure where and why they claim 60fps? Can clearly see stuttering in videos and checked everything unable to find anything on 60fps on that device, so not sure if its encoding @ 60fps, other than that did a few tests which resulted in camera FC

    Sent from my Nexus 4 using Tapatalk 2