• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Solution 4 unlimited video record on android record over 4gb and no time restricted

Search This thread

zindu

Member
Oct 15, 2013
18
1
Hi All,

i found solution for unlimited recording on android device, it has pros and cons so hopefully some programmer will come and modify the buildin camera apk.

here are solutions they are working perfects but the problem is the quality is no where close to the buildin cam apk.

1. lgCamera

2. Snap Camera HDR

3. moto x camera apk its free and in my opinion its quality better than the other 2.


so the problem of limited recording is not due to format fat32, because htc on buildin cam apk record 30 minutes and stops and its size is 4gb, but i have tried lgcamera was recording over an hours and its size was 5.7gb.

i do not keep it long, i hope some programmer modify htc one cam apk to record unlimit or auto splitted to 30 minutes duration, also modify its zoom default to the value of 50% because htc one cam is way zoomed out.

so if any genius person modify the camera apk then it will be best solution, it just need to override the default camera apk setting when some one modifying its camera apk.

some time when we have party i do not like to go and modify zoom setting and start record again every half an hour.

Thanks for any programmer who modify this and good luck with the rest for temporary solution.
 

starbase64

Senior Member
Apr 3, 2007
4,366
1,697
Hi,

snap camera records 30fps with 20mbit in low light, but the result is darker then htc stock camera.

regards

starbase64
 

homeslice976

Senior Member
Feb 25, 2010
2,912
2,068
Central Pennsylvania
I could be off here, but since you said recording stops at 30 minutes, I think I have a solution:

In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.
 

foxmeister

Senior Member
Mar 10, 2008
4,043
383
Ealing
i do not keep it long, i hope some programmer modify htc one cam apk to record unlimit or auto splitted to 30 minutes duration, also modify its zoom default to the value of 50% because htc one cam is way zoomed out.

You do realise that routinely changing the zoom is a terrible idea on the One?

It's a digital zoom, not an optical one, so all you are doing by zooming in is losing pixels - this is fine if you are shooting something and wish to zoom in for effect, but as a general rule if you want to get the best quality out of the camera, you should leave zoom well alone. This is especially true of the One as it doesn't have that many pixels to play with in the first place.

See here for more info - http://www.tfpsoft.com/fun/digitalcameraguide/digitalversusopticalzoom.html

Regards,

Dave
 
  • Like
Reactions: asgardr and zindu

zindu

Member
Oct 15, 2013
18
1
unlimited video recording android

In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.[/QUOTE]

hello homeslice976

Thank you very much for the information you have provided. i have uploaded 2 screen shots of the xml file you have stated and also uploaded 2 xml file which are original xml file on my htc device, but i think the device must be rooted to replace those xml files? am i wrong?

if i need to root my device then i will try to do it later today as my connection is very slow right now.

Regards,
zindu
 

Attachments

  • Screenshot_2013-10-16-13-12-56.jpg
    Screenshot_2013-10-16-13-12-56.jpg
    62.6 KB · Views: 1,479
  • Screenshot_2013-10-16-13-15-55.jpg
    Screenshot_2013-10-16-13-15-55.jpg
    43.3 KB · Views: 1,422
  • xmlfile.rar
    3.6 KB · Views: 85

zindu

Member
Oct 15, 2013
18
1
unlimited video recording htc one

It's a digital zoom, not an optical one, so all you are doing by zooming in is losing pixels - this is fine if you are shooting something and wish to zoom in for effect, but as a general rule if you want to get the best quality out of the camera, you should leave zoom well alone. This is especially true of the One as it doesn't have that many pixels to play with in the first place.


Regards,

Dave[/QUOTE]

Thank you Dave,

i will test to video one with zoomin at let say 40% and other will let zoom alone but i will crop the video to equivalent of 40% zoomin video, i will compare the 2 side by side and will report back the result.


Regards,
Zindu
 

homeslice976

Senior Member
Feb 25, 2010
2,912
2,068
Central Pennsylvania
In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.

hello homeslice976

Thank you very much for the information you have provided. i have uploaded 2 screen shots of the xml file you have stated and also uploaded 2 xml file which are original xml file on my htc device, but i think the device must be rooted to replace those xml files? am i wrong?

if i need to root my device then i will try to do it later today as my connection is very slow right now.

Regards,
zindu[/QUOTE]

yes you'll need to be rooted. you don't need to do anything with media_codecs.xml. Just media_profiles.xml.
 
  • Like
Reactions: zindu

zindu

Member
Oct 15, 2013
18
1
unlimited video recording android

yes you'll need to be rooted. you don't need to do anything with media_codecs.xml. Just media_profiles.xml.[/QUOTE]

