• 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
Nov 2, 2009
307
9
RTP
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)
 
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!
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones