[CAMERA] Android Video Recording Limit (10 Minutes) - Android Software/Hacking General [Developers Only]

The camera2.apk has a recording limit of 10 minutes, not depending
on file sizes.
So I have decompiled camera2.apk from Paranoid Android 4.5 Beta 4
(Android KitKat), but I just can't find the file/line (in those hundreds of
files) which says to stop video recording after 10 minutes/600 seconds.
But I want to raise it to 30 or 60 minutes. Does anyone know where to
find the recording limitation line?
Thank you.
PS Of course, if I manage to alter the limitation I will offer the compiled
version to download for everybody.

Also looking for this. Trying to remove the 10 minutes 4K and 5 minutes 4K60 limits on the OnePlus 7 Pro. Kinda crazy that this vestigial limit is still here 5 years later.

I never found a solution for that issue. This is crazy ...

Related

[Q] Force low FPS to make time-lapse videos

Hi!
I used to be a lurker around here (only looked, never posted), but now I'm a proud noob =D
My problem is: I have a Moto Milestone, and tried to use it as a time-lapse camera for driving, but the minimum time between frames I could get was 5 seconds, and the resulting video was just bad (and any app crashed after a few frames). Ideally it should be 1-2 seconds between frames. I was wondering if there could be a way to force lower FPS on the video camera to make the low-fps video. Of course the video would be sped-up later to get the nice time-lapse effect.
Is it possible?

4k recording

I wanted to ask the owners. Just how large the 4k files are? For example how large 10min video shot in s6 is?
I am asking so that I can choose proper amount of memory when I buy.
Thanks!
It only lets you record 5 minutes at a time at resolutions above 1080. I shot a 56 second video at 4k and it is 326MB. Plus another one at night 30 seconds was 175MB.

Project Super Camera on Steriods -Note 5 Mod - Sprint S6 Edge

