[Q] LCamera API support for this device - Nexus 7 (2013) Q&A

Apologies if this topic has been repeated, but this regards the new Camera API in Lollipop.
Having found this app for the N5 only, for now, utilising the new Camera API:
https://github.com/PkmX/lcamera
it allows the device to record video at the full camera resolution (just under 4K for the N5).
Now does this use of the API mean we could get this device's camera to record video at 2.2K or whatever the max resolution of the 5MP sensor is? Or does that LCamera project exploit API plus N5 specific hardware features we're not aware of?
I know a tablet camera is still silly but it would be decent to have 2K video recording abilities! Thanks for any feedback!

Related

Excited about possible video recorder cab from the Xperia X2

I know that we can get better quality video recording out of the TP2, with the first WinMo phone shooting WVGA @ 30fps with the exact same hardware (minus cam module), I'm excited to see if someone can work their magic to incorporate better recording from the TP2.
Anyone else?
Cyph
I too am curious about this. I have actually always been curious as to whether the video capabilities are more software dependent or hardware... Though if the phone is capable of displaying the video on the viewfinder at WVGA at 30fps it should theoretically be possible to record at that quality. Anyways, we'll see what crops up later
Not at all
solsearch said:
I too am curious about this. I have actually always been curious as to whether the video capabilities are more software dependent or hardware... Though if the phone is capable of displaying the video on the viewfinder at WVGA at 30fps it should theoretically be possible to record at that quality. Anyways, we'll see what crops up later
Click to expand...
Click to collapse
Unfortunately the above statement is not at all true. Recording depends heavily on the camera hardware in terms of possible frame rate at a given resolution. Furthermore real-time compression and encoding is a significantly different proposition to the CPU than decoding and playback. This is not to say the TP2 hardware may not be capable of doing better than it does, just that playback capabilities are no indication.
Dennis
Like I said, I don't know how much the camera module affects it. And what I meant by theoretically is that if it can display that on the viewfinder at that res then theoretically it could be recorded in raw format (as long as the transfer to the memory could handle the speed), but it would not be practical by any means. But if the x2 is capable of it and IF the ONLY difference is the camera module, and IF the camera module is just the sensor and no graphics processing then it could possibly happen. And I'd love to see it. But neither am I going to hold my breath.
http://www.youtube.com/watch?v=5OEIZvXqzxs
You see minutes 4:29 ..... But WVGA recording resolution is 720x480? or 800x480?
Thanks
The Xperia X2 has the same CPU as the Rhodium and in theory the video recording abilities can therefore be ported. The drivers for video recording must be extracted and put into the Rhodium ROM.
Even if the Rhodium camera or drivers doesn´t handle WVGA widescreen recording it´s possible with some development work to use better encoding drivers - i.e record VGA but let a good MP4 encoder with good quality do the encoding job (i.e replace the original HTC video encoder with a better one).
In this case the original HTC camera application is retained but with replaced encoders. The user only sees a quality difference - the handling of the camera app is the same otherwise.
E90 Commie said:
The Xperia X2 has the same CPU as the Rhodium and in theory the video recording abilities can therefore be ported. The drivers for video recording must be extracted and put into the Rhodium ROM.
Even if the Rhodium camera or drivers doesn´t handle WVGA widescreen recording it´s possible with some development work to use better encoding drivers - i.e record VGA but let a good MP4 encoder with good quality do the encoding job (i.e replace the original HTC video encoder with a better one).
In this case the original HTC camera application is retained but with replaced encoders. The user only sees a quality difference - the handling of the camera app is the same otherwise.
Click to expand...
Click to collapse
That's definitely be a good thing. Maybe it could even up the fps a little bit.
The Xperia X2 has the same CPU as the Rhodium and in theory the video recording abilities can therefore be ported. The drivers for video recording must be extracted and put into the Rhodium ROM.
Even if the Rhodium camera or drivers doesn´t handle WVGA widescreen recording it´s possible with some development work to use better encoding drivers - i.e record VGA but let a good MP4 encoder with good quality do the encoding job (i.e replace the original HTC video encoder with a better one).
In this case the original HTC camera application is retained but with replaced encoders. The user only sees a quality difference - the handling of the camera app is the same otherwise.
Click to expand...
Click to collapse
Well if we can get someone on that I'd be willing to pay (big - ROM COOKERS LISTENING?? :-D ) for the capability to enhance the video recording capabilities. I just need an additional 10 fps and maybe another 200 kb/s bit rate for excellent video. That would make the video recorder to 30 fps @ ~ 1Mb/s..niiice.
If they can accomplish WVGA or even D1 (720x480) that would be cool too (or better).
I wish I had the skills/tools to do that, I'd be all over it like white on rice! LOL
Cyph
Personally I don't need 30fps (though it'd be nice). I'd be happy with a video standard such as 23.976fps or whatnot. 20 does look stuttery. Just a few more would fix that. Well. Let's hope someone looks into it. Though it might be necessary that we wait until the x2 is actually released

