Related
I just realised the the TP2 can record VGA (640x480) video. I played with the camera settings and found that if video recording format is set at MPEG4, the resolution can be set at up to VGA quality. If the recording format is set at H264 or H263, the resolution would only goes up to QVGA.
I would have preferred H264 over MP4. But at least I now know that TP2 can record VGA video. Hopefully future updates of the HTC camera app would add H264 VGA recording.
Are there other MSM7200 devices that can do H.264 at 640x480 at any reasonable framerate? I ask because as I understand it, it's pretty processor intensive to compress that amount of data...
Lord_BlackAdder said:
I just realised the the TP2 can record VGA (640x480) video. I played with the camera settings and found that if video recording format is set at MPEG4, the resolution can be set at up to VGA quality. If the recording format is set at H264 or H263, the resolution would only goes up to QVGA.
I would have preferred H264 over MP4. But at least I now know that TP2 can record VGA video. Hopefully future updates of the HTC camera app would add H264 VGA recording.
Click to expand...
Click to collapse
so is this only for the msm7200 or also for the 7201a
Lord_BlackAdder how you do it?? explain please step by step, i already try all the settings in video recording and nothing, only the small resolution, no alternatives to change
hello..
i have a sprint touch pro 2.
i used to have the stock sprint wm6.5 rom installed. and it used to take okay-quality videos.
yesterday, i flashed energy rom, and since then, the quality is so bad. i use the same format (mp4 VGA), but the one on the energyrom is bad. a 10 second video on the sprint rom is around 1+mb.. on energyrom, it's only around 200kb. whats wrong with this?
thanks
Hi! I'd like to know if it's possible to change the video compression codec .3gp. Isn't this a contraddiction? The phone can record at good quality 720p but the compression is so old and makes the video looks worse. In comparison with the galaxy s desire hd videos seems worse, even if it's camera is better. Thank you!
I would like to know this too.
ALL THE CREDIT FOR THIS FIX GOES TO GALNET
Galnet posted a fix for 720p choppy recording in the MIUI post.
The problem I found was that it didn't work for everybody.
So, after doing a tkdiff on the changed file for the fix: media_profiles.xml, I saw that the 720p fix is a change of the recording bitrate from 12,000,000 to 10,000,000.
For my phone it wasn't enough and I was still getting choppy recordings, so lowered the bitrate even further to 5,000,000 and now I have flawless 720p recording!!!
How to fix the issue:
1) Make /etc/ R/W (use root explorer)
2) Edit the file: media_profiles.xml and change the bitrate line:
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="hd" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="12000000"
to:
bitRate="5000000"
3) save the file
4) make /etc/ R/O again
5) enjoy 720p recording
NOTES
1) HD playback is still choppy -- so you have to transfer the file to your computer to test!!!
2) You can try and increase the bitrate from 5000000 to 10000000 (which was GALNET's original value) -- and if it is still good for you great.
THANKS A LOT GALNET!!!
Somebody knows what the bitrate is for 720p videos in Samsung roms?
JVP:
quality = 'high'
fileformat = 'mp4'
duration = '60'
video codec = 'h264'
bitrate = '10000000'
width = '1080'
height = '720'
framerate = '30'
HaTeNL said:
Somebody knows what the bitrate is for 720p videos in Samsung roms?
Click to expand...
Click to collapse
On XXJVP rom the bitrate for recorded 720p videos is ~12mbps
When on cm7 i found out that playing with different cpu governors influences the 720p choppiness more or less as well. Conservative governor messes 720p up, while on demand improved it....but didnt get rid of it.
Havent tried galnet's fix or their latest miui but on a pc the reported bitrate of 720p material from SGS is ~12mbps + ~2mbps audio track
Im on Doc kitchen jvp rom now with SGS2 camera app and works butter smooth. Its not just the recorded material that is smooth but also when panning around just after starting the camera app is very fluid (as opposed to cm7/miui)
Thanks! I also found out about this workaround by looking at the patch to 7.7, which diff showed a change from 12,000,000 (in 7.5) to 8,000,000. I don't recommend lowering that value to 5,000,000 because more kb/s = smoother video. Though I noticed something strange:
1. After upgrading to 7.7 (8,000,000 bitrate), I tried catching a HD video with MiuiCamera, that produced a very choppy video (still...) with unsynced audio.
2. I catched another 720p video with Android Camera, and the result was better, though I don't like the m4v container for the output files.
3. I used MiuiCamera to record another HD video, but this time it was perfect!
4. The following videos shot by MiuiCamera were still as good, even after a reboot, for now.
So, I don't think we require the Camera.apk to make MiuiCamera.apk work as it should. There is probably something about the governor or kernel ticks (HZ) which is clashing with the 720p recording. For the "record" (lol), I'm using the smartass governor on Zach's NEO 08, while scheduler and OC/UV don't seem to have a high relevance.
Also, why does MiuiCamera produce a 3gp video for 720p recordings, while it's clairly specified to use the mp4 container? I also used Avidemux and ffmpeg to check the video, and it has a 1280x720 resolution with H.264 and AAC codecs. So, why the 3gp extension?
EDIT: I forgot, have you understood why the m4v max bitrate was lowered to 2,000,000 while stock JVP has 12,000,000 ?
Any other feedback aside from this comment?? I would appreciate if you guys found a way recording a nice 70p vdieo from my phone
Currently on CM7 recording is bad, doen't work properly. Users from galnetMIUI forums claim that recording works fine with Chameleon release. Fix is not public, so... CM7 hasn't got proper 720p video recording
It isn't the unique change...
Probably some more changes in the kernel also.There was a thread on their forums, where a user said thar 720p recording works only with default kernel, while with custom kernels doesn't. It's quite annoying, using a stock/custom ROM based on official looks really slow for me, using CM7 feels really good and fast... but with the loose of recording, which I really need for my little girl's unique moments in life recording. The High setting for camera in CM7 makes recording possible, there are very small glitches sometimes, but it's a pitty to not use it a fully potential.
Thats not a "fix"? It just lowering the bitrate which means less smoothness and worse quality.
That aint a "fix" for the problem to me
Actually looking at the xml file mentioned in the first post, in the case of latest nightly of CM7 the value is 10000000. But, keep in mind that the post is from june, and in the meanwhile the real fix came with galnetMIUI chameleon (or something) which is later. So, they must have figured it out in the meanwhile...
worked for me
Worked for me.
I decreased HD bitRate from 10000000 to 5000000 bps
also decreased HIGH bitRate from 3000000 to 2000000
my video is now playing quite smooth.
Thanks
SGS I9000, Cyanogen 7.1.0
is this applicable to galnet miui weekly?
screwing around with the lgcamrecorder app settings may help?
on HD i' 10000000 too, but had ploblems on recording. record in format M4V, but look mediaprofiles it wrote as MP4. why it record different format?
Must have ROOT
EDIT**
I have just uploaded V2 of my profile - I have lowered the Bitrate slightly and changed from 3gp to mp4 file format.. I have also enabled 720p for the front facing camera - Let me know if the lowered bitrate still performs as well.
Folks,
This is my edited media_profile.xml for far better 720p recording.. thought I would share it..
I have upped the bitrate from just 1MB/s (default)to around 4MB/s.. for me, it is clearly better when played on my Monitor or Television.. smoother, more detail and appears clearer.
I have tried a higher bitrate but found this to be a good balance between size and quality.
I have also tried editing the xml for 1080p recording but cannot get higher than 14fps when recording so have not included it..
to install, just unrar the media_profiles.xml and copy it to /system/etc and reboot.... REMEMBER TO BACKUP YOUR ORIGINAL FIRST.
This has worked for me, but if you end up in a boot loop, pushing the original file should fix it.
Hope you enjoy it.
Bracken
Do you have a comparison video or anything? This is the kind of thing I want to see before flashing.
Nice find!
I can see the difference just watching play back on the xoom! Alot smoother...ill check out the HDMI when I get home.
Will this work on any Android device? Say my DX? I take way more video on that.
bracken21 said:
Must have ROOT
....
I have also tried editing the xml for 1080p recording but cannot get higher than 14fps when recording so have not included it..
...
Click to expand...
Click to collapse
have you a stock Kernel or Custom Kernel + overclocked CPU?
Works well, I have a similar hack for my Nexus.
Easy and simple improvement for video recording.
Using Hammerhead 2.1 & Tachi OCed kernel.
@bracken21 = does this affect the still camera picture taking?
Thank you very much, great mod.
Hi,
@Sergio PC -This does not affect the picture quality only the video..
@twister_65 -I had this completely on stock 3.1 with stock kernel and worked fined.. I'm now running it with Hammerhead 2.1 & Tachi OCed kernel.
Even OCed @1.6, when I enable 1080p recording there is no increase in FPS, it stays at around 14FPS.. I presume the actual sensor is not capable of [email protected]
@mradlauer - I have no idea if this could be done to the DX, I presume so, but what resolution, bitrate and FPS would depend on the device.. if its anything like the Xoom, putting in an unsupported profile may result in a boot loop ?
If there is interest I can upload another profile with settings as follows... but I find it pointless as 1080p @ 14fps is unwatchable.. I have tried increasing/decreasing the Bitrate but still only does 14fps.
1080p 6MB/s @ 14fps when high quality selected.
720p 4MB/s @ 30 when low quality selected.
720p @ 30fps for front facing camera.
Thanks
Bracken
720p for front would be awesome.
Great, i just would love to have it recording in MP4
€: Wait, trying it now
€²: Works Thx for This
Would changing any of these lines to 100 improve photo quality too?
<ImageEncoding quality="90" />
Stealyourface said:
720p for front would be awesome.
Click to expand...
Click to collapse
Front camera now enabled for 720p and file format changed to mp4
cheers
Bracken
truly great work here. thank you
im just surprised no one had done this sooner, but better late than never!!
ive only played wtih it for litterally 30 seconds however i noticed that upon pressing the record button for a video using the front facing camera, it zooms in and stretches the image vertically in the preview window. i dont think that it actually records it like this but it seems to be some sort of graphical glitch....maybe you could look into it?
id like to say thanks again. did you change anything for the still images in v2 or somthing? because i no longer see those weird lines when taking photos with the front facing camera.
THANKS!
crackmulah said:
however i noticed that upon pressing the record button for a video using the front facing camera, it zooms in and stretches the image vertically in the preview window. i dont think that it actually records it like this but it seems to be some sort of graphical glitch....
Click to expand...
Click to collapse
I've noticed the same issue when recording from the front camera
Excuse me, but trying this mod, I realized that the zoom in camera mode does not work. And 'this normal?
Thanks!
zoom isnt working in video mode for me either.
although i cant remember if we were ever able to.....
can you add this ?
I tried now, even the stock 3.1 does not allow it. Is there any mod ?
Regards!
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Audionut11 said:
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Click to expand...
Click to collapse
Do you mind posting your xml file... I personally like the tweaks you have done and would like the same..
Thanks in advance
Audionut11 said:
Nice find.
Pretty easy to increase or lower the bitrate yourself.
I personally upped the bitrate to 35MB/s for 720p.
Adjusted the 480p resolution to 720x480 @ 20Mb/s for quick and easy converts straight to dvd with no resolution changes.
Adjusted the audio bitrate to 256kbps, sample rate to 48khz and enabled stereo recording.
Sweet stuff.
edit: Tried shooting for 60fps but it forced closed as soon as I tried to select video recording
Click to expand...
Click to collapse
35MB/s is 2.1Gb per minute - that would give you around 15 mins recording on 720p on 32gb card. Plus with the size of sensor and optics, im guessing you wont see quality increase above 3MB - 4MB/s and even that is asking alot of the camera due to the noise levels and lack of light/detail passing through the small plastic lens. As for stereo recording, I thought the Xoom only had 1 mic ?
Being that bluray movies are around 34MB/s.. I think asking a small plastic lens on the xoom to do that a little much. Also the tegra 2 is listed at only supporting 20Mb... did you also amend the codec maximum bitrate as its currently set to around 5MBs.. if not, you will actually be recording @ 5MB/s.. Also, is 35MB/s over the write limit for xoom internal storage.. I could be wrong but even a class 10 cards only write at around 10MBs and reads @ 30Mbs ?
If you want to try 60fps, you would also need to amend not just the recording values but the codec preference and possible the memCap too.. ive not tried it yet, may give it a go.
Im not trying to have a go at you, just stating that your filling your xoom up for no reason... in a long winded blurbing kind away.. not had my coffee yet..
As for the problem with front camera zooming in on 720p, nothing I can do about this, that fix would be above my head.. My guess is that the google camera apk would need amended for 16:9... my knowledge of Android goes as far as this little dirty hack.
Cheers
Bracken
bummer on the zoom and front face stretch problem... Gonna have to revert to stock unless fixed in the future... Will subscribe for updates in case. Nice for folks that don't mind those couple details though
rockhumper said:
bummer on the zoom and front face stretch problem... Gonna have to revert to stock unless fixed in the future... Will subscribe for updates in case. Nice for folks that don't mind those couple details though
Click to expand...
Click to collapse
Hi, just revert to version 1, it keeps the front camera stock and rear camera is improved..
As for the people not being able zoom, you can't zoom in video mode using stock... well mines never has.
I wish I knew how to port the camera front the Samsung 10.1 tab, does any one know how?
Cheers
Bracken
I was wondering that if this phone records at 4K, it should be able to record at 1080p 60fps too. Is it possible, and does anyone know of a way to do it?
Edit: Alright, never mind guys. I found it in Google Camera.
Could you please upload an 1080p 60fps video sample through gg cam?