Does anyone know what the sample rate for recording touch events is on a typical Android device? If I record where someone has moved their finger, what would be the highest speed I could expect to get the (x,y) position coordinates?
What are the factors limiting this speed?
How to change the rate?
Related
I have been trying to get the most out of the camera of my HTC Desire S in terms of video quality, and now I am able to record 720p [email protected] Mbps. The vanilla camera app(rooted stock 2.3.5 ROM) records [email protected], so it is nice improvement.
I am using an app called IgCamera, it has lots of options for customization(bitrate, frame rate, codec, etc.), and I have modified the /system/etc/media_profiles.xml to increase the H264 encoder bitrate cap. It was set to 8Mbps in vanilla, I bumped it up to 24Mbps, but I have found out, that the maximum bitrate the phone can handle is 12 Mbps, any higher and the camera app freezes, and the camera cannot be used until reboot.
Now, I am looking for a way to force a constant 30 FPS. Currently, the videos are recorded with variable frame rate, and VFR is nasty for any kind of video editing. I have tried setting both the minimum and maximum frame rates in media_profiles.xml, in the encoder caps section(it seems to be the only one that affects IgCamera in any manner), but I am still getting a variable frame rate video.
Has anyone done something similar? I would appreciate any information on making a phone record CFR.
I am considering making a proof-of-concept using my smartphone sensors but before I crack open the Android IDE I want to ask if this is even possible:
- Can I acquire 9 sensor readings (acceleration, rotation, compass) with reasonable precision (8-bit) and stream above 30 Hz over Bluetooth with under 10 mS lag? The above numbers are not exact requirements, and higher is better. Ideally I would probably shoot for 60 Hz and 5 mS lag and 16-bit resolution, although I'm fairly confident the sensors don't have that level of precision.
- I have a Note 4, if it matters.
-This is not for distribution or even for another device. It is only a (hopefully) quick proxy for the hardware I eventually plan to build so that I can focus on other design tasks.
thanks
I hope poco adds a feature to turn off dynamic refresh rate. Coz it affects the fps of the games. Like literally affects the performance that is not compatible with dynamic refresh rate. Even if you set it to 60hz it throttle sometimes to 30. Which maybe the culprit in playing games like call of duty mobile. I hope the devz will read this anyhow. Thank you
I seem to have a hard time finding a thorough guide/wiki/tutorial/FAQ that goes through and can explain all the different camera and video recording settings.
Like what is video stabilization and when is it best to use a resolution/frame rate that allows for it? When would you want to use 1080p 120fps, especially in light of it then not allowing certain other features to be used? When best to ensure to use a resolution/fps setting that allows tracking auto-focus to be on? When would you want to be able to use the HDR10+ feature at the expense of being limited to a lower frame rate? Is 8K video recording really even practical and for what? Etc.
I personally tend to keep my video recording to 1080p 60fps because I much more prefer the smooth motion when recording regular home/family video moments, but then I'm sure there's circumstances that'd I'd be better off at a lower frame rate and then being allowed to have some other useful feature on.
Why do gaming android rom dont have option to reduce resolution without creating visual bug ? i mean that is the super obvious way to increase fps
The FPS that can get achieved at maximum depends on device's SoC capabilities and also on device's Screen Refresh rate. Lowering the Screen Resolution doesn't increase FPS, it simply scales down the number of pixels what must get calculated