How to record 4k video ?

On iPhone 5s, even it doesn't support 4k recording officially, we can record 4k video by installing an app called "Vizzywig 4K". It captures full 4K resolution photos (3840 x 2160 pixels) at 24 photos per second while capturing an audio soundtrack separately. Is there any app similar on android?
You need a camera that officially supports 4k before you can record in 4k. I highly doubt this app can 'magically' allow a camera to record in 4k, it is mostly placebo. The zenfone 2 can't record in 4k as it's camera only supports 1080p Max.
You can try open camera.
darklink987 said:
You need a camera that officially supports 4k before you can record in 4k. I highly doubt this app can 'magically' allow a camera to record in 4k, it is mostly placebo. The zenfone 2 can't record in 4k as it's camera only supports 1080p Max.
Click to expand...
Click to collapse
This app is proven to be work, just did a Google search. http://www.engadget.com/2014/09/17/hands-on-with-the-1000-vizzywig-4k-app/
Also this app work by taking 24 photos in one second, so is it possible for our ZF2 to do so?
xCalibur15 said:
You can try open camera.
Click to expand...
Click to collapse
I have tried it, it can only record 1080p even the option for recording 4k is enabled
Perhaps what I am looking for is an camera app that can take 24 "3840 x 2160" photo in one second and than combine these photos with a sound recording to form a video.
No. You can't do it. Even if it did work, it would be very shaky because you are not considering the lack of image stabilization. The ZenFone 2's shutter speed is just too slow to capture 24, much less 15, photos per second.

moto g4 plus [email protected] ?

