Change camera JPEG and video compression - AT&T, Rogers HTC One X, Telstra One XL

I remember seeing a special camera app over on the other One X forum that set the JPEG compression to 0 and increased the video to 20mbps. The app has since been pulled because it was too buggy. We couldn't have flashed it anyway because you need cwm.
It got me thinking about something like that on our One X. Would it be as easy as changing a buried config file somewhere? Or would it require a whole new app? I'd love to be able to take some uncompressed, or less compressed pictures and really show off the camera's capabilities.
Sent from my Transformer TF101 using xda premium

thinking the same thing - I know they are compressing the hell out of the pictures as 1.5MB images from an 8mp camera is too small. I would at least have liked the option of choosing my compression levels.

Related

Newb question: Best video decoding settings.

Im going to try and make this short.
I realize this may not be the best place to ask but i know you guys are the best to ask.
What are the best 1) resolution 2) bit rate 3) quality settings for encoding video for the gtab that give you a nice picture and dont break the ram bank.
At 768x450 2000bits/sec My test movie is 1.3gb. At the native 1024x600 the file size hits in the 1.7gb neighborhood (nice looking but probably not feasible unless i am only going to put one or two movies on here at a time...would like to do 5 or 6)
I tried it at 512/300 (50% of the native resolution) and a bit rate of 800bps and did manage to get the file at around 500mbs but the quality was just sub par for my tastes (fuzzy VISIBLY jerky).
Rather than me testing for days and days..i was wondering what settings you guys had set on (and why).
Thanks!
Allen
Edit: The H.264mp4 format was causing artifacting that i couldnt fix at any setting..
Right now i am using .mp4 at 768x450 (or a 75% scale of the native resolution) and a bit rate of 1,500 with the sound set at DVD quality (which actually does help since i use blue tooth head phones). File size still just at 1gb (that maybe about the smallest i can do with the quality i like). Even at that setting...its still a tad jerky. What should i try? Lowering the resolution and upping the bit rate a tad more???
Still wanting to know if any of you guys have a magic setting for me!
The good news here is that i am not loading my up memory with mp3/songs (have an iphone for that) using pandora radio instead. Regular apps dont take up too much room so i figure i probably have around 10G to play with for video. (when vegan gets the SD card utilizatin fixed ill have another 8G on top of that).
Bump:
Still looking for settings suggestions.
I am using 720X480 @ 1,500kbs in MP4. This gets me ~1.2gb files. It is the actual resolution of a DVD, which is where my material is sourced. This lets the display device do the scaling, rather than the encoding process.
Robert Duncan said:
I am using 720X480 @ 1,500kbs in MP4. This gets me ~1.2gb files. It is the actual resolution of a DVD, which is where my material is sourced. This lets the display device do the scaling, rather than the encoding process.
Click to expand...
Click to collapse
Duh that makes total sense!
Testing now.
Any ideas what the "video quality output settins are". 1 is best, 32 is worse. 26 is recommended.
I dont have much to go on. I see the recommended settings for an ipad are 1335 bit rate and a quality setting of 24.
UPdate: When i did a test run with higher settings i noticed the video would lag every three or four seconds. I concluded that the settings were too high for the hardware to handle. Likewise when i set them too low..it was jerky, and i concluded the bit rate was too low for smooth frame rates.
At 720x480 1500Bits (and a "quality setting of 24"). The lag is MUCH better, but it still lags about every 20 seconds or so (very briefly). I will test at 1400bits/26q and see what happens.
Jeeze! A lot of work.... its too bad someone hadnt already figured all this out and just given me the quick answer! lol
Thanks again for the answer!
You should be able to play 1080 with no lag?
Sent from my V9 using XDA App
You may want to grab a program called Mediainfo. This program analyzes the video file and tells you what profile was used, video and audio encoding stats. I was using this to make sure my source and output files were not using the "High" profile. I have some 1080 files re-encoded under the "Simple" profile and they look great with zero lag. I have re-encoded all my files with Handbrake and the all work without lag.
I used the info listed in roebeet's FAQ post: http://forum.xda-developers.com/showthread.php?t=842899
daml said:
You should be able to play 1080 with no lag?
Sent from my V9 using XDA App
Click to expand...
Click to collapse
BUT why when the screen resolution is only 1024x600?
DONT need media info unless reatail dvds are encoded with more than one setting Are they?
I saw roebeets post about using the ipad settings but that makes no sense. THE ipad has a different resoultion and a less powerful processor.
I am getting lag at 720x450 1500bits but not at 720x450 1400 bits. Very interesting.

Camera - Shooting RAW possible?

