Related
ok first this it not my work.
thanks to RubberBigPepper for his great work. for download link, go to original thread:
http://forum.xda-developers.com/showthread.php?t=1677645
but the thing i want to share here, it is very simple, but its VERY GREAT.
this camera help us to recording video at resolution 640.480 most camera app, from stock camera to apps from store, or porting..only can record at max res 320.240
but with this camera app, we can really record at 640.480
for this, just install camera normally.then go to camcoder, setting:
scene mode: action
video resolution: 640.480 (higher is not supported)
video encoder: mpeg4
video file format: mpeg4
video bitrate:5Mbit
other is default.then exit apps. open it again (u need to do it because it still in beta and have bug)
now u can record, then open in your computer.u can see, resolution it 640.480, video it much more better and detail
the only problem is framerate only 10, while with stock we have 15.but i think because this does not have right config for mini (same as miui camera.it only can record at res 320.240 with framerate 10 )
notice, this app still in dev so it may have bugs.but the important thing i want to share you and hope devs hack it, its that our mini can record video at higher resolution, and if anyone can make the framerate more than 15, this would be very great
devs, please looking for this!
Very Good
Has many options for camera and camcorder!
nvt992 said:
ok first this it not my work.
thanks to RubberBigPepper for his great work. for download link, go to original thread:
http://forum.xda-developers.com/showthread.php?t=1677645
but the thing i want to share here, it is very simple, but its VERY GREAT.
this camera help us to recording video at resolution 640.480 most camera app, from stock camera to apps from store, or porting..only can record at max res 320.240
but with this camera app, we can really record at 640.480
for this, just install camera normally.then go to camcoder, setting:
scene mode: action
video resolution: 640.480 (higher is not supported)
video encoder: mpeg4
video file format: mpeg4
video bitrate:5Mbit
other is default.then exit apps. open it again (u need to do it because it still in beta and have bug)
now u can record, then open in your computer.u can see, resolution it 640.480, video it much more better and detail
the only problem is framerate only 10, while with stock we have 15.but i think because this does not have right config for mini (same as miui camera.it only can record at res 320.240 with framerate 10 )
notice, this app still in dev so it may have bugs.but the important thing i want to share you and hope devs hack it, its that our mini can record video at higher resolution, and if anyone can make the framerate more than 15, this would be very great
devs, please looking for this!
Click to expand...
Click to collapse
Already knew that...
But I can record at 30 fps
so what is negative effect from "framerate only 10" ?
I don't understand about resolution, or fps etc
can someone give an explanation?
KoperKiller said:
Already knew that...
But I can record at 30 fps
Click to expand...
Click to collapse
how can? or you using cm rom?
im using emanoN now...it can not record more than 10fps.
Hey guys! Did you try this app with a Gingerbread stock ROM?
No replies??
So you want to record more natural looking videos on your Redmi 2? Maybe so you get more headroom when video editing? Or does recording in low light look too choppy? Then this might be for you!
After reading Redmi 2 on XDA and checking out FreeDCam, I can say that it’s the best looking video recorder I’ve tried on my phone.
Of course you want to see some samples (Sorry if the samples aren’t that great but there weren’t any colourful flowers around. )
YouTube samples
Outside and sunny...
CM Snap
FreeDCam
Outside...
CyanogenMod Snap
FreeDCam
FreeDCam with some adjustments
Low light with workaround
CyanogenMod Snap
FreeDCam
This camera app will give you more manual controls than any other video recording app plus, you can even change them while recording! Here’s some specific settings that you should change…
Exposure: Adjust so nothing looks too dark or too bright (find the balance).
Contrast: Change to 0 (or something slightly higher). I guess the problem with other apps is that the contrast is set too high and makes shadows look too dark and highlights look too bright.
Sharpness: Set to 0 as the video will look more soft and natural. Sharpening after recording (i.e. using a program) seems to look better…
Denoise: Turn off as colours get washed out and we start to lose some of that detail. (Or keep it on if you really hate noise.)
There’s some issues regarding focussing, manual focus doesn’t seem to work. If you want to set your focus to infinity, after launching the app, set the focus to auto, tap to focus once and then set your focus to infinity.
Ok great now I can record better videos! But at night the video looks blurry, choppy…
The reason why this happens is so that more light can enter the camera for longer, causing the video to look blurry, choppy and noisy. Here is a workaround where you can now record at a constant 30fps even in the dark! This idea came from some OnePlus thread where you could rename a front camera video binary file to the rear camera video binary as the front camera records at a constant 30fps. Be aware there is a trade-off and it is that dark places won’t be as bright at 30fps compared to 15fps!
If you don’t do this, then 15fps could actually be helpful as you can see more with less light! FreeDCam will help a lot with a low light situation with the increased exposure and decreased contrast. You’ll get more noise though. You can either activate the denoiser and/or run a denoiser plugin after you have recorded your video.
(Note: I’m not responsible for anything that might happen on your phone. I’ve only tested this on cm13 so the files might be different across different roms.)
Note that this mod will affect all apps that record video and dark places will look very dark.
Go to /vendor/lib/
Copy the name libchromatix_ov8865_sunny_default_video.so and then back it up (rename it to something like libchromatix_ov8865_sunny_default_video.so1
Create a copy of libchromatix_ov2680_5987fhq_default_video.so and rename it to libchromatix_ov8865_sunny_default_video.so
To revert change libchromatix_ov8865_sunny_default_video.so1 back to libchromatix_ov8865_sunny_default_video.so
Increase bitrate…
You can increase the video bitrate with FreeDCam (or any other video recording app if you mess with media_profile.xml) so you can record all that fine detail (including especially the noise). Here, we’ll change the bitrate to 40Mbps.
Just head to /system/etc/media_profiles.xml and look for: (tip: near the end)
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="20000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1088"
minFrameRate="15" maxFrameRate="30"
maxHFRFrameWidth="1920" maxHFRFrameHeight="1080"
maxHFRMode="120" />
Click to expand...
Click to collapse
Change maxBitRate to 40000000 and save. This edit only tells the phone the maximum bitrate it can encode at.
In FreeDCam, make sure you’re in 1080p! Change video bitrate to 40000000 and audio bitrate 320000. Be aware that the video size will now be around 300MB/min so make sure you have plenty of storage. (I tried using an USB OTG Drive. It works! But the USB device interfered with the microphones and created noise. )
So yeah. The difference might not be that noticeable to some, but to me, it looks a lot better to me. While recording, the viewfinder might lag a bit but in the actual recorded video, it’ll be fine. I might put more samples up or maybe you try this out and get some samples for me! Hopefully there are some people here who are interested in video. :good:
My first thread
Awesome!! Works flawlessly with this app!
why dont you just give the edited file
gamernayeem said:
why dont you just give the edited file
Click to expand...
Click to collapse
Of what?
magmar452 said:
Of what?
Click to expand...
Click to collapse
media_profiles.xml
gamernayeem said:
media_profiles.xml
Click to expand...
Click to collapse
I'll make a flashable zip for both the mods
magmar452 said:
I'll make a flashable zip for both the mods
Click to expand...
Click to collapse
thanks
If you can you post guide for better picture quality in general,I am overwhelmed by amount of options it provides can you post screenshots of balanced set of options to choose specifically for our device. Thanks for this thread anyway .
rohitsonone said:
If you can you post guide for better picture quality in general,I am overwhelmed by amount of options it provides can you post screenshots of balanced set of options to choose specifically for our device. Thanks for this thread anyway .
Click to expand...
Click to collapse
Sorry, this is a video specific guide. I'm making some flashable zips and I'll put some screenshots when I have time. Perhaps @shanx_verma can make a picture guide? If I have lots of time then maybe I'll make one.
Prioritizing FPS Over Exposure
Hi magmar452.
Thank you very much for this. This is some juicy detail you uncovered here!
magmar452 said:
Go to /vendor/lib/
Copy the name libchromatix_ov8865_sunny_default_video.so and then back it up (rename it to something like libchromatix_ov8865_sunny_default_video.so1
Create a copy of libchromatix_ov2680_5987fhq_default_video.so and rename it to libchromatix_ov8865_sunny_default_video.so
To revert change libchromatix_ov8865_sunny_default_video.so1 back to libchromatix_ov8865_sunny_default_video.so
Click to expand...
Click to collapse
My front-facing camera also goes into "Slideshow Mode" in low light, so following your exact steps above didn't work for me. However, I fiddled a bit and found what does work for me:
Trade exposure for fps priority:
1. Go to /vender/lib/
2. Rename "libchromatix_ov8865_sunny_default_video.so" to "libchromatix_ov8865_sunny_default_video.so1"
3. Create a copy of "libchromatix_ov8865_sunny_hfr_60fps.so" and rename it to "libchromatix_ov8865_sunny_default_video.so"
EDIT1: Getting decent night time results using "libchromatix_ov8865_q8v18a_default_video.so" as the source. It actually allows me proper exposure/fps control. "libchromatix_ov8865_q8v18a_hfr_60fps.so" handles similarly, but prioritizes fps.
EDIT2: Various vendor libs from github/TheMuppets/xiaomi/cancro also work. However, results are all over the place.
This isn't a proper fix, but it's really good to be Slideshow-free.
Samples:
ov8865_sunny (default): youtu.be/pS544qW35ZM
ov8865_q8v18a: youtu.be/PcCC95EIceg
imx226_video_hdr: youtu.be/E79zcYlq7pU
pexxie said:
Hi magmar452.
Thank you very much for this. This is some juicy detail you uncovered here!
My front-facing camera also goes into "Slideshow Mode" in low light, so following your exact steps above didn't work for me. However, I fiddled a bit and found what does work for me:
1. Go to /vender/lib/
2. Rename "libchromatix_ov8865_sunny_default_video.so" to "libchromatix_ov8865_sunny_default_video.so.org"
3. Create a copy of "libchromatix_ov8865_sunny_hfr_60fps.so" and rename it to "libchromatix_ov8865_sunny_default_video.so"
EDIT: I'm getting decent night time results using "libchromatix_ov8865_q8v18a_default_video.so" as the source. It actually allows me proper exposure/fps control.
Not sure why it works, but it works. Maybe it's coincidence. I still get the occasional brief dips to 20-odd fps, but they're too infrequent to be a nuisance. It's not a proper fix, but it's really good to be Slideshow-free.
Short Samples: Original & Hack Job
Original: youtu.be/3VHuGj33vp4
Hack Job: youtu.be/oEH2E7t_5EI
P.S. I'm running CyanogenMod Nightly 6.0.1 (wt88047) on my Redmi 2 Pro (2014817)
Click to expand...
Click to collapse
I think most roms have switch to the lollipop canera blobs and that's why the front camera is choppy now to fix the 'dark video' problem. I've switched to Resurrection Remix, there are some few changes that had to be made to the instructions (getting the old front camera file) so I can still get 30fps.I'll check it out renaming to the 60fps file. Currently I'm quite busy
magmar452 said:
So you want to record more natural looking videos on your Redmi 2? Maybe so you get more headroom when video editing? Or does recording in low light look too choppy? Then this might be for you!
Afterreading Redmi 2 on XDA and checking out FreeDCam, I can say that it’s the best looking video recorder I’ve tried on my phone.
Of course you want to see some samples (Sorry if the samples aren’t that great but there weren’t any colourful flowers around. )
YouTube samples
Outside and sunny...
CM Snap
FreeDCam
Outside...
CyanogenMod Snap
FreeDCam
FreeDCam with some adjustments
Low light with workaround
CyanogenMod Snap
FreeDCam
This camera app will give you more manual controls than any other video recording app plus, you can even change them while recording! Here’s some specific settings that you should change…
Exposure: Adjust so nothing looks too dark or too bright (find the balance).
Contrast: Change to 0 (or something slightly higher). I guess the problem with other apps is that the contrast is set too high and makes shadows look too dark and highlights look too bright.
Sharpness: Set to 0 as the video will look more soft and natural. Sharpening after recording (i.e. using a program) seems to look better…
Denoise: Turn off as colours get washed out and we start to lose some of that detail. (Or keep it on if you really hate noise.)
There’s some issues regarding focussing, manual focus doesn’t seem to work. If you want to set your focus to infinity, after launching the app, set the focus to auto, tap to focus once and then set your focus to infinity.
Ok great now I can record better videos! But at night the video looks blurry, choppy…
The reason why this happens is so that more light can enter the camera for longer, causing the video to look blurry, choppy and noisy. Here is a workaround where you can now record at a constant 30fps even in the dark! This idea came from some OnePlus thread where you could rename a front camera video binary file to the rear camera video binary as the front camera records at a constant 30fps. Be aware there is a trade-off and it is that dark places won’t be as bright at 30fps compared to 15fps!
If you don’t do this, then 15fps could actually be helpful as you can see more with less light! FreeDCam will help a lot with a low light situation with the increased exposure and decreased contrast. You’ll get more noise though. You can either activate the denoiser and/or run a denoiser plugin after you have recorded your video.
(Note: I’m not responsible for anything that might happen on your phone. I’ve only tested this on cm13 so the files might be different across different roms.)
Note that this mod will affect all apps that record video and dark places will look very dark.
Go to /vendor/lib/
Copy the name libchromatix_ov8865_sunny_default_video.so and then back it up (rename it to something like libchromatix_ov8865_sunny_default_video.so1
Create a copy of libchromatix_ov2680_5987fhq_default_video.so and rename it to libchromatix_ov8865_sunny_default_video.so
To revert change libchromatix_ov8865_sunny_default_video.so1 back to libchromatix_ov8865_sunny_default_video.so
Increase bitrate…
You can increase the video bitrate with FreeDCam (or any other video recording app if you mess with media_profile.xml) so you can record all that fine detail (including especially the noise). Here, we’ll change the bitrate to 40Mbps.
Just head to /system/etc/media_profiles.xml and look for: (tip: near the end)
Change maxBitRate to 40000000 and save. This edit only tells the phone the maximum bitrate it can encode at.
In FreeDCam, make sure you’re in 1080p! Change video bitrate to 40000000 and audio bitrate 320000. Be aware that the video size will now be around 300MB/min so make sure you have plenty of storage. (I tried using an USB OTG Drive. It works! But the USB device interfered with the microphones and created noise. )
So yeah. The difference might not be that noticeable to some, but to me, it looks a lot better to me. While recording, the viewfinder might lag a bit but in the actual recorded video, it’ll be fine. I might put more samples up or maybe you try this out and get some samples for me! Hopefully there are some people here who are interested in video. :good:
My first thread
Click to expand...
Click to collapse
Can you make a guide for MI 5? I'm trying to record guitar videos but it's choppy
luigi0824 said:
Can you make a guide for MI 5? I'm trying to record guitar videos but it's choppy
Click to expand...
Click to collapse
Sorry I don't have an Mi 5. See if lowering resolution helps or not having enough light causes this issue.
flashable zip is there?
It will be easy then
Since our stock camera app does not have framerate settings, I tried to download Open Camera. When I set 24fps framerate, and hit record, it says, device does not support this framerate.
Anyone knows what other video recording apps that can support 24fps or is it a problem for our OP3T? I was actually planning to make a short film using this device.
Anyone?
Filmic Pro works fine so don't worry that the phone doesn't support 24fps.
Hello people! I'm trying to record video with my new OP3T, but when I watch the recording, the video frame size (or field of view I suppose) is smaller than what it looks like when I'm shooting. I mean the video resolution is still 1920x1080, but things at the edges of the screen are now out of view. I'm using 1920x1080 @30 FPS, stock camera app, Android 7.0. Same thing happens with other resolutions and FPS settings, and with OpenCamera app for example. But it does not happen when taking pictures, and even when I take a static shot WHILE shooting video, that picture comes out fine.
Is this a known issue? How could I solve this? Is there any modification that could help?
PhantomGlass said:
Hello people! I'm trying to record video with my new OP3T, but when I watch the recording, the video frame size (or field of view I suppose) is smaller than what it looks like when I'm shooting. I mean the video resolution is still 1920x1080, but things at the edges of the screen are now out of view. I'm using 1920x1080 @30 FPS, stock camera app, Android 7.0. Same thing happens with other resolutions and FPS settings, and with OpenCamera app for example. But it does not happen when taking pictures, and even when I take a static shot WHILE shooting video, that picture comes out fine.
Is this a known issue? How could I solve this? Is there any modification that could help?
Click to expand...
Click to collapse
Seems to be a known issue. Watch this video (pay attention at 3:30): https://www.youtube.com/watch?v=XFC9OB85Tpk&t
I don't know if this can be solved as i received my 3T yesterday and haven't had a chance to use the camera yet.
panart said:
Seems to be a known issue. Watch this video (pay attention at 3:30): (snip)
I don't know if this can be solved as i received my 3T yesterday and haven't had a chance to use the camera yet.
Click to expand...
Click to collapse
It seems so, yeah. Do you know if this sort of cropping happens during shooting or is it a separate process that's done afterwards? I figured this might be solvable somehow, since you do see the whole picture while you're recording. So it's not a physical limitation of the camera lens or anything.
PhantomGlass said:
It seems so, yeah. Do you know if this sort of cropping happens during shooting or is it a separate process that's done afterwards? I figured this might be solvable somehow, since you do see the whole picture while you're recording. So it's not a physical limitation of the camera lens or anything.
Click to expand...
Click to collapse
Sorry, but i don't know why this happens.
panart said:
Sorry, but i don't know why this happens.
Click to expand...
Click to collapse
Noticed that OpenCamera has a function to enable Camera2 API, which fixed the cropping! Also I found that on stock camera app, recording on 4K UHD (3840x2160) doesn't crop the video frame. But it limits to 10 minutes per shot (also workable on OpenCamera due to its restart recording function.)
It's the electronic image stabilisation. It needs to zoom in a little bit to stabilize the video. That's why the 4k isn't cropped, because in 4k, there is only OIS, and not EIS.
G4B33 said:
It's the electronic image stabilisation. It needs to zoom in a little bit to stabilize the video. That's why the 4k isn't cropped, because in 4k, there is only OIS, and not EIS.
Click to expand...
Click to collapse
Exactly what I thought was the cause of it, thanks for clearing this up ??
Is there any way to disable stabilisation? Different camera app, some mod or something? Even OpenCamera doesn't specifically have a setting for that, but I guess Camera2 API doesn't support EIS or something, which feels like a crutch "solution" at best.
PhantomGlass said:
Is there any way to disable stabilisation? Different camera app, some mod or something? Even OpenCamera doesn't specifically have a setting for that, but I guess Camera2 API doesn't support EIS or something, which feels like a crutch "solution" at best.
Click to expand...
Click to collapse
Scan build.prop see if there is some line related to ois or eis.
Hello,
I have noticed when I use the youtube app to upload videos, the video quality changes to 480p whenever the video is uploaded. I have tried setting the camera app to 1080p 60fps and UHD and changing the settings for upload quality in the youtube app, neither helped. This happens when uploading on either wifi or mobile data. Anyone knows whats going on?
Thanks
The issue you're having is solved in the YouTube app. Click on your profile picture in the top right hand corner then the settings option, next choose general and then upload quality. Choose original and what ever resolution you recorded in will be how it is uploaded. Hope this helps mate
Charos87 said:
The issue you're having is solved in the YouTube app. Click on your profile picture in the top right hand corner then the settings option, next choose general and then upload quality. Choose original and what ever resolution you recorded in will be how it is uploaded. Hope this helps mate
Click to expand...
Click to collapse
i have tried that, it doesn't solve the issue
It is definitely related to the youtube app. No idea how to fix it. What I have noticed is when I watch an uploaded video using any mobile device via youtube app, then the video is in 480p quality, but if i use my PC to watch it, then the video is in the original quality that it was recorded in. Whats going on here?
Same problem
I have same problem. But video quality is 480p even on computer. I uploaded one video more than week ago and it is ok. Three more videos in last 3 days show only in 480p. Backup to google photos is in 1080p.
So problem is only with videos in portrait mode. In landscape it is uploaded in 1080p. I try upload same video to vimeo and it shows 1080p on PC, but quality in android app is lower (i don't see in app setting button to change it).