Thank you, i will try to rooted later on today and report back if i succeed.

regards,
zindu
 

zindu

Member
Oct 15, 2013
18
1
zoomin htc one

hello Dave,

i have tested the video, i captured 2 video phone was at stable position, one without touching zoom and the other shoot was zoomed about 60%
then i cropped the one with 0 zoom to the same frame as the one with 60% zoom.

the result is as follows:
after cropping the video file from 1920 x 1080 became 775 x 425 well if i keep this size the file remain same quality but when i cropped back to
1920 x 1080 the quality is blury and no where near the original or the video was shooted with 60% zoomin.

so i believe the zoomin in htc one does not effect its quality as long as you are not zoomed extreme.

when you crop video and resized you will lose quality the same as zoomin, but all camcorders allow certain zoom without affecting quality, so i believe htc one zoomin is the same, but some video camera have advanced zoomin to go beyond limited for instance 72x advanced zoomin and the normal zoomin is 20x, so if you go beyond 20 you still zoomin further but you will lose quality and shaky footage.so the safe is to stay with 20x range.

all edited with after effects and even i did not export the out put, but after editing them compared them side by side, it is like day and night the quality differences between the 2 videos.

thank you though for information, i will try first to root my device and see if i can go beyond the limited recording.
 

zindu

Member
Oct 15, 2013
18
1
I could be off here, but since you said recording stops at 30 minutes, I think I have a solution:

In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.

hello again

i have changed those number to 60
i started from
<!ATTLIST EncoderProfile duration (60|60) #REQUIRED>
and each
<EncoderProfile quality="cif" fileFormat="mp4" duration="60">
so as you see all are in 60 minutes but no luck sofar i tried twice
1st record 25:39
2nd attempt records 26:04
both size are 3.79 gb in size

now i started recording again to see what is the the outcome if it is the same then i have to try to changed back to 30 at least its 30minutes, so i think it is the size limit thing

update: it is size limit issue, i checked again it says video size limit is reached.

i think it is be useful if some one try to write a code to state when ever the video reach limited time then start again automatically.

but thanks for the advice, i will let you know if i come with better solution..
thank you.

regards,
zindu
 
Last edited:

zindu

Member
Oct 15, 2013
18
1
the problem is there are many know how to solved but they do not shared with us.
only who does not know and they spread a word over the net and same crap like, it is due to format type, let me tell you i have solved mine on htc one no problem what so ever until i stopped manually.

i am not a programmer but currently when i have time i try to learn java then i will after that develop simple app and progressing from there and will help the community but that take up to 1 to 2 years.

any way how i solved mine? i do not know my self but i did 2 things will shared with all of you.

1. i rooted my htc one device, there is plenty guide on this forum.
2. i decompile my camera apk and i change a picture and i can not remember if i mess little with codes or not but i doubt i did, so i deleted the original camera apk and replaced with my modification.

i will be glad to share my camera apk with you if you think it might be due to this modifications, i tell you what? i never update the system software now, because i am afraid i will lose the unlimited recording, so it works for me but i do not know how, but in future when i understand java programming i will help every one in this community.
 

m__singh

New member
Mar 18, 2014
4
1
the problem is there are many know how to solved but they do not shared with us.
only who does not know and they spread a word over the net and same crap like, it is due to format type, let me tell you i have solved mine on htc one no problem what so ever until i stopped manually.

i am not a programmer but currently when i have time i try to learn java then i will after that develop simple app and progressing from there and will help the community but that take up to 1 to 2 years.

any way how i solved mine? i do not know my self but i did 2 things will shared with all of you.

1. i rooted my htc one device, there is plenty guide on this forum.
2. i decompile my camera apk and i change a picture and i can not remember if i mess little with codes or not but i doubt i did, so i deleted the original camera apk and replaced with my modification.

i will be glad to share my camera apk with you if you think it might be due to this modifications, i tell you what? i never update the system software now, because i am afraid i will lose the unlimited recording, so it works for me but i do not know how, but in future when i understand java programming i will help every one in this community.

Zindu, thank you so much for sharing.

I emailed Google about this here is the response I got:

"Thank you for contacting Google. I appreciate your patience with me as I look into this issue. It seems as though the limit placed on the video data file of 2gb is written into the android operating system. This is in effect on all types of android devices.
I have researched a few video control apps, they follow the same rule and stop at 1.9-2gb. At this time I do not believe there is a work around for this issue. I do not have software update information available either. Some of the research I have done points to a possible legislative law that limits the video recording time of mobile devices as it takes away from video recorders."
 

zindu