Hi guys, moto g4 plus using Snapdragon 617 Processor, this processor support 1080P 60fps record but g4 plus have to feature 1080p 30fps. Will be 1080p 60fps mod ? because as g4 plus same power too phones recording [email protected], for example samsung galaxy S5
https://www.qualcomm.com/products/snapdragon/processors/617
I think the camera sensor is not compatible
But it's just my thinking
mgedik said:
Hi guys, moto g4 plus using Snapdragon 617 Processor, this processor support 1080P 60fps record but g4 plus have to feature 1080p 30fps. Will be 1080p 60fps mod ? because as g4 plus same power too phones recording [email protected], for example samsung galaxy S5
https://www.qualcomm.com/products/snapdragon/processors/617
Click to expand...
Click to collapse
There are 3 things you have to look at when deciding what resolution & speed a phone records a video...
1. Camera sensor
2. The ISP
3. The software implementation
1. Camera sensor - Omnivison OV16860
A quick look at the OmniVision site tells me that the G4 Plus sensor "supports high-quality slow motion video capture with full field of view (FOV). The sensor can capture 16-megapixel images and video at 45 fps, ultra-high resolution 4K2K video at 60 fps, and 1080p high definition (HD) video at 120 fps via high speed D-PHY and C-PHY interfaces"
What does this mean? It means that yes, our phone CAN record 1080p60 videos, & actually a lot more....
2. ISP - Snapdragon 617
It is very well known that this is a decent mid-tier SoC and has good capabilities.... But how much exactly...?
Multiple google searches led me to this -
"14.9GB/s b/w GPU Adreno 405 Adreno 405 "Next-gen" Adreno "Next-gen" Adreno Encode/
Decode 1080p H.264
1080p30 HEVC, decode 1080p H.264
1080p60 HEVC, decode 2160p30, 1080p120
H.264 & HEVC 2160p30, 1080p120
H.264 & HEVC Camera/ISP 21MP Dual ISP"
Which means yes, our phone can decode 1080p60 videos (seems to be HEVC only)
3. Software implementation -
Now this is where your answer is... Motorola has to develop (or fork) device drivers & libraries for the particular sensor & ISP. Now, on a mid-range phone for the masses, why would you spend so many development hours on trying to get 1080p60, only for it to eat away its high-range market's share. The G4 Plus is already more than capable to disrupt high range phones (ex - Moto Z Play), and if you add extra features, it'll either be costlier or everybody will buy ONLY this phone.
Long story short, Motorola hasn't included the SW implementation and/or device libs required for 1080p60. If you want it, you have to develop it yourself from Motorola's device libs & kernel.... Parts of which are closed source... Which means you can't.
Only solution is to reverse engineer/ get open source device libs for the sensor, make your changes, integrate it back into the kernel (& the system) & HOPE it works.
Similar discussion was held in the Moto G2 forums, that device was capable of 1080p recording, whereas it only had 720p in SW... Similar conclusion in the end.
Very interesting.
aditya.upadhyaya said:
There are 3 things you have to look at when deciding what resolution & speed a phone records a video...
1. Camera sensor
2. The ISP
3. The software implementation
Click to expand...
Click to collapse
Thank you, that was a great summary. Much appreciated.
try oxygen for android "ABS TWEAKS" BEST APP EVER! and you'll get your 60fps, you'll need busybox, and terminal on your phone, and Int. n your phone. theres a thread on xda about it. good luck champs!!!
p.s. i take no credit for ABS TWEAKS.
Dr.who? said:
try oxygen for android "ABS TWEAKS" BEST APP EVER! and you'll get your 60fps, you'll need busybox, and terminal on your phone, and Int. n your phone. theres a thread on xda about it. good luck champs!!!
p.s. i take no credit for ABS TWEAKS.
Click to expand...
Click to collapse
Even if that abs tweak work ,It doesn't support nougat.
I think ABS TWEAK is for 60 fps playback and not camera mod. IMHO
aditya.upadhyaya said:
Which means yes, our phone can decode 1080p60 videos (seems to be HEVC only)
Click to expand...
Click to collapse
That is DECODING - processing video files to send data to the LCD screen.
You need to look at the ENCODING process - making data files from data from the image sensor. That is a different hardware block on the chip. All I could find is that SD617 supports: "Up to 1080p video capture @60 FPS".
Datasheet doesn't say more, it's even more confusing because it says [email protected]: https://www.qualcomm.com/media/documents/files/snapdragon-617-processor-product-brief.pdf
Also, remember that, if you save on the external SD card, it's speed might not be enough to keep up with writing the video file. Some cheap cards have horrible writing performance.
It requires driver and HALs

Best video recording app for Redmi Note 7

