Question on UHD Video Recording Limitations - General Questions and Answers

Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!

jdantow said:
Hi All from Toronto, Canada!
I hope this is the right place to ask this. My question is as follows:
I have an Honor Note 8 with the Kirin 955 and the Mali T880. The camera on this phone is the Sony IMX278 RGBW sensor, which isn't the best as I hear, but is able to record 4k/UHD video.
From what I can gather, the Kirin 955 doesn't support hardware level UHD video encoding (only DECODING), and any phone with this SoC isn't able to record 4k/UHD video.
Would it be possible (albeit a lot of work) to record 4k/UHD video and either encode it at a software level (i gather this would be really slow), or even by using the GPU instead of the CPU to encode it? From what I can gather, the GPU is much more efficient as processing graphics and 2D video shouldn't be a problem at all for it. It seems like a solution to this would allow any user with this hardware configuration to be able to enjoy their phone cameras a lot more.
I know 4k/UHD video isn't really widespread yet, but I do have the necessary components at home including a 4k TV to be able to enjoy this resolution, so I am looking for a solution to this. Is it as simple as modifying the media_profiles.xml file and installing a different camera app?
I don't know a lot about android development, but I am making it a point to learn as much as I can, and I have put quite a lot of research into this idea before posting here, including searching on XDA. I work in Software Application Support for a small CRM, and I have years of experience doing mods and customization on android devices, so I am familiar with the landscape here and I should at least be able to understand any answer no matter how technical.
Thank you for your help!
Click to expand...
Click to collapse
I don't know much about Kirin SOC but with say QCOM to be able to encode via software using say FFMPEG the ISP would have to return preview frame with UHD Dimensions.
Its probably Capable of Encoding 4K maybe can check if it can be modded by understanding how everything works .
1st Check in /system/vendor/lib /system/lib/ lib64 for any file containing the word camera zip them attach them to your post
2nd download freedcam from play store in the menu scroll down and save camera parameters attach the file outputted to /DCIM/FreeDCam
Sent from my NX503A using XDA Free mobile app

Related

New to android.

This is (or will be come June) my first experience with an android set. Now I've read that the codec support in Sensation is quite poor but I'm wondering if that support could be extended to include e.g. .mkv playback now that Sensation will (hopefully) be unlocked.
first: welcome to the android world
second: http://forum.xda-developers.com/showthread.php?t=1097503
Thanks! So the codec support depends on the media player like in PC OSs.
I'm also wondering if there's any possible "fix" for the quality of the photos taken with Sensation's camera. The photos I've seen aren't too bad but someone mentioned too high level of compression of the file which creates artifacts. Are there apps for the camera that will lower the compression level? The ones I've looked at on Android Market don't mention anything about compression. Or maybe it's a hardware limitation.
Welcome to android as well.
To be honest I am pretty new myself. The sensation when purchased, will be my first android smartphone. Had an Archos tablet for a few weeks before lending it to my sister 6 months ago lol...
Regarding the camera, I am not certain if we are talking about the same thing but they do seem similar. In the engadget review, they mentioned 'artifacts' where isolated areas of a picture were randomly soften or blurred. This is most likely due to software/settings that are processing the raw image before saving as pictures/files. With the recent HTC bootloader unlocking announcement, we should be able to see custom ROMs or even just single solution, fixes, tweaks, updates or whatever you want to call them to address issues like this. Or of course HTC can also fix the issue themselves.
Here is a link to the review if you need it
http://www.engadget.com/2011/05/27/htc-sensation-review/
if you are looking for the camera portion scroll down until you see the picture of the daisy? (sorry know very little about flowers)
apex84 said:
Thanks! So the codec support depends on the media player like in PC OSs.
I'm also wondering if there's any possible "fix" for the quality of the photos taken with Sensation's camera. The photos I've seen aren't too bad but someone mentioned too high level of compression of the file which creates artifacts. Are there apps for the camera that will lower the compression level? The ones I've looked at on Android Market don't mention anything about compression. Or maybe it's a hardware limitation.
Click to expand...
Click to collapse