Member
Oct 15, 2013
18
1
pal first thing you do undock the cam apk from the bar dock on your phone, see if it is working, what i mean by the dock is the bar on your phone on the bottom which have space for 4 or 5 applications, so undock cam apk from this dock and used on the main windows view.

if that does not work root ur phone and undock cam apk from dock bar.

if both does not work then if you have htc one i will upload my cam apk so you can install it on urs.

mine was limited to 4gb now its unlimited in size and durations, a programmer can develop application to over ride the camera system settings, so if i learn java in future my first apk will be try to over ride system setting.
 

m__singh

New member
Mar 18, 2014
4
1
pal first thing you do undock the cam apk from the bar dock on your phone, see if it is working, what i mean by the dock is the bar on your phone on the bottom which have space for 4 or 5 applications, so undock cam apk from this dock and used on the main windows view.

if that does not work root ur phone and undock cam apk from dock bar.

if both does not work then if you have htc one i will upload my cam apk so you can install it on urs.

mine was limited to 4gb now its unlimited in size and durations, a programmer can develop application to over ride the camera system settings, so if i learn java in future my first apk will be try to over ride system setting.

I have a Nexus 5. My camera app is not docked. What should I do next?
 

zindu

Member
Oct 15, 2013
18
1
if its not docked then rooted anyway see if it works?

what i did i undocked, rooted, modified a pick and some codes in xml file, and it works for me so i do not know which step caused the fix, but you need to root your device if you want to replace system application on your phone.

try to root your device first and try to modify xml file see if it works, if it was htc one i could help because i can upload xml and apk file.

that is all i know for now hope someone who have better knowledges to help you out but i hope i learn java within a year or too then i be able to fix this issue.
 

joint.striker

Member
Dec 23, 2013
26
6
Zindu, thank you so much for sharing.

I emailed Google about this here is the response I got:

"Thank you for contacting Google. I appreciate your patience with me as I look into this issue. It seems as though the limit placed on the video data file of 2gb is written into the android operating system. This is in effect on all types of android devices.
I have researched a few video control apps, they follow the same rule and stop at 1.9-2gb. At this time I do not believe there is a work around for this issue. I do not have software update information available either. Some of the research I have done points to a possible legislative law that limits the video recording time of mobile devices as it takes away from video recorders."

So far this has been the most insightful information. Still, no idea how to overcome something this stupid.
 

m__singh

New member
Mar 18, 2014
4
1
So far this has been the most insightful information. Still, no idea how to overcome something this stupid.

Ikr, it is pretty ridiculous. Zindu is right though, it's simple enough but the people who can figure it out don't care. Most people just don't seem to need their phone for our purpose.

My workaround has been SVR Pro:
-Upsides -It will record in fragments until your storage is full.
-You can use your device while recording
-You can record with the screen turned off !! which is epic for battery life!

-Downside -you loose like a second of video between the fragments

Link: play.google.com/store/apps/details?id=com.zeronoiseapps.secretvideorecorderpro
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    i do not keep it long, i hope some programmer modify htc one cam apk to record unlimit or auto splitted to 30 minutes duration, also modify its zoom default to the value of 50% because htc one cam is way zoomed out.

    You do realise that routinely changing the zoom is a terrible idea on the One?

    It's a digital zoom, not an optical one, so all you are doing by zooming in is losing pixels - this is fine if you are shooting something and wish to zoom in for effect, but as a general rule if you want to get the best quality out of the camera, you should leave zoom well alone. This is especially true of the One as it doesn't have that many pixels to play with in the first place.

    See here for more info - http://www.tfpsoft.com/fun/digitalcameraguide/digitalversusopticalzoom.html

    Regards,

    Dave
    1
    In /system/etc/media_profiles.xml, there is a "duration=" setting for each encoder profile. This can be set to either 30 or 60, and currently all profiles except qvga are set to 30. You may be able to set this to 60 and be able to record up to 60 minutes. Report back.

    hello homeslice976

    Thank you very much for the information you have provided. i have uploaded 2 screen shots of the xml file you have stated and also uploaded 2 xml file which are original xml file on my htc device, but i think the device must be rooted to replace those xml files? am i wrong?

    if i need to root my device then i will try to do it later today as my connection is very slow right now.

    Regards,
    zindu[/QUOTE]

    yes you'll need to be rooted. you don't need to do anything with media_codecs.xml. Just media_profiles.xml.
    1
    Open Camera can do it

    Open Camera is available on Google play and can automatically split the file as you record. It is still limited by the Kitkat no access to external sd problem, but that can be worked around.
    After recording, you glue all the sections together with Avidemux. Simple!