So GCam is definitely the answer for getting the best photo quality out of this phone in almost any situation, but let's see how we can record the best possible video.
Btw, when you first try video recording with the Note 7 in low light, it's natural to be disappointed since you're comparing it to GCam's photo output in low light. GCam uses frame stacking and other techniques to remove noise, increase dynamic range and get details in both shadows and highlights as well as the rest of the image. To produce only one 12-megapixel frame, it uses anywhere from 3 to 15 frames and takes a few seconds to do the complex blending and computations to create a great low light photo. Without a much stronger SoC, ISP, a better sensor and more advanced processing algorithms, this is impossible to do while recording a video, as the phone is struggling to keep up with recording 30 8-megapixel frames (UHD) each second or 2-megapixel frames in case of 1080p. They've barely managed to get SD 660 to comfortably use real-time EIS at 1080p30, along with auto focusing, WB, exposure, noise reduction etc.
So, knowing that in low light this phone's video recording will never be great, let's focus on other aspects of its video recording. My only idea for improving low light video recording is to find an app that can use a high bitrate in order to avoid introducing additional noise and artifacts. This also applies to filming in daylight.
I'll start with some findings about the differences between the stock app, GCam and Open Camera when recording video.
STABILIZATION
As far as video stabilization goes, only stock camera's 1080p30 EIS properly uses gyro-EIS and that really is the most beautiful stabilization you'll get out of this phone. No wobbling or image distortion, it just softens the shakiness, as if the phone were on a gimbal.
1080p30 EIS in GCam – it's instantly noticeable that the viewfinder here is stabilized (whereas in the stock app it isn't). It appears to be using the gyroscope, but not in the same way the stock app does. Stabilization is OK, but not as smooth as in the stock app and wobbliness can be noticed occasionally, with more abrupt movement.
UHD EIS in GCam – better than no stabilization, but wobbliness on the edges tends to be obvious when there's a lot of movement.
1080p30 or UHD EIS in Open Camera – also a stabilized viewfinder, but the stabilization algorithm here is very wobbly, which is extremely noticeable in UHD, so try to hold the phone as stable as possible when recording in Open Camera. The highlight of Open Camera for the Note 7 is its front-facing camera UHD stabilized video recording. So far this is my only use case for Open Camera on this phone (plus testing).
If you like using 1080p60 because of its smoother panning and movement in general, here's a tip to stabilize 60 fps videos: shoot in 1080p60 without EIS in the stock app or another app (using a high bitrate when possible) and then stabilize the footage in Google Photos, which does a nice job unless the video is impossibly shaky.
SLOW MOTION
In my testing, I've never managed to get a smooth slo-mo video out of the stock app and I've tried it after every MIUI update so far. At 1080p or 720p, the result is always a stuttering slo-mo video. GCam to the rescue!
GCam can record stutter-free 1080p slo-mo for a long time (I tried it for a couple minutes) and the resulting video is smooth as butter, suffering only from an occasional hiccup here and there. Perfectly usable.
Open Camera can also record in 1080p120. Different apps should be tried out to see how smooth the slo-mo is and which one is able to use the highest bitrate, leading to the highest image quality. Although image quality does appear to be limited in slow motion mode.
FIELD OF VIEW (FOV)
If you have your phone on a tripod or you can lean on a surface to stabilize it, you should turn EIS off. This will give you a wider field of view and a sharper image. When you're recording a video, the top and bottom portions of the image are cut off to accommodate for the widescreen format. This already makes you lose around 25% of the image information that the sensor can actually see. EIS works by further zooming into the centre of the sensor (or cropping the image) and using the now-extra information to shift the frame in any direction as necessary, to produce an impression of a more stable footage.
The phone will not recognize that it's on a tripod and turn EIS off. You have to do that manually. Why would you want to do that? If you want:
1) to capture more of the scene (a wider field of view), with EIS on, you'll have to step back (which is sometimes not possible)
2) better image: stabilization comes with trade-offs. If you don't need it, turn it off. The phone will be able to use a greater number of pixels to create your fixed-resolution video, resulting in a better image.
With 1080p30 EIS off or UHD without EIS, you'll have the widest FOV possible for video on this sensor. Only top and bottom are cut off for widescreen.
1080p60 EIS off – for some reason, this has just slightly narrower FOV than 1080p30 without EIS. The same FOV appears to be present in 1080p120 (slow motion).
When EIS is on, it crops the least on the stock app, slightly more on GCam and the most on Open Camera.
VIDEO AND AUDIO BITRATES AND QUALITY
Work in progress. So far I can only tell that stock and BSG's GCam produce different videos. Stock uses a higher video bitrate and GCam a higher audio bitrate. Open Camera tends to put on a yellow cast, presumably to make the image warmer. Also, bulkin's GCam allows you to select video bitrate. Haven't played with that or the bitrate in Open Camera.
It's also worth to test other apps, such as Cinema FV-5. I've had luck with that on previous phones.
My recommendation is Open Camera by mark harman
Plzz any one provide me the link
tamalnag said:
Plzz any one provide me the link
Click to expand...
Click to collapse
open camera is on play store
Very detailed observation.. Thanks for sharing. ?
Have anyone tried 'Footej Camera'?
Great post. My recomendation for all uses is gcam, not the best in all but not the worst. Perfect for a daily use
There is a possibility to set the video bit rate in some of the other GCam MODs.
I can recommend this GCam MOD made from developer marlin-ku OR this GCam MOD which have much more valuable options (speed / ISO optimisations) from developer bulkin043. The last version of the second MOD is available in the Telegram channel here.
This port is the best working - one of the few other GCam MODs I'm frequently using on my Redmi Note 7.
have you tried anx camera
Quaresma_7 said:
If you like using 1080p60 because of its smoother panning and movement in general, here's a tip to stabilize 60 fps videos: shoot in 1080p60 without EIS in the stock app or another app (using a high bitrate when possible) and then stabilize the footage in Google Photos, which does a nice job unless the video is impossibly shaky
Click to expand...
Click to collapse
is it is also true for 4k30 ? do you getter final image quality and stabilization if you do eis in google photo as it must be a more complex algorithm vs "eis on" that only must use a simpler faster algorithm that runs in real time
is it hardware accelerated by the snapdragon 660's Spectra 160 ISP or is it software running on the arm cpu (question both for " eis on" and for stabilisation done in google photos app )
amanieux said:
is it is also true for 4k30 ? do you getter final image quality and stabilization if you do eis in google photo as it must be a more complex algorithm vs "eis on" that only must use a simpler faster algorithm that runs in real time
is it hardware accelerated by the snapdragon 660's Spectra 160 ISP or is it software running on the arm cpu (question both for " eis on" and for stabilisation done in google photos app )
Click to expand...
Click to collapse
Google photos stabilization is good, sometimes it does a miracle, but some artifacts appear in the video. It's more aggressive and intelligent than eis on but quality could be not so good. (I don't know anything about which processor is used, but in Google photo is a lot slow the stabilization process, about the double of the video duration)
video quality difference between 4k and 1080p on bsg mod
i installed this gcam mod : https://f.celsoazevedo.com/file/cfiles/gcm1/MGC_6.2.030_RN7_V1a_FINAL.apk but i notice that 1080p and 4k have a completely different look (different WB, different DR) is it due to snapdragon 660 limitations ? is gcam only configuring the hardware capture codec for snapdragon 660 hardware or is it applying some software computation (google proprietary code) on each frame in real time ?
Best video camera app for me is open camera. I do 1080p with 120 fpS with that and it's awesome. Other one is filmic pro. I can shoot flat video and chose nitrate and frame rate.
Cinema f5
My RN7 can't install the GCAM, I've been getting the message "App Not Installed" please any help?
Okusac said:
My RN7 can't install the GCAM, I've been getting the message "App Not Installed" please any help?
Click to expand...
Click to collapse
Uninstall any other previous versions. Then install this
https://drive.google.com/file/d/10OAI7zoNHiBjSmxRGTv2meclafg4nmxV/view?usp=drivesdk
Ryamoz said:
Uninstall any other previous versions. Then install this
https://drive.google.com/file/d/10OAI7zoNHiBjSmxRGTv2meclafg4nmxV/view?usp=drivesdk
Click to expand...
Click to collapse
Okay, I've than that... Thanks
My best is filmic pro. It is dedicated app for video making. U can record in flat/log profile which u then can color grade later on.
The quality is greater than other app.
Open camera is also nice but it has less control over the video. U can't control color temperature and u can't basic color grade ur videos. Plus u can't save ur preset.
I have no luck with GCam and stock one.
Pics GCam, Video Stock
Interesting Thread. On MIUI Global 10.3.6 and now MIUI Global 11.0.4 (Android 9) using GCam PMGC_7.0.009_Astrophoto_Version_V12 overall I'm impressed, activated Sabre and H265/HEVC (edit/play/upload compatibility seems good for the apps I mostly use which paired with the smaller size is good). Not sure if really but crispness/clarity seems well improved as well as less speckles/red-dots especially on the skin in artificial/low light. EIS also still very good.
I also use the stock camera and OpenCamera, so what bothered me in GCam PMGC:
a) still focus flickering in video (can it be optimized by any settings?), stock RN7 camera IMHO has considerably less such flickering?
b) needing GSF: so no CustomROMs? Or is MicroG able to solve this?
c) found no possibility to save to SD-Card DCIM, I think in PMGC V3/V4 versions this still was available?
For OpenCamera while b) und c) are no problem regarding a) there seems to be good micro movement EIS but overall movement/transition is not so smooth; focus seems manual (tapping on-screen) so I could not see flickering . I like OpenCamera for the many settings especially the filename without prefix. It is also possible to set RAW DNG or WebP (I use 4x3k JPG 84%), Exif tags, HEVC, 24 fps, flat/log profile. I wonder why half-max-res pics (2000x1500) are not available to select. For video I would like to have something 16:9 slightly bigger then FHD so like 3K (2560x1440) which is not available (only 4:3). I also can not find timelapse.
A friend has Filmic on RN7. It has pro options and as well HEVC. As i tried once EIS is ok (below stock/GCam) and it seems video focus flickering is noticable just a little more then Stock and GCAM is considerably worse. I do not like the 1/3 screen Play preview of taken videos (just 3 show up) and also the files are not saved in the standard DCIM camera folder on the SD (CMS External Storage, not found by Gallery Apps).
Currently my preference is:
Images: GCam PMGC
Video: RN7 Stock; Timelapses: GCam PMGC
Hi everyone! Back to this topic to ask you a question. After the recent upgrade to Android 10, still with MIUI 11, I've noticed that
- stock camera has video stabilization working "after save"
- gcam (tons of version tried) and opencamera have no more stabilization. Once it was directly on the screen. Now there's any noticable on the screen or offer save.
Do you have the same problem? Thanks! Any way to solve this?