[Q] A better Camera App

Hello.
First of all, my compliments to everone that makes great things like custom roms, mods, and so.
I'd like to know if is there a way to mod/improve/change the camera app, so the shutter speed can be set.
Thanks.
Hello again. It seems this thread gained some interest, but no one could give an answer. What I asked was if is there any way to hack, develop, activate improved settings for htc chacha camera.
Videos are saved in 3gp format. Is there any way to make camera app to save them as mp4?
Pictures get blurry if the subject moves quickly, or you are not steady when shooting. Is there any way to set the shutter speed?
I don't know if the camera app can be disassembled or something, and hacked into make that things.
Maybe the camera app can be ported from another model that uses the same camera model, and can do that.
I asked HTC about this, and they answered "latest 2.3.5 version has many improvements", but none about the camera...
The camera is way better than Wildfire, which my wife owns, but I think it can be even better if the camera app is up to it.
Thanks for reading.
The big question revolving around this issue is if the cameras themselves are the same between the phones. It's not only the camera.apk that's connecting them, it's the hardware as well. Yes, there could be a possibility that the cameras are the same, between ChaCha and Wildfire (for example), but at the same time the proc or image sensor might be of a newer generation. Unfortunately I have no hardware specs on this, if anyone knows it would be nice to know.
Question: Do you know of any phone that has advanced settings inside the Camera.apk that allows you to set shutter speed? Would be interesting to compare them a bit.
In the camera.parameters public class there is a setting called scene_mode_sports that seems to be the only way to set a faster shutter speed.
I can't see it in my HTC Chacha/Status, and even lgcamera hasn't that option in the menu.
There is a profile.xml file that sets the limitations of the camera, but it seems people hack it to allow the camera to record movies in higher resolutions, because many times the limitations are imposed by the manufacturer and not the hardware.
Also, hacking the firmware and/or the drivers of a camera would allow to gain the full features of it.
This reminds me of people that upgraded the Nokia N900 to allow it to record movies in 720p, just by replacing binary files in the phone.
Is there an app that tells you what exactly hardware your phone has, and such drivers or modules it uses?
Thanks all.
Hello all.
I'm reviving this with some news. The camera module the ChaCha uses is a Samsung s5k4e1gx (http://www.samsung.com/global/busin...t/cmos-imaging/detail?productId=5622&iaId=220), the same found in several other HTC models: HTC Desire Z, HTC Mini and others.
It seems that in the Desire Z this camera is able to record 720p video.
I think this is determined by the firmware loaded for the camera, and the app itself.
I'd like to know if it's possible to port change the original ChaCha camera related modules and firmware from the Desire Z ones, so the camera can get taht 720p video shooting.
Also, I'm searching for a way to disable the auto light metering so a manual can be set. There are many 'better camera' apps in the market but they all seem to improve the original camera app itself, instead of getting the most of the actual camera sensor.
Thanks all.

Feature Request - Clearmotion ( Video Interpoler) Effect

Hey Every One ,
Did anybody heard about Clearmotion , trumotion aka Soap Opera Effect, Its used on watching videos on HDtv and some of Mediatek Chipset mobiles. Basically Its a adding of duplicate frames before and the frame after Of Video . By creating these frames, motion blur is reduced With 30fps and 60fps content. This is awesome experince for Music sports Movie lovers , Most of people doesn't know about it. Some of tv like sony , Toshiba ,lg has this technology , For mobiles only Mediatek Chipset only having this technology . For more info just google it .
here i am put a link please of it ,please watch this
For non mediatek chipset phones if anybody bring this, it would be good
Yup, tried this with my previous phone with a MediaTek MT6592 processor. The performance is OK with 720p H.264 files using HW decoder but audio and video are out of sync with 1080p files. Maybe the processor is not powerful enough or maybe MediaTek's frame interpolation algorithm is not yet that refined.
Anyway, would love to see this implemented in MX Player. I know this is a complex process but still there's no harm in hoping that it will be implemented in the future.
MediaTek's initiative of incorporating motion (or frame) interpolation into their processors is a step in the right direction. But I doubt other processor makers would do the same.
Sent from my SM-N9208 using Tapatalk