I searched for camera mods to allow for capturing of RAW data from the sensor on the Charge.
As far as I can tell, nobody has been successful in getting any Android phone to capture the RAW data.
Does anybody know if this is possible? I know others who would love to have the ability. I didn't really want to start a discussion of RAW vs JPEG compression, etc. I know the drawbacks and advantages of RAW.
I think that this would require camera firmware modifications as well as Camera APK modifications. My development knowledge is very limited, hence my name.
Does anybody know if this would require a reasonable about of effort or if its far beyond being worth the trouble?
It looks possible, and the code is in the API to do this, but it has yet to be done as far as I know. It looks to be an issue with the "RAW callback function" always returning NULL. If I have some time I will to look into it.
Do Not ask Questions in the Development thread if it is not Development it does not belong in here
Moving to General
My apologies and thanks.
Bumping this, seems like an interesting feature, considering it has API support.
bcpk said:
Bumping this, seems like an interesting feature, considering it has API support.
Click to expand...
Click to collapse
I would plus one this
Sent from my Xoom using XDA Premium App
I don't know if its prohibitively difficult to mod, but I couldn't find any other phone which has been developed to shoot RAW. Perhaps people just haven't shown much interest.
I would love this feature, but I figure most people shooting in RAW already have a "real" camera. I would expect a decent increase in photo quality though. I have 32 GB on my phone waiting to store some RAW data!
I just wish someone would mod the camera APK to use +2 sharpness, which would result in better quality photos. The camera app applies a bad blur/denoise filter on the lower sharpness settings which reduces the quality of the picture. Worse, the camera does not save that setting, so it needs to be set each time I use it.
BeefJerky9 said:
I just wish someone would mod the camera APK to use +2 sharpness, which would result in better quality photos. The camera app applies a bad blur/denoise filter on the lower sharpness settings which reduces the quality of the picture. Worse, the camera does not save that setting, so it needs to be set each time I use it.
Click to expand...
Click to collapse
You know u can modify the frame work for the camera, I've done it before, search xda. I doubt remember the form
Sent from my DROIDX using XDA Premium App
xdadevnube said:
I don't know if its prohibitively difficult to mod, but I couldn't find any other phone which has been developed to shoot RAW. Perhaps people just haven't shown much interest.
I would love this feature, but I figure most people shooting in RAW already have a "real" camera. I would expect a decent increase in photo quality though. I have 32 GB on my phone waiting to store some RAW data!
Click to expand...
Click to collapse
Shooting raw will make the color correction possible which will significantly boost the image quality to...a 70 dollars' compact camera you can find on ebay, BUT, the best camera is always the one that is with you, so I always support anyone who like to improve android phone's shooting ability.
---------- Post added at 02:38 AM ---------- Previous post was at 02:26 AM ----------
The real issue isn't allowing the camera to shoot raw because they can be done but the raw format will not be recognized by any raw processing software on the market. The possible way is to use DNG format which will significantly increase the difficulty of modification because it means the programmer will put in hours to create a brand new application to understand and compress the raw file to the DNG file...unlike Canon, android does not have an official raw format...so everything will need to start from zero. This process could easily take 20 very experienced engineers up to a year to complete, and the result might not be very ideal and will need another year to modify and improve...so we are looking at a potentially five million dollars project here - and it will better be turning in to profitable application - and if so it will have to be the best selling android app ever.
xdadevnube said:
I don't know if its prohibitively difficult to mod, but I couldn't find any other phone which has been developed to shoot RAW. Perhaps people just haven't shown much interest.
I would love this feature, but I figure most people shooting in RAW already have a "real" camera. I would expect a decent increase in photo quality though. I have 32 GB on my phone waiting to store some RAW data!
Click to expand...
Click to collapse
Yes, most (like myself) probably do but since I'm carrying around a high quality 8 megapixel camera in my pocket I'd like to be able to shoot in raw for those times that I don't have my DSLR with me. There is so much more that com be done to a RAW photograph, not to mention not having any data loss form it being converted to a jpeg. Looking forward to seeing if anyone can make this possible.
desmalta said:
Yes, most (like myself) probably do but since I'm carrying around a high quality 8 megapixel camera in my pocket I'd like to be able to shoot in raw for those times that I don't have my DSLR with me. There is so much more that com be done to a RAW photograph, not to mention not having any data loss form it being converted to a jpeg. Looking forward to seeing if anyone can make this possible.
Click to expand...
Click to collapse
Just a reminder....this is a cell phone, not a camera!
buhohitr said:
Just a reminder....this is a cell phone, not a camera!
Click to expand...
Click to collapse
Just a reminder, anything is possible in the world of android!
Sent from my SCH-I510 using XDA App
desmalta said:
Yes, most (like myself) probably do but since I'm carrying around a high quality 8 megapixel camera in my pocket I'd like to be able to shoot in raw for those times that I don't have my DSLR with me. There is so much more that com be done to a RAW photograph, not to mention not having any data loss form it being converted to a jpeg. Looking forward to seeing if anyone can make this possible.
Click to expand...
Click to collapse
RAW does not equal improved quality if the camera is not capturing more image information prior to compressing to JPG. You're still working with a tiny fixed lens and dense, compact sensor with tiny photo sites. This is limiting the amount and quality of light. Shooting RAW will not change this. JPG compression is not a limiting factor for image quality. You won't be able to resolve significantly finer detail or shoot in lower light settings just because you're shooting RAW. Open a JPG as RAW with Photoshop, it'll provide a similar experience.
You'll end up with similar photo quality, a bit more flexibility in PP, and huge lag while the camera tries to handle transfering and saving the huge photo file 10x larger than what it was designed to handle.
These are the only mobile phone sensors I've seen that would support or justify shooting in RAW.
Another story on them: http://www.engadget.com/2011/04/14/omnivisions-new-12mp-cmos-sensor-shoots-raw-pics-and-1080-60p-v/
In other words, RAW will be here eventually. When it is, it'll be an improvement. To try and force it (if it were even possible) with the sensor and hardware limitations in the DC is pointless.
charlie_c said:
RAW does not equal improved quality if the camera is not capturing more image information prior to compressing to JPG.
Click to expand...
Click to collapse
true, but shooting raw does preserve more of the image, because its the raw/real image that sensors seems is not a jpg processed image the way camera applications decided the scene should look like.
basically would would be taking your camera off the auto mode.
with raw you would have greated control over white balance, shadows, highlights etc...
There is a question about how many bits of image data you got on mobile sensor. On DSLR there is 12 or 14 bits information that is compressed to 8bit JPG information - that's why there is plenty more information about the image in RAW format. If CMOS in your mobile phone deliver just strait 8bit - your RAW will not have much more data.
As I don't have slightest idea how many bits of data is served by mobile camera sensor I can't say if there is a reason for RAW.
i found this
http://stackoverflow.com/questions/14777953/how-to-capture-raw-image-from-android-camera
i am really looking forward for a raw file from android camera this will be a huge move forward to the mobile world and the abilities of android
and since its supported in the api means google wants it to happen
Edit:
Create this dir /data/misc/camera/RaW_PiCtUrEs case sensitive btw
Assuming the capture mode used is high-quality and not high-quality-zsl it should produce a raw image everytime you capture a jpeg image
Click to expand...
Click to collapse
try this maybe it will work i found it here : http://forum.xda-developers.com/showthread.php?t=1977654&nocache=1

