View Single Post
  #1 (permalink)  
Old 09-12-2010, 02:39 AM
CobliClan's Avatar
CobliClan
Lurker
Offline
 
Join Date: Sep 2010
Posts: 2
Reputation: 25
CobliClan is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
640x480 recording resolution for H.264

Hi, I'm new to this thread. (I signed up after researching how to "ungrey" the notification option that lets you choose how long you want the LED to flash after receiving messages.)

So, maybe what I'm about to write isn't a big deal (or someone might have already mentioned it), but I'm just going to mention it anyway for anyone who wants to know. As anyone who has been through all the video camera settings knows: 640x480 can only be captured with the format MPEG4. But after learning from all the posts that more camera options could be unlocked, I also discovered that you can change the registry to fool the camera to record...say...H.264 format with that same 640x480 resolution instead of 352x288, which is the highest setting for H.264 in the options.

Using a registry editor of course, check out:
"HKEY_LOCAL_MACHINE/SOFTWARE/HTC/Camera/P2"

The key "CaptureFormat" with a value of 16 is MPEG4. A value of 8192 is H.264.

The key "MainCamCaptSize" with a value of 4096 is 640x480. A value of 32 is 352x288 (the highest the H.264 resolution settings can go).

Simply edit each of the two keys to the respective values and you'll have H.264 recording at 640x480 (which you can't get through settings):

"CaptureFormat" = 8192
"MainCamCaptSize" = 4096

There's one catch though, if you ever enter into the settings in Video mode, your resolution will automatically change back to 352x288, and you'll have to edit the registry again to get back to 640x480. Otherwise, if you don't enter into the settings and just shoot video after changing the registry as afore mentioned, you'll have H.264 video in 640x480. I verified my results by opening each video file with MediaInfo.

Again, maybe not a big deal, but I was thinking that if anyone knows what 720p would be, that setting might be changed to see if 720p resolution could be spit out...worth a shot.

CobliClan
Reply With Quote
This post has been thanked 5 times.