XZP Camera Mod

Hello,
I'm with locked bootloader and I need some help from rooted and experienced devs:
1. What are the files responsible for camera operations in such a way that we can mod the camera functionality? Please upload them!
I assume camera apk, mediadevices xml and also the Qualcomm libraryes and maybe other unknown files.
2. Please name some tools to edit those files. Hexa or binary.
I really think Sony and Qualcomm are hiding nice stuff from us like qhd 60fps, poor bitrate, 1080p 960fps or even more.
Inerent said:
Hello,
I'm with locked bootloader and I need some help from rooted and experienced devs:
1. What are the files responsible for camera operations in such a way that we can mod the camera functionality? Please upload them!
I assume camera apk, mediadevices xml and also the Qualcomm libraryes and maybe other unknown files.
2. Please name some tools to edit those files. Hexa or binary.
I really think Sony and Qualcomm are hiding nice stuff from us like qhd 60fps, poor bitrate, 1080p 960fps or even more.
Click to expand...
Click to collapse
I think a good start would be to dump the standard camera app and check its dependencies and the private api usage.
Inerent said:
I really think Sony and Qualcomm are hiding nice stuff from us like qhd 60fps, poor bitrate, 1080p 960fps or even more.
Click to expand...
Click to collapse
Yes, inside the phone . Or are you planning on modding actual hardware via software? lol.

Achieve best camera/video quality/fps discussion

Hello all, I have been trying multiple different avenues to achieve the best quality video or raw video streams and would like to share what I have found and open up a discussion for anything that could lead to kernel/magisk/isp pipeline mods that could benefit us all. Here are some apps and resources that I have found to be the best. The max encoding bitrate that I can achieve with avc/hevc is around 160mbps regardless.
Ultracorder
Very good video app, can change api in app settings, paid app, but you can find mod version easily.
FreedCam
Superb advanced settings, alot of features and tweaks, everyone should have this cam. Bayer and dng capabilities
GitHub - KillerInk/FreeDcam: FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs - GitHub - KillerInk/FreeDcam: FreeDcam is a CameraApp for Android >4.0(ics) wich t...
github.com
Newest GCAM can give 100mbps video bitrate but I prefer other apps due to lack of settings but good for the average user
Raw video and camera capture, still in testing phase but works ridiculously good, this is one of my favorite apps, and has alot more potential
GitHub - mirsadm/motioncam: Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photography to combine multiple images to reduce noise.
Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photography to combine multiple images to reduce noise. - GitH...
github.com
Some questions I have are that would increasing frame buffer allow for higher video Bitstream bandwidth?
Also why or how is Qualcomm Spectra 380 shutter lag limited to 30hz and could this possibly be modified?
Could the Video Front End pixel clock or other settings be modified to achieve better quality?
Would gstreamer be good for something like this? Hence these links..
Introduction to GStreamer and TurboX C610 Camera Features
TurboX C610 board runs GStreamer and supports plugins for processing audio, video and other data streams.
developer.qualcomm.com
GStreamer video plugin
On the TurboX C610 development board, use the qtiqmmfsrc plugin to configure video streaming pipelines.
developer.qualcomm.com
Video Decode
developer.qualcomm.com
Here is a link for snapdragon 845, not for sure if it works the same..
MIPI-CSI Camera Solutions on Qualcomm Snapdragon Platforms
The Snapdragon camera sub-system enables these rich features for Mobile Industry Processor Interface -Camera Serial Interface-2 (MIPI-CSI-2).
www.inforcecomputing.com
If anyone has any suggestions or info I appreciate it and thank you

Categories

Resources