• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Higher Quality Video Recording

meekrab

Android Enthusiast
I did not see any other open threads on this; there is a very simple system edit you can perform to record video @ 8 mbps, up from the default 3 mbps. This is from a reliable source. Works very well. Root access is required and, of course, be sure to backup everything before you try anything.

The Droid compresses recorded videos (which results in blurriness and some blocking), so today I started poking around the system files and found this line in build.prop:

spacer.gif
spacer.gif
spacer.gif
spacer.gif
Code:
ro.media.enc.hprof.vid.bps=3000000
spacer.gif
spacer.gif
spacer.gif
spacer.gif



Which basically means video is compressed at a fixed rate of 3Mbps. I didn't think it would work, but I went ahead and changed the value to 8Mbps:

spacer.gif
spacer.gif
spacer.gif
spacer.gif
Code:
ro.media.enc.hprof.vid.bps=8000000
spacer.gif
spacer.gif
spacer.gif
spacer.gif



Rebooted and shot a test video. Lo and behold, the video is now recorded at 8mbps, resulting in a MUCH crisper image!
icon_e_biggrin.gif


To apply the fix, you need root access. Simply edit that line in your /system/build.prop file. You can pull the file from adb, edit it, and push it back, or mount the /system partition as read-write and edit the file with Astro.

Edit: For the more adventurous users, here's another tip: I've been tinkering with the rest of the video settings in build.prop and comparing the resulting videos. So far, the best setting I have found is actually using MPEG-4 SP instead of H.264, 8 Mbps bitrate, and 30 frames per second. The phone chokes at 30 fps in H.264 mode, but does a pretty good job with MPEG-4 SP, and at that bitrate, the image quality is still very good regardless of the codec. The pertinent settings are "ro.media.enc.hprof.codec.vid" for the codec ("h264" for H.264 and "m4v" for MPEG-4 SP) and "ro.media.enc.hprof.vid.fps" (you can choose anything from 1 to 30)
 
You can do this from the phone, if you know how to mount the system path as read/write, you can edit the file with astro in a snap. This is how I did it, worked well.
 
Me and my brother both have win 7, and as of today, two freshly rooted droids :D adb works just fine.
 
I'll bet the Droid has the same "innards" as the new Motorola Motoroi coming out soon for Tmobile. EXACT specs and processor as Droid, but shoots HD video.


Meekrab, could you post a sample clip of the upgraded recording ability??
 
Wow, every day is another christmas around here lately. :D Maybe tomorrow santa will bring me a how-to on getting the LED to work with the camcorder.
 
Wow, every day is another christmas around here lately. :D Maybe tomorrow santa will bring me a how-to on getting the LED to work with the camcorder.

Definately!!!!!!!!!

Droid is not a "what you see is what you get" phone.

Droid is "what you see is just the beginning" phone!!!!

Merry Christmas, again! :p

Can't wait to see what Santa brings tomorrow!
 
Definately!!!!!!!!!

Droid is not a "what you see is what you get" phone.

Droid is "what you see is just the beginning" phone!!!!

Merry Christmas, again! :p

Can't wait to see what Santa brings tomorrow!

Yeah, I think that is the whole point of open source-based anything. It gives developers and brave explorers plenty of room to see what really is possible. I've seen a lot of people come up with ideas that weren't thought of by designers at the factories and wherever.
 
I'll get a sample video posted after work when I get some time.

This hack, along with the HQ YouTube watching hack is included in the Bugless Beauty ROM FWIW.
** LINK REMOVED **]

Thanks, good to know. I'm happy with my current rom but I'm sure this is a favorable alternative for some.

Yeah, I think that is the whole point of open source-based anything. It gives developers and brave explorers plenty of room to see what really is possible. I've seen a lot of people come up with ideas that weren't thought of by designers at the factories and wherever.

It's remarkable how so much cooperative imagination has been unleashed on this device, and android in general. I wish I could contribute more myself, but I'm thrilled to be able to reap the benefits of using such a platform.
 
if you are able to change the video recording quality, i'm assuming you able to change image capturing quality as well?
 
This hack, along with the HQ YouTube watching hack is included in the Bugless Beauty ROM FWIW.
** LINK REMOVED **

Are you sure, I know it says that, but I checked my build.prop with 8.3 and it only showed 5Mbps. I easily changed it back to 8 though, I just found it odd that he would settle on 5Mbps for some reason.
 
Well here is the video right click save as it's 34megs for 40 seconds. Compare that to 1 meg for 40 seconds of video at the standard resolution! It doens't look ALL that great, but let's wait for others to reply with their samples.
 
I can't play it at work, but will when I get home... in your eyes, is it still better than the original settings? Thanks for posting it!
 
I don't get how you're able to edit the settings. I'm mounting as R/W in Root Explorer, long-pressing the file, and I open it up in text mode, but I can't edit.

How are you getting into the edit mode??
 
Can anyone further explain how to modify the file in adb (code step by step)? That would be very helpful, thanks! My phone is rooted.
 
I installed Root Explorer to change the permission on the build file, then use Astro to changed it to 8mbps and when I click stop recording is crashes the Camera app then crash the Gallery and then I have to reboot. So im guessing that way dosnt work right, or is it just me?
 
Back
Top Bottom