Hi all,
How to set the wide format in the camcoder of MIUI?
I have add wide profil in media_profil.xml but it's don't work
I have modified in media_profil the hight profil it's don't work too
I have modified in media_profil the 720P profil it's don't work too
Anyone can tell to me a solution?
Sorry for my english
I think MiUI is not compatible with 720p recording at all, yet. Since it's based in the same kernel CM7 uses, MiUI guys can only find a definite solution when the CM7 does. By now, it's a kernel thing, the one used by these distros does not support 720p. AFAIK, some guys on CM7 dev team already made some progress on this matter (there were some nightlies with 720p rec), but nothing definite yet.
K3n H1mur4 said:
I think MiUI is not compatible with 720p recording at all, yet. Since it's based in the same kernel CM7 uses, MiUI guys can only find a definite solution when the CM7 does. By now, it's a kernel thing, the one used by these distros does not support 720p. AFAIK, some guys on CM7 dev team already made some progress on this matter (there were some nightlies with 720p rec), but nothing definite yet.
Click to expand...
Click to collapse
CM7 has 720p recording for bayer since a long time now. And since MIUI merged sources just a couple of weeks ago, there is literally no reason for it not having 720p rec.
Miui supports 720p video recording. It had the 720p lib in the package.
Sent from Motorola Defy
Hi all thanks for reply
But i don't want record in 720p but in wide format 854*480
I have a green lens ... don't made for 720P
Maybe creat a wide libs???
But how can make it?
Funny, my CM7.1 already records in wide...i also got the green lens
There is a thread on xda, 720p for froyo...look into it...it will tell u how to get wide cam for green lens
Related
This is a cross post from my mau5 ROM thread, but I think other people might enjoy it too.
I've put together an update.zip that allows for 480x320 recording via camcorder. Currently, our device only allows 352x288(high quality), this simple hack just allows a greater resolution and I think a clearer picture IMO.
I've set 352x288 as the default "low" quality and 480x320 as the default "high" res recording so that you do have a choice whenever you want. I've also changed the file format to mp4 instead of 3gp since well.. no one uses 3gp for anything.
There are few drawbacks though. 480x320 is the last somewhat "stable" res where the OMX core won't **** bricks all over the place so be weary of any force closes. Also, gralloc likes to crap out when switching resolutions on the fly along with being unable to view the 480x320 video in the gallery app (since we have such bad gfx power).
I do plan on making this STABLE at one point, but it'll require kanging some memory for gralloc to use while changing resolution.
You can check for yourself on the differences with a 352x288 recording and a 480x320 recording
(low light vs direct light)
You can see an example of a video I shot last night at a xmas party HERE to see 480x320 when it comes to more 'motion' recording. (Warning: White people dancing)
Download the 480x320 update.zip here:
Download
Awesome. I remember darchstar had unstable 720p in his aosp rom. Glad to know someone is still working here
Sent from my HERO200 using XDA App
brokentoaster24 said:
Awesome. I remember darchstar had unstable 720p in his aosp rom. Glad to know someone is still working here
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I've always been messing around with it. The proprietary blobs just get in the way a lot and you end up at a dead end with no resources. :/
Decad3nce said:
I've always been messing around with it. The proprietary blobs just get in the way a lot and you end up at a dead end with no resources. :/
Click to expand...
Click to collapse
When are you due for an upgrade? I'm trying to follow the hero devs so I know what to get next
Sent from my HERO200 using XDA App
Works great. You said we're unable to watch videos in Gallery, but I can view them. I just shot a test 480x320 video.
Does this work with Aosp rom
Sent from my HERO200 using XDA App
raymond4 said:
Does this work with Aosp rom
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Not sure. Nandroid and find out
Why is the video quality in the CM/AOSP ROMS so bad? I know you said the 480x320 is better, but looking at both of your vides, while hte content was not fun (white people dancing never is) the quality is just unwatchable.
Just curious because on the HTC ROMs it is at least somewhat decent.
Not crapping on what you're doing here Dec, but just trying to understand what you're dealing with.
riggsandroid said:
Why is the video quality in the CM/AOSP ROMS so bad? I know you said the 480x320 is better, but looking at both of your vides, while hte content was not fun (white people dancing never is) the quality is just unwatchable.
Just curious because on the HTC ROMs it is at least somewhat decent.
Not crapping on what you're doing here Dec, but just trying to understand what you're dealing with.
Click to expand...
Click to collapse
I get bored. You can only push the framerate so high on either quality, and the hero itself has never had that good of recording capabilities.
The htc roms are 'decent' looking because their encoding is handled better and optimized for the proprietary omx libraries which we have no source too
Decad3nce said:
I get bored. You can only push the framerate so high on either quality, and the hero itself has never had that good of recording capabilities.
The htc roms are 'decent' looking because their encoding is handled better and optimized for the proprietary omx libraries which we have no source too
Click to expand...
Click to collapse
I was going to mention the video recording quality not more than two days ago and was messing around with the app a little here and there, but no need for that now
Thanks again Deca
Does the now low quality 352x288 save as mp4 as well?
bray424 said:
Does the now low quality 352x288 save as mp4 as well?
Click to expand...
Click to collapse
Yes it does.
bro that video was priceless lol thanks for the little upgrade
The quality is definitely superior compared to the standard. I can't thank you enough. You continue to breathe life into my Hero. Arigato!!
Will it work with AOSP 2.2 ROM?
Decad3nce said:
You can see an example of a video I shot last night at a xmas party HERE to see 480x320 when it comes to more 'motion' recording. (Warning: White people dancing)
Click to expand...
Click to collapse
Thanks .. Side note, what was with the guy checking himself out in his "hand mirror"? Great video for the laughing
Twolazyg said:
Thanks .. Side note, what was with the guy checking himself out in his "hand mirror"? Great video for the laughing
Click to expand...
Click to collapse
Lets just say he had a little bit too much "eggnog"
Hay decad I'm on asop and flash this the only thing I see so far is that after taking video it fc no big deal. When I got to video info it shows mpg4 for mat like it should. I think. If I go to video setting it show some thing different and can't change it. So it works for the most important part the video. Zoom works too
Sent from my HERO200 using XDA App
Thanks this works excellent Happy New year / New years Eve
Root-Hack-Mod-Always™
this works on liquidsense rom perfectly
it seems like at least one person is still dedicated to making our htc hero cdma camcording quality better it may not be 720 HD but.... I can't wait to see your future camcorder improvements
People, I will try to fix the cammer in CM7, with that working we will have a full CM7 port for our MM2. Except for the Alt-Lock, and that is not a big problem.
I will merge the droid2 with the defy CM7, only the cammera and the 720P drivers, and make my own compilation, if this works probably we just only need is to keep updated the newest releases with the fixes that Endless make.
I will keep notice no my progress, rigth now I'm downloading the sources. Wish me good luck!
Great......looking forward for this...
julianlatasa said:
People, I will try to fix the cammer in CM7, with that working we will have a full CM7 port for our MM2. Except for the Alt-Lock, and that is not a big problem.
I will merge the droid2 with the defy CM7, only the cammera and the 720P drivers, and make my own compilation, if this works probably we just only need is to keep updated the newest releases with the fixes that Endless make.
I will keep notice no my progress, rigth now I'm downloading the sources. Wish me good luck!
Click to expand...
Click to collapse
Good luck
What is exactly wrong with the camera that you want to fix? :>
720p perharps?
Looking forward for your progress dude!
Rocking with my M2 and XDA app
Good luck.!!!
Isn't 720p recording a hardware encoding problem, rather than camera?
The only camera problem I have is exposure while recording videos...
And with the option julianlasta suggests, ("merge defy and droid2 cm7 sources"), this won't help, since these two builds don't support 720p...
For some reasons, julianlasta seems to ignore tezet's cm7...
momus87 said:
Isn't 720p recording a hardware encoding problem, rather than camera?
The only camera problem I have is exposure while recording videos...
And with the option julianlasta suggests, ("merge defy and droid2 cm7 sources"), this won't help, since these two builds don't support 720p...
For some reasons, julianlasta seems to ignore tezet's cm7...
Click to expand...
Click to collapse
720p uses proprietary drivers from Motorola, and from what I understand, they don't play well with cm7 or custom roms
MS2Ginger and Argen2Stone can record in 720p because both are based on Ch or euro leak, with some cosmetic and minor changes to the rom, and not touching the drivers at all
Rocking with my M2 and XDA app
UPDATE 18/01/13 :
V3.3 ( For roms with JB 3.16 base )
-----------------------------------------------------------------------
* Fixed audio bitrate and channels. Thanks lthawker
-----------------------------------------------------------------------
This camera is based off lyapota's - One X HTCCamera JB Plus, Extrim edition. Thanks for the awesome camera.
http://forum.xda-developers.com/showthread.php?t=1925013
I compared the code of the One S and X cameras and it was 99% the same. I have added the few code changes and also some images had to be resized for the One S.
40/30/20 Mbps are now selectable from the settings menu of the camera.
Image Non Forced and Forced 100% is the same.
Video Auto mode = 30 Mbps
Image Quality non forced = 100%
UPDATE 05/09 :
V2.3 ( For roms with 2.31 base, eg ViperOneS 1.1 )
-----------------------------------------------------------------------
* Added optional Volume+Up Camera Shutter ( in Camera app only. Normal functionality when not using Camera )
* Fixed JPEG 100 bug. Thanks abo_mara7
* All in one installer. Choose from
Quick test I did. I zoomed in on my monitor and took some video, these are two screenshots from the stock camera and 40mbps. Tried to keep the zoom level the same to make it a fair test.
http://s8.postimage.org/b6niv6vat/10mbps.png
http://s8.postimage.org/bkouusfed/40bmps.png
Download
ZeroCamera V3.3 / for JB 3.16 base roms
Download
ZeroCamera V2.3 / for 2.31 base roms
Download
ZeroCamera V1.21 / for pre 2.21 base roms
Download
What the diff between 20 n 40?
Sent from my HTC VLE_U using Tapatalk 2
x1tyme said:
What the diff between 20 n 40?
Sent from my HTC VLE_U using Tapatalk 2
Click to expand...
Click to collapse
err 20Mbps and 40Mbps bitrates
OMG. I've waited so long for a mod like this. Will try tomorrow!
Sorry for my noobness but I'm guessing the bigger the number the better the quality of the picture will be?
Sent from my HTC VLE_U using xda premium
l3g3nd.k1ll4h said:
Sorry for my noobness but I'm guessing the bigger the number the better the quality of the picture will be?
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
You got it.
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
pirlano said:
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
Click to expand...
Click to collapse
Your wrong on this mate.
Axiom could use something like this.
Posted using HTC One S using TapaTalk...
pirlano said:
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
Click to expand...
Click to collapse
I don't pretend to know what I'm talking about, but trying the 40 mod gave me a bit rate of 39Mbps so I'm guessing you're mistaken. Tried the twenty but still had 13Mbps (same as 'stock')
The 40 only recorded for 11 seconds then froze. The file still saved though.
Sent from my HTC One S using xda premium
Wow, this sounds exciting. I was a bit let down when they did a match up between the Galaxy S III and the One S/One X video recording comparison. The One series video seems noticeably inferior and exhibit what seems to be some choppiness. Hopefully this mod will make the One S bar none the best camera phone (well pure view and N9 will still be better). Now my other grip with the One series camera is the overuse of filtering like sharpness and over saturation. Hopefully there will be a mod to solve that issue.
raikesy said:
The 40 only recorded for 11 seconds then froze. The file still saved though.
Click to expand...
Click to collapse
Yeh I've noticed, sometimes happens when going into the camera app too soon after boot up. If you try it again is it ok?
raikesy said:
Tried the twenty but still had 13Mbps (same as 'stock')
Click to expand...
Click to collapse
Just tested 20Mbps and getting around 19. I think it depends whats in the scene, if you tax it enough and shake the camera I think you will get 20.
Stock I think 10Mbps is the limit.
good news then! i found bitrate values hardcoded in camera.apk too so i was thinking that they was capping media_profiles
What about higher bitrates on 720p? The video would be smaller and the 1s just has a qHD screen, so 1080p is useless, unless you watch them on a FullHD TV.
This is a great mod though!
is this for Sense or Vanilla Roms? or should it work on both of them?
This should work with no issues coming off a fresh wipe right?
This mod also works with One X?
c1-p8 said:
This mod also works with One X?
Click to expand...
Click to collapse
Not so much, since the One X is xhdpi....their may not be the correct images available for it to work...One S is hdpi
itsmikeramsay said:
Not so much, since the One X is xhdpi....their may not be the correct images available for it to work...One S is hdpi
Click to expand...
Click to collapse
Zeroprobe but can easily fix it... right?
This is very similar to my hugely popular mod for the Nexus 7 that I did. I did this because it seems CM on the One doesn't support 720p or 1080p, so maybe some vloggers or people who like to take videos of themselves (vain people?) would enjoy this very simple modification.
I got 1080p video recording working on my One under CM and felt you guys should know about this too. It's a simple fix as it's not a limitation of hardware or a kernel function or anything, rather for some reason HTC is using a weird way to enable 1080p in the stock firmware that doesn't carry over to CM. They aren't using the media_profiles.xml. This mod includes 1080p recording for the front camera, as well as some alterations to the bitrate of the audio and video to give it slightly better quality in the output videos. You won't really notice it unless you're really trying, but it's little things that all add up to give a better experience.
This is NOT needed under stock ROMs
Somehow, HTC have made their camera application NOT need to read the media_profiles.xml, and as a result the stock ROM does not need this modification. Only CM based ROMs need this. I don't know if it's needed under the Google Edition firmware or not. You'll have to let me know.
How To Install
Download the zip (M7-1080p-Camera-for-CM)
Reboot to recovery
Install
Reboot to Android
???
PROFIT!
The Mod
It's the same deal as on the Nexus 7: simply use my attached pre-modified file and push it to /system/etc/media_profiles.xml. I expect the permissions will be 644.
How It Works
I had to explain this on the Nexus 7, so I'll explain it again. The hardware already supports this functionality as the camera itself just sends RAW information to the processor, and then based on the settings the processor is given by Android, the processor encodes it in the format it's been told to, for example for the rear camera it would be told to record 1920x1080 @ a certain bitrate to H.264. The processor itself doesn't tell Android what the hardware is capable of (and considering the Snapdragon 600s enormous video encoder capabilities, they're very high), Android is told what it can do by the file media_profiles.xml.
No this will not improve video quality in Skype/Hangouts/whatever other thing you want to do, this will only work for video recording applications.
Download Link
Check the attachments below. There are two files: media_profiles and M7-1080p-Camera-for-CM - media_profiles is JUST the XML file, and M7-1080p-Camera-for-CM is the installer for CWM/TWRP. Most users will want that. Just install it from in CM.
Video For Your Delectation
I'll make a YouTube video of it soon
am I totally wrong or the HTC One front facing camera records on 1080p, so why this?
I'm guessing that somehow I'm wrong and this is actually useful
tyraelasd said:
am I totally wrong or the HTC One front facing camera records on 1080p, so why this?
I'm guessing that somehow I'm wrong and this is actually useful
Click to expand...
Click to collapse
You are not wrong, I'm also seeing all the same profiles (MMS, 720P, 1080P) when switching to the front camera... so why this MOD? lol
fongz27 said:
You are not wrong, I'm also seeing all the same profiles (MMS, 720P, 1080P) when switching to the front camera... so why this MOD? lol
Click to expand...
Click to collapse
Interesting. It appears to work in the stock firmware, but not on CM, but even in the stock firmware it doesn't have the 1080p media profiles. I'm guessing HTC are doing something sneaky to make it work. Well this mod still works for CM nonetheless. Guess I need to add this to CM like I did with the N7. Of course the purpose of this mod is slightly killed by the front camera working like *** on CM.
Good to know though.
Seeing this mod is rather pointless on the stock ROMs, I will make it useful and max out the encoder capabilities. Be back in an hour when I find the full abilities of the Snapdragon 600s video encoder.
EDIT: Updated first post to now include my updated media_profiles.xml for 1080p front camera recording and increased bitrate video and audio.
Just realised why CM doesn't do 1080p for the front camera. They use a common media_profiles.xml for ALL MSM8960 HTC devices.. which means older crappier phones have the same profile. Effectively, this limits CM on the One a lot. Lemme relearn how to make a commit to CM so I can add this into their repo.
Does this get rid of the green hue in the front camera too in CM?
Sent from my BNTV600 using Tapatalk 4 Beta
xjedi said:
Does this get rid of the green hue in the front camera too in CM?
Sent from my BNTV600 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Unfortunately not. I'm not sure what causes that, but I want to look into it because it's really odd it only happens to the front camera. I suspect the sensor has a weird colour profile that isn't being set up right? Could be wrong.
hillbeast said:
Unfortunately not. I'm not sure what causes that, but I want to look into it because it's really odd it only happens to the front camera. I suspect the sensor has a weird colour profile that isn't being set up right? Could be wrong.
Click to expand...
Click to collapse
In my case, that green hue is related to light surrounding (I ain't sure what's the term for it, but it's that sun/cloudy/AW/bulb thingy in camera settings circle).
Ramazor said:
In my case, that green hue is related to light surrounding (I ain't sure what's the term for it, but it's that sun/cloudy/AW/bulb thingy in camera settings circle).
Click to expand...
Click to collapse
Yeah I find it changes depending on the lighting as well.
Glad to see you over here
Sent from my HTC One using xda app-developers app
So much time past from last post but this mod works on GPE stock 4.4.3 (I'm not kidding).
Thanks a lot
Right now I am using a motorola stock camera app as I find it better than anything else I have tried, however the video on this is 720p, the stock app that came with the phone was 1080p, does anyone know where I can get the apk for this?
Thanks
obsidianwings said:
Right now I am using a motorola stock camera app as I find it better than anything else I have tried, however the video on this is 720p, the stock app that came with the phone was 1080p, does anyone know where I can get the apk for this?
Thanks
Click to expand...
Click to collapse
Which ROM are you running?
Stock Camera app has 1080p recording option in Stock ROM, but in kexec based ROMs, max is 720p even for stock Camera app.
XploitMachine said:
Which ROM are you running?
Stock Camera app has 1080p recording option in Stock ROM, but in kexec based ROMs, max is 720p even for stock Camera app.
Click to expand...
Click to collapse
Running Avatar 3.0. Thanks, didn't realise that. Is 1080p on kexec ROMs likely to ever happen, or is it just not possible?
obsidianwings said:
Running Avatar 3.0. Thanks, didn't realise that. Is 1080p on kexec ROMs likely to ever happen, or is it just not possible?
Click to expand...
Click to collapse
As of now, I don't think it's possible, though the Devs are trying to fix 1080p recording as well as HDMI.