[Q] Adaptive video windowing: Is it possible? - Android Q&A, Help & Troubleshooting

Maybe this is a commonly known technique that I just don't know about but I've been wondering for years now why this isn't done (maybe it is done). Current smartphone camera are now 13 Megapixels and more (the S4 is 4128x3096). HD video is recorded at 1920x1080. Is it possible to have a movable window of size 1920x1080 within that full 4128x3096 pixels of the camera sensor? Imagine having a stationary phone but video panning to follow a moving object. I know this is similar to how digital zoom works but I haven't seen it used for pan and follow.
Can this be done at an API level or is this something a new hardware driver would be needed to accomplish? I have not learned Android programming as yet so this is more of a conceptualization problem right now.

Related

[Q] slow-motion camera or port of droid X's camera?

Is there a way to take slow-motion video with the Vibrant camera? I know that the droid-X has one but i cant find a port or anything that will work on the vibrant.
so if anyone knows if there is either a port of the Droid X camera or maybe a slow-motion app I would appreciate it.
bpackard said:
Is there a way to take slow-motion video with the Vibrant camera? I know that the droid-X has one but i cant find a port or anything that will work on the vibrant.
so if anyone knows if there is either a port of the Droid X camera or maybe a slow-motion app I would appreciate it.
Click to expand...
Click to collapse
The way most consumer digital cameras do slow-motion video (and video at all) is to record many different frames on the camera's CCD chip. The Vibrant's CCD, for example, can take 2560x1920 still images. It also records 1280x720 video at 30fps. To do this, it puts 4 different frames on the CCD, one after another. (1280 times 2 is 2560, so you can fit two frames across and two frames down, so that's 4 images on the CCD at once.)
To do slow-motion video, you just need to subdivide the CCD even further to fit more frames on it. This is why cameras that support slow-motion video record it in lower resolution--you're not really speeding up capture so much as stuffing more frames on a single CCD, which has limits in how quickly it can refresh.
On the Vibrant, you could theoretically do 120fps in 640x480 resolution by subdividing the CCD into a 4x4 grid (instead of the 2x2 is uses to do 720p 30fps). This gives 4 times as many frames per CCD refresh, which means 120fps. (Or you could do 720x640 at 60fps by subdividing into a 4x2 grid--half the pixels of a 1280x720 at twice the frame rate.)
Are the camera hardware drivers open source? My knowledge of Android stops at the API--I've never done any low-level device driver programming. If you can get the camera driver source, this should be possible. But I have no idea how difficult it would be.
(I'd love to see this feature, though--I found this thread searching around to see if anyone had done it already.)
Bump. I'm assuming this is a development dead end until we get the camera driver source...but it'd still be awesome to have this feature on more Android devices.
chuckbass... what you says is no sense, forgive me, but that isn't the way slow motion works, if there is a way to get a frame from an area of the ccd and subdivide in 2x2 you will get 4 incoherent images cos each will be sepparated by half resolution
Slowmotion it's dependant on how fast you can get the whole frame from the CCD, resize, apply some compresion or not, and store
in this part the RAM memory has a vital role
the proccess is:
1) get the whole frame from ccd, it's can be done by api's, but I think may be slow, but you need to test first, but through apis is more compatible
2) resize the frame, at least you can get a resized by hardware image, I think through apis the cdd can return an jpg
3) store to ram in raw mode or the jpg
repeat at fast the cpu can until fill the reserved ram
this may works to do a burst slow motion for a few second but very fast frame rate
another ways is to apply an algorithm and store in ram just if it's necesary but better to store directly into a fast SD memory to record continuously, here you can do test to find the max memory you can store to SD and maybe not using compression but just store in raw mode (like a bmp, or rle bmp)
there is no relation with resolution/frame rate and how much slowmotion you can do
I mean, if you can record [email protected] that doesn't necessary means a [email protected]
samsung omnia i900 can get arround 120 fps in 320x240 in a low bitrate video, works fine with good light, and [email protected]
Galaxy S can record [email protected], but has a better cpu and gpu
It's depends on cpu power, and/or gpu (and not in MHz)
I don't know about android programming, and just a few useless things in winmo, but I'm glad if I can help with anything
it's seems that not much ppl is interested on slowmotion, funny, cos is a very nice feature!
if there slowmotion in galaxy S or optimus 3D I will buy, but for now I will get a Casio EX-F100 and a Nintendo 3DS soon

Resolution problems

