Alright don't chew my arse if I am not right, but I think I just might be...
Gspot image attached of a 10sec. sample video using the below settings and attached media_profiles.xml
What I have done is edited the build.prop with a new property using Prop Editor:
Code:
ro.media.camcorder.1080p=mp4,h264,60,24000000,aac,128000,44100,2
So property is:
Code:
ro.media.camcorder.1080p
Value:
Code:
mp4,h264,60,24000000,aac,128000,44100,2
I also made changes to the Media_profiles.xml file and have attached that file in zip format.
To install:
Unzip the file
using root explorer go to /System/etc
Rename media_profiles.xml to media_profiles.xml.bak
copy the new media_profiles.xml file to /System/etc
Change permissions to rw-r--r--
Reboot
Open up the camcorder
Goto Settings 1080P Shows HD+ on the screen when recording..
enjoy 1080P video recording...
FYI.. In 720p mode the same 10sec video had a file size of 14MB
In 1080 mode same subject matter video 10 sec. with a file size of 21MB.
Another build.prop edit:
ro.camcorder.videoModes=true
Default is false
This enables Video mode, which includes Video message, Normal, Slow motion, and Fast motion.
Hope this helps!!
The BIG question is, why do you want 1080P recordings? The optics can not really even support 720P and 1080P will not make it look better, probably even worse and the file will be twice as big. Playback of 1080P I can understand.
Just my 0.02
Cheers
nice post, but is the 1080p recording still only 24fps?
Also, to solve the spacing problem in the post, put the lines inside the Code tags
Code:
ro.media.camcorder.1080p=mp4,h264,60,24000000,aac,128000,44100,2
pederb said:
The BIG question is, why do you want 1080P recordings? The optics can not really even support 720P and 1080P will not make it look better, probably even worse and the file will be twice as big. Playback of 1080P I can understand.
Just my 0.02
Cheers
Click to expand...
Click to collapse
Being able to extract any frame and have it 2mp is pretty cool to me. It the highest resolution, if you're playing it on a nice full HD screen, it will fill every pixel. It does look better in 1080p
andy2na said:
nice post, but is the 1080p recording still only 24fps?
Also, to solve the spacing problem in the post, put the lines inside the Code tags
Code:
ro.media.camcorder.1080p=mp4,h264,60,24000000,aac,128000,44100,2
Click to expand...
Click to collapse
I'm actually glad that it's 24fps. If you think, any professional movie on a dvd only plays 24fps. When it gets up to 30fps, it plays faster and looks more like a home video, so I like the 24fps look better.
Thanks for this will try it out tonight!
Sent from my MB860 using XDA Premium App
Not work on Stock rom! At least for me...
It looks better but our software is not optimized to record 1080p yet. So videos are slightly choppy.
Sent from my MB860 using XDA Premium App
Works great on CherryBlur!
Still a little choppy during recording, but the output file is definitely 1080p at 24fps.
Playback is very smooth.
Nice find on the xml file.
Doesn't work for me too!!!
p.s. atrix has far more optics than just 2.5 mpx (1080p)
agurzhiy said:
Doesn't work for me too!!!
p.s. atrix has far more optics than just 2.5 mpx (1080p)
Click to expand...
Click to collapse
same as me
A agurzhiy and yusmiza... Did you change the permissions of the media_profiles.xml to rw-r--r-- and reboot after copying the file over and making the changes in the build prop?
does the front camera work? noticed in you xml you put the high setting for the front cam at 720P
Seems to work for me. At least 720 and 1080 the file sizes were different anyway (for the same time frame) Nothing to really test it on here at work.
edit: When taking pictures the 720 and 1080 file sizes are different also...though both say 3.8 mp still
i just edited myself!
Please tell me the version of your FW and is it a stock camera?
p.s. i do not care 1080, i need SloMo, but my buildProp has on default ro.camcorder.videoModes=true
Default was true for me
running Ken's GB beta 4 and yes stock camera
i'll try to copy your file. I found slomo and fastmo
but both of them, while playing are just usual video. Nothing faster, nothing slower, despite the fact that camera on slomo each second counts as 3 seconds (so it shows after 3 seconds that 9 seconds were recorded)
y2... Thanks for catching that!! I didn't realize I didn't put the front camera setting back to norm.. My front Camera doesn't work due to a swimming pool incident with my Atrix, but it will usually come up with a black screen.. now I get a FC.. I will make the appropriate changes and update the file.. Let me know if the new file lets the front cam work on yours...
agurzhiy said:
Doesn't work for me too!!!
p.s. atrix has far more optics than just 2.5 mpx (1080p)
Click to expand...
Click to collapse
the optics don't matter, it's the sensor. the sensor is also not able to capture constant data at the full 5 MP (video); it can take pictures at that level but it can't handle video at that level. that's why whenever you record a video on you digital camera, it's at a much smaller resolution, or why when you do burst-mode on some cameras, the maximum size is smaller than the regular MP rating.
agurzhiy said:
i'll try to copy your file. I found slomo and fastmo
but both of them, while playing are just usual video. Nothing faster, nothing slower, despite the fact that camera on slomo each second counts as 3 seconds (so it shows after 3 seconds that 9 seconds were recorded)
Click to expand...
Click to collapse
ag.. Mine records like you said counts as 3, but will play back slow. I do have the app HERE loaded as well...
Ive noticed that the Ones camera app doesnt have a resolution lower than 1280*720 (720p) but I need to go as low as 320*240 for files size reasons. I often send video clips through whatsapp and the file size limit for transfers on there is 12mb but a scant 10 seconds of 720p is over 15. Ive had a searched around for an alternative camera and also a converter app but havent had any luck.
Can anyone recommend a good camera or converter app that will get me as low as 320*240 resolution?
Thanks
I used to use lgcamera from the market on my Sensation. Bunch of different resolutions to choose from.
Sent from my HTC One using Tapatalk 2
Thanks gustav, that app is perfect! It has tons of settings and adjustments for pics and vids.
Hi all!
I am developing an app and need to record video with stable FPS.
My app records a video and a text file while the user presses a button to go through a list of items. The app records in the text file the time of the presses of the button, in order for me to split the video based on these recorded times.
The time recorded comes from a System.UptimeMillis() - varInitialTime each time the button is pressed.
I am using MediaRecorder and have tried recording with many different configs, like using Timelapse profile, disabling sound, setting framerate option on media recorder and others. The Timelapse profile should record with fixed fps, and yet it recorded with variable fps.
I tried also using JavaCV for android, but looks like the E1 can't handle it, as it lagged hard in the few times it opened.
I searched the XDA forums and other android resources on the net to no avail.
So, is it possible to force the MediaRecorder (or similar) to record with a stable fps? Are there any workarounds for this problem?
Ok, so I've had my Mi8 for over a year now and I love this phone very much.
I still think its camera is one of the best out there and I've been thinking about using its slow motion video recording for some scientific projects, but here's the catch: I'd like to use it's 1080p 240 FPS footage, though interpolated through my desktop PC, which has a decent amount of powerful hardware (Ryzen 5 2600, 16Gb, GTX970), to 480 or 960 FPS. I don't really like the effect that the phone's interpolated 960 FPS has and I'd also like to record more than a few seconds maybe one or two minutes which in 240 FPS is possible.
Well, every time I try to open the video file in an editor I get an error saying that the video is incompatible or corrupt (I've tried this in both smartphone apps and PC: Kinemaster and Premiere, although only the latter can interpolate). But in every case I could open the video in the phone and in the PCs video playback software (VLC and MPC) normally. So I was wondering if it'd be possible to convert the file to a compatible format for interpolation. In this case, I think the conversion NEEDS to maintain the framerates. Correct me if I'm wrong though, I've never tried this before and have no prior experience with these softwares (video conversion, editing, etc.).