SOMEONE PLEASE TEST THIS AND LET ME KNOW IF IT WORKS​
Now the time has come after 3 years of fighting with the camera on the note 2, note 3 and note 4 trying to make it have unlimited recording limits (until space is full) is now POSSIBLE!
I have spent the last couple hours digging through and pinpointing the 1 thing that cuts off the 4k recording at 5 minutes and you are now able to record up to 1 hour in 4K. I may try to push it more later but this is a good start.
Instructions:
THIS IS NOT A FLASHABLE ZIP SO DO NOT FLASH THRU RECOVERY
1. Download the zip and extract the apk SamsungCamera4.apk
2. Download es file explorer and browse to system/apps/SamsungCamera4/
3. Make a backup of everything in that folder then delete everything in the folder
4. Copy over the SamsungCamera4.apk that you downloaded to system/apps/SamsungCamera4/
4a. (In V2) copy the media_profiles.xml to /system/etc and overwrite
5. set permissions to rw-r-r on the file
6. Reboot your phone
7. Once rebooted check to see if your camera works, once up look for KRM in the Camera icon to the top of the record button
8. If you see KRM then you have installed the mod successfully
If you have any questions please ask. I have recorded up to 35 minutes so far but ran out of space so please let me know if you can fully record to 1 hour. While this mod does unlock the full recording limits of 4k samsung has generously unlocked it already for 1920x1080 and below. That being said please do not use this mod for any illegal activity,
Also it will split each 4GB file into separate pieces- usually around 8 minutes-9 minutes
DOWNLOADS:
V4T(Tmobile)
CHANGELOGS:
V4
Added ability to use flashlight under 15% battery thanks to @dr.ketan
Made a version for Tmobile due to update that caused FC
Removed media_profiles.xml for now to tweak, gets rid of bitrate improvements (return to stock media_profile recommended for now)
removed button to take snapshots during 4k recording.. caused crashes
V3.2
Fixed recording while in call
Modified timers for recording so they are more accurate
Added snapshot button in UHD, Smooth motion and WHD (BUT DO NOT USE THE BUTTON IN THOSE YET)
V3.1
Fixed 4k unlimited, broke in V3. Fixed in V3.1
V3
(Thanks to @dwitherell back on the note 4 for telling me about how to do these)
Prevent audio from stopping/pausing when taking a pic or shooting video
Allow for taking video while in call
Broke 4k recording...
V2
4K bitrate turned up to 68Mbps from 48Mbps
Picture quality turned up to 100% from 96%
V1
4K can record up to a full hour
Modified recording icon​
Some interesting information... the note 5 has a 20MP camera apparently because when u take snapshots it is around 5310x4000. Also when trying to change the resolution of slo mo to anything over 1280x720 I got garbled video so thats a lost cause.
https://www.youtube.com/watch?v=gxjNGO7Nicg&feature=youtu.be
XDA:DevDB Information
Project Super Camera on Steriods, App for all devices (see above for details)
Contributors
kevinrocksman
Version Information
Status: Stable
Current Stable Version: 4
Stable Release Date: 2015-08-28
Created 2015-08-27
Last Updated 2015-08-28
kevinrocksman said:
SOMEONE PLEASE TEST THIS AND LET ME KNOW IF IT WORKS​
Now the time has come after 3 years of fighting with the camera on the note 2, note 3 and note 4 trying to make it have unlimited recording limits (until space is full) is now POSSIBLE!
I have spent the last couple hours digging through and pinpointing the 1 thing that cuts off the 4k recording at 5 minutes and you are now able to record up to 1 hour in 4K. I may try to push it more later but this is a good start.
Instructions:
THIS IS NOT A FLASHABLE ZIP SO DO NOT FLASH THRU RECOVERY
1. Download the zip and extract the apk SamsungCamera4.apk
2. Download es file explorer and browse to system/apps/SamsungCamera4/
3. Make a backup of everything in that folder then delete everything in the folder
4. Copy over the SamsungCamera4.apk that you downloaded to system/apps/SamsungCamera4/
4a. (In V2) copy the media_profiles.xml to /system/etc and overwrite
5. set permissions to rw-r-r on the file
6. Reboot your phone
7. Once rebooted check to see if your camera works, once up look for KRM in the Camera icon to the top of the record button
8. If you see KRM then you have installed the mod successfully
If you have any questions please ask. I have recorded up to 35 minutes so far but ran out of space so please let me know if you can fully record to 1 hour. While this mod does unlock the full recording limits of 4k samsung has generously unlocked it already for 1920x1080 and below. That being said please do not use this mod for any illegal activity,
Also it will split each 4GB file into separate pieces- usually around 8 minutes-9 minutes
DOWNLOADS:
V4T(Tmobile)
CHANGELOGS:
V4
Added ability to use flashlight under 15% battery thanks to @dr.ketan
Made a version for Tmobile due to update that caused FC
Removed media_profiles.xml for now to tweak, gets rid of bitrate improvements (return to stock media_profile recommended for now)
removed button to take snapshots during 4k recording.. caused crashes
V3.2
Fixed recording while in call
Modified timers for recording so they are more accurate
Added snapshot button in UHD, Smooth motion and WHD (BUT DO NOT USE THE BUTTON IN THOSE YET)
V3.1
Fixed 4k unlimited, broke in V3. Fixed in V3.1
V3
(Thanks to @dwitherell back on the note 4 for telling me about how to do these)
Prevent audio from stopping/pausing when taking a pic or shooting video
Allow for taking video while in call
Broke 4k recording...
V2
4K bitrate turned up to 68Mbps from 48Mbps
Picture quality turned up to 100% from 96%
V1
4K can record up to a full hour
Modified recording icon​
Some interesting information... the note 5 has a 20MP camera apparently because when u take snapshots it is around 5310x4000. Also when trying to change the resolution of slo mo to anything over 1280x720 I got garbled video so thats a lost cause.
https://www.youtube.com/watch?v=gxjNGO7Nicg&feature=youtu.be
XDA:DevDB Information
Project Super Camera on Steriods, App for all devices (see above for details)
Contributors
kevinrocksman
Version Information
Status: Stable
Current Stable Version: 4
Stable Release Date: 2015-08-28
Created 2015-08-27
Last Updated 2015-08-28
Click to expand...
Click to collapse
This dosent work i have a s6edge camara force closes

Project Super Camera on Steriods -Note 5 Mod - Sprint - S6 Edge