4k Video Recording & Hdr in @25MP mode using OPEN CAMERA

Hello everyone,
》 You can use "4k video recording & click @25mP images in hdr mode" which isn't natively present in the stock camera, period, by using "Open Camera"
》Playstore Link : https://play.google.com/store/apps/details?id=net.sourceforge.opencamera
》I saw a marginal improvement in highlights especially at the night time shooting where stock camera blows up the highlights almost all the times & the detail levels are also higher as the image is captured in @25mp mode with active HDR.
》There's no stabilization in 4k recording but i saw drastic Improvement in dynamic range, especially at night. The difference between the stock 1080p video & the 4k video from "Open Camera" is huge. Ofcourse the files sizes are also 4 times higher.
》The details are much higher in both the front & back camera with better dynamic range using "Open Camera" especially during daytime.
》I prefer the stock camera only to capture still images at night due to faster shutter speed & as A50 uses pixel binning in 3:4 hdr mode which helps to gather more light ofcourse. The images are comparable here, though in this situation only.
》》》 If you're going to record video at evening & night time, I highly recommend you using 4K option in the "Open Camera", trust me the difference in dynamic range especially at night is unbelievable.
》》》 Tip : Keep the scene optimizer on & use 3:4 hdr mode while shooting at Night on Galaxy A50 as it uses pixel binning & AI to get stable pictures & gather more light for a bright shot. Avoid wide angle lens at night.
》》》 Reply to this post if you want to see actual proofs else you can try it out yourself.
Here's 4k vs 1080p video sample link (uncompressed)
https://drive.google.com/folderview?id=1NrXoZ75VCALXn0HUYMgZcJJVafI2xhM9
Cheers
The more interesting thing is what the phone is actually capable, but isn't enabled in the stock camera. Maybe Samsung will optimise the camera in future updates.
madd0g said:
The more interesting thing is what the phone is actually capable, but isn't enabled in the stock camera. Maybe Samsung will optimise the camera in future updates.
Click to expand...
Click to collapse
Yes brother, exynos 9610 is infact capable of doing [email protected] as mentioned on their official website.
Also, Galaxy A50 has flagship grade imx 576 sensor :
https://pasteboard.co/I8HMVvi.jpg
I doubt that Samsung will add 4k in future updates.
Cheers
Hi, everybody. I'm using an Open Camera that's unlocked, it will unlock the camera at 2API.1280x720 resolution, bitrate 200 mbbs.120 frames per second, but the video size is 398 megabytes in 18 seconds.
xda turns into a resource to read instead of humor. The man took and unlocked camera2api without even realizing what it was. On a rooted a50, it does not allow access, but he succeeded with a finger movement in the settings ...
help! what's the settings in open camera to make 4k video?
CCCCCCCCP said:
help! what's the settings in open camera to make 4k video?
Click to expand...
Click to collapse
Nothing.
Change the resolution to 4k in Settings > Video Settings > Video resolution
You're good to go, Cheers.

Categories

Resources