[idea] 2D Photos out of 3D

Hi guys, is there any demand for converting the JPS files into JPG? (I know JPS is in JPEG with 2 pictures side-by-side)
I've made a script that takes one of the pictures in JPS and saves it in JPG.
Pretty simple, so it also rearranges the files into folders with the dates the photos were taken.
If enough people wants it I will post it here (I need to make it more user-friendly first )
Or is there already some app that does the same thing?
The 3Dsteroid app can do that and also convert to other formats. Though the free version limits the final image size.
I use my laptop to edit jps but think it sounds good
Sent from my LG-P920 using Tapatalk

Camera JPEG Quality Setting

I noticed (While using Elixir) that the default camera JPEG quality is set to 85%. Is there a way to set it differently? I'd rather have better quality shots, than a smaller file size.
There's a post in the amaze section and apparently by changing values in /etc/media_profiles.xml you can set it to ultra fine quality.
Is the process the same for our device?
Nick
Edit: I'm using PyroIce Sense 1.1.0 if that helps.

[Q] App to downsample video/pics

I'm going to be doing some international travel into locations with very limited bandwidth. I'd like to be able to regularly upload videos to youtube and some photos but still take photos/videos. My problem is that I really need to downsample the video and reduce the photo sizes to upload them where I will be at. Are there any good apps that make it easy to simply downsample a video for youtube upload and (probably another app) to reduce pixel size of photos in bulk ahead of time or during upload?
I don't really ever think about this here since I have about 5Mb upload at home I can just upload to my hearts content. Once that drops to about 128k though that really changes things. I know how to easily do it all on my laptop but really want to just travel with my tablet if possible.
Thanks in advance for any suggestions.
FYI in case anyone else is ever looking for these kinds of solutions.
Images can be done with Image Shrink. Install app the go to gallery, and select image(s) and share to image shrink. The app will shrink as configured and then share to another image app.
https://play.google.com/store/apps/details?id=com.gmail.anolivetree
Video is best done with Video Converter Android. Install app then codec as indicated in app. Videos can be selected in app and then batch converted and downsized as configured.
https://play.google.com/store/apps/details?id=roman10.media.converter
Both apps have lite versions but I bought both to support devs and get rid of ads.
Sent from my MB855 using Tapatalk 2
Reduce Photo Size
https://play.google.com/store/apps/details?id=com.shoozhoo.imageresizer&feature=search_result
Been more then happy with this one.. use it on all the devices.

Categories

Resources