Hi,
I originally wrote my application with a android:minSdkVersion of 1. This apparently means the application reports a screen height of 480 and a screen width of 320. This wasn't a problem as it still looked good on my Galaxy S i9000 (see pic 1). Once I discovered noticed this and changed it to a latter API it reports a higher resolution (with different aspect ratio). I managed to translate coordinates and resize images to deal with any resolution but now it looks all pixilated (see pic 2). I am using Libgdx for my 2d graphics using Sprites.
imageshack.us/photo/my-images/853/compatibility.png/
(looks nice and blended and not pixilated)
imageshack.us/photo/my-images/580/reslow.png/
(looks pixileated)
Are there any problems with releasing a program targeting API 1 since it seems to work better?
It seems like when there is a low resolution the display driver handles the resizing and blends it to look nice but when libgdx does it it doesn't look as nice.
Any thoughts would be great.

[REQ] New Camera App...???

Hello, i was wandering, how come noone has developed an app or a tweak for the camera that will give us full control of the settings (shutter etc - i know aperture is a hardware thing).
I mean to give us the ability to choose for example shutter times for up to 30" or even more, since this is a software related issue. The main purpose of something like that is for nightsky portraits, that would give pretty good results, because of the camera's low f ratio and focal length
try Camera FV-5 in the play market
actually, that's a kick-a$$ app! just tried it, and works like a charm, even though, due to hardware limitations, long exposure is limited to 640x480

Is There a Way to Increase the Camera DPI In the Camera Settings?