SOMEONE PLEASE TEST THIS AND LET ME KNOW IF IT WORKS!​
Now the time has come after 3 years of fighting with the camera on the note 2, note 3 and note 4 trying to make it have unlimited recording limits (until space is full) is now POSSIBLE!
I have spent the last couple hours digging through and pinpointing the 1 thing that cuts off the 4k recording at 5 minutes and you are now able to record up to 1 hour in 4K. I may try to push it more later but this is a good start.
Instructions:
THIS IS NOT A FLASHABLE ZIP SO DO NOT FLASH THRU RECOVERY
1. Download the zip and extract the apk SamsungCamera4.apk
2. Download es file explorer and browse to system/apps/SamsungCamera4/
3. Make a backup of everything in that folder then delete everything in the folder
4. Copy over the SamsungCamera4.apk that you downloaded to system/apps/SamsungCamera4/
4a. (In V2) copy the media_profiles.xml to /system/etc and overwrite
5. set permissions to rw-r-r on the file
6. Reboot your phone
7. Once rebooted check to see if your camera works, once up look for KRM in the Camera icon to the top of the record button
8. If you see KRM then you have installed the mod successfully
If you have any questions please ask. I have recorded up to 35 minutes so far but ran out of space so please let me know if you can fully record to 1 hour. While this mod does unlock the full recording limits of 4k samsung has generously unlocked it already for 1920x1080 and below. That being said please do not use this mod for any illegal activity,
Also it will split each 4GB file into separate pieces- usually around 8 minutes-9 minutes
DOWNLOADS:
V4T(Tmobile)
CHANGELOGS:
V4
Added ability to use flashlight under 15% battery thanks to @dr.ketan
Made a version for Tmobile due to update that caused FC
Removed media_profiles.xml for now to tweak, gets rid of bitrate improvements (return to stock media_profile recommended for now)
removed button to take snapshots during 4k recording.. caused crashes
V3.2
Fixed recording while in call
Modified timers for recording so they are more accurate
Added snapshot button in UHD, Smooth motion and WHD (BUT DO NOT USE THE BUTTON IN THOSE YET)
V3.1
Fixed 4k unlimited, broke in V3. Fixed in V3.1
V3
(Thanks to @dwitherell back on the note 4 for telling me about how to do these)
Prevent audio from stopping/pausing when taking a pic or shooting video
Allow for taking video while in call
Broke 4k recording...
V2
4K bitrate turned up to 68Mbps from 48Mbps
Picture quality turned up to 100% from 96%
V1
4K can record up to a full hour
Modified recording icon​
Some interesting information... the note 5 has a 20MP camera apparently because when u take snapshots it is around 5310x4000. Also when trying to change the resolution of slo mo to anything over 1280x720 I got garbled video so thats a lost cause.
https://www.youtube.com/watch?v=gxjNGO7Nicg&feature=youtu.be
XDA:DevDB Information
Project Super Camera on Steriods, App for all devices (see above for details)
Contributors
kevinrocksman
Version Information
Status: Stable
Current Stable Version: 4
Stable Release Date: 2015-08-28
Created 2015-08-27
Last Updated 2015-08-28

Android 12 / MIUI 13 - How to switch off Adaptive FPS?

Hi there XDA Forums,
So I recently updated my Redmi K30 (Phoenix) to MIUI 13.0.1.0 (and with it to Android 12). One of the main issues I noticed is that the device will automatically adjust the FPS according to what is being displayed on the screen. By default, I have my refresh rate and FPS set to 120 for the smoothest experience I can get.
However, when I open an App like YouTube, I can scroll through the list of videos just fine, but when most videos start playing the framerate drops to 30 FPS (unless its a video that has over 30 FPS).
For a chat app like Discord, when I scroll pass a GIF I can see that my FPS goes from 120 to 30 while the GIF is visible on the screen, which is an absolutely terrible experience.
Everything about the update is seems fine, and I can see when adaptive FPS can become helpful, but I need something, at least an option for me to maintain the framerate that i want.
I have Magisk (25.1) installed and I have tried using SetEdit, and changed variables like 'min_refresh_rate', 'peak_refresh_rate' but none of these do anything. I have also tried changing the variable 'user_refresh_rate' to 1, while this was able to change the YouTube App's framerate from 60 to 120 while browsing for videos, when a 30FPS video plays the framerate once again drops to 30 again until either the video is paused or closed. I have also tried MagiskHide Props Config along with setting variables such as 'ro.vendor.dfps.enable' and 'ro.vendor.smart_dfps.enable' to false, but this one didn't work either.
I'm out of ideas, can anyone help?
I have the same problem and i want to switch if i dont have a solution... Did you find any?

Categories

Resources