As the title suggests, I'm curious as to a way to increase the DPI for the camera app to increase the quality of photos taken (when zooming in on a crop of a photo). I remember from my Note 3 that there used to be a way to change the quality of the photo (best, better, etc.) which was a way of changing the DPI for the photo taken.
Even if there's a way to do it with root (say by modifying the build.prop file), any advice would be great!
As an alternative, is there a camera app that allows for you to change the DPI and fully utlize the camera hardware? I used to use Camera Zoom FX (Premium) but it didn't play nicely with some of the phones (namely Motorola) that I have used that app on.
Thanks for the tips, help, guideance, etc.!
Not sure what you mean, you can set up to 20mp in the settings. Thats even more than the rgb sensor is capable of. I guess this upscales the rgb sensors color info to the 20mp picture the monochrome sensor is taking. I cant think of anything that Would utilize the hardware more
rob.allen78 said:
As the title suggests, I'm curious as to a way to increase the DPI for the camera app to increase the quality of photos taken (when zooming in on a crop of a photo). I remember from my Note 3 that there used to be a way to change the quality of the photo (best, better, etc.) which was a way of changing the DPI for the photo taken.
Even if there's a way to do it with root (say by modifying the build.prop file), any advice would be great!
As an alternative, is there a camera app that allows for you to change the DPI and fully utlize the camera hardware? I used to use Camera Zoom FX (Premium) but it didn't play nicely with some of the phones (namely Motorola) that I have used that app on.
Thanks for the tips, help, guideance, etc.!
Click to expand...
Click to collapse
highest quality you can do is raw in pro mode. you can later decide in what quality you compress it to jpeg
0alfred0 said:
Not sure what you mean, you can set up to 20mp in the settings. Thats even more than the rgb sensor is capable of. I guess this upscales the rgb sensors color info to the 20mp picture the monochrome sensor is taking. I cant think of anything that Would utilize the hardware more
Click to expand...
Click to collapse
I saw the 20MP option but that's not what I'm referring to Some camera apps or phone makers allow for you to change the quality of the picture taken in the form of changing the DPI. The higher the number, the higher the quality of the picture when looking at a 100% crop of a photo (but also the file size tends to be larger too). I know it's not common, but it is there for some camera/OEMs.
rob.allen78 said:
I saw the 20MP option but that's not what I'm referring to Some camera apps or phone makers allow for you to change the quality of the picture taken in the form of changing the DPI. The higher the number, the higher the quality of the picture when looking at a 100% crop of a photo (but also the file size tends to be larger too). I know it's not common, but it is there for some camera/OEMs.
Click to expand...
Click to collapse
I dont quite understand what that means though from a technical viewpoint. I am not an expert but i roughly know how cameras work and what parts they are made of (keywords: sensor/pixel size, sensor resolution, bayer matrix, etc.). I never came across something called DPI. I also do not know what should be happening when increasing this DPI.
Maybe you can enlighten me. Although this does not seem to be a feature for the Mate 10 i am very much interested in learning about cameras, especially in mobile devices.
0alfred0 said:
I dont quite understand what that means though from a technical viewpoint. I am not an expert but i roughly know how cameras work and what parts they are made of (keywords: sensor/pixel size, sensor resolution, bayer matrix, etc.). I never came across something called DPI. I also do not know what should be happening when increasing this DPI.
Maybe you can enlighten me. Although this does not seem to be a feature for the Mate 10 i am very much interested in learning about cameras, especially in mobile devices.
Click to expand...
Click to collapse
I had to research this a bit myself so that I could properly convey what I was originally asking for
This article from Snap Shop eCommerce helped quite a bit:
A Simple Introduction to DPI
(apparently, it's only useful if I intend on printing any of the photos taken from the camera itself)
I had a note 2 and a note 4 until just recently. I know the setting your talking about. Its got nothing to do with DPI - its more a compression setting/sharpening setting affects how big the filesize is from your camera as it affects how much each photo is compressed (was listed as "quality" modes? from memory)
Yep that's my understanding too - it's basically like 'fine' or 'superfine' settings on point n shoot cameras - dictates how much the JPG file is compressed. FWIW my Note 4 on Marshmallow seems to have dropped the setting, along with most other phones in the last few years. You just get the default compression for photos and bitrate for videos. As @madman_cro noted, you can make sure you're getting 100% of what the sensor is capable of by shooting RAW and doing the JPG processing yourself. Gotta love it when they remove settings so as not to confuse the average user....
I got a note 4 infront of me and went looking for the setting as well and couldnt find it either your right it must of got lost in a update hahahhaha (my boy has my note2 somewhere) but yeah its exactly what your saying with the fine/superfine etc more a compression setting than anything else
iv had lot's of phones(with custom and stock rom) and while I've never seen dpi settings it may have benefit for printing. as from what iv read now that you got me interested 72 is apparently enough for our screens and our phone delivers 92 so we are ok. il try to convert raw to higher dpi later and try it in phone while zoomed in but i doubt il see the difference cause its basicly the same image
Usual DPI is 72 at jpg photo at real cameras, if you shot in RAW usual DPI is 300, i think at mirrorless is even less.
better/higher DPI is because of post processing , higher dpi more details. Just simple, if you want better phots shot in RAW .
RAW or not makes no difference - the dpi stays the same,.
The DPI of a printed photo can be affected by the resolution the photo was taken at and the size of the printout (think about it...dots per inch.....or pixels per inch on photos really...DPI is more a printer thing. RAW has nothing to do with the amount of pixels/resolution - and therefore doesnt affect DPI whatsoever as its still exactly the same amount of pixels+ resolution involved whether its in RAW format or not...... All RAW means is that the photo was outputted without any editing by the camera first - its a unmolested original image with no processing which allows for a human to do all the editing later and perhaps a better job of it)
Take a 1 megapixel photo and print that photo on A4 paper, now take a 20megapixel photo and print it on a4 paper. The higher resolution image is going to have a higher DPI on the printout than the lower resolution image does, and would be noticeable as chances are the 1megapixel had such a low dpi at the printout size the image was stretched to fit. Take a 20megapixel RAW image, and a 20megapixel normal image - DPI is exactly with both as it has nothing to do with RAW.
What it all comes down to....Stay on the highest setting you can for resolution, and you have the best chance of getting a good printout later on and being compatible with bigger printouts while still keeping clarity (higher resolution photos can be printed larger without loss of quality)
I wouldnt try and make a poster from a 2 megapixel photo for instance - as it just doesnt have enough resolution to keep a good DPI **when the image is printed** The earlier question by the OP has been answered - it wasnt a DPI setting on her note at all its a compression setting (eg fine/superfine) nothing to do with DPI and has no effect on it either.
Thats kinda it in a nutshell and dumbed down a bit to explain it easier (Im gunna get nit picked to death on technicalities of terms perhaps but im trying to keep it simple)

Triple shot

I was wondering if there is a camera app out there that allows one to take a picture and record video using all three lenses simultaneously. I'd like three individual video files saved: ultra wide, normal, and telephoto. I have looked around and this appears to be unique to the LG V40 (for photos not videos) but it creates a lame slideshow with transitions effects I dont want.
Thanks!
Dont think its possible, since video recording uses the CPU alot. And filming with 3 lenses would be pretty difficult for the cpu, maybe in low quality it would be possible...

Categories

Resources