YOU CAN RECORD 4K VIDEO WITH ONLY HALF SIZE THAN NORMAL
I am not a developer. I'm just a medical student.
HEVC is successor to h264 and offer about double data compression ratio.
I've also reduce bitrate to save space about 40% without losing quality.
720p,1080p,2k and 4k resolutions are encoded in HEVC
480p,720p and 1080 p support 60 fps mode. Miui stock camera will crash as it doesn't support. Use with Gcam.
Bugs __
You tell me
Download in attachment flash it in recovery !
MAGISK modules available See in post 2.
[60fps aosp have been removed due to fps drop issue]
If something breaks,flash original file attached below.
Changelog 1 ; fix Gcam crash
Changelog V1; added 60 fps mode for 720p and 1080 p for back camera
Changelog V2; added hevc and 60fps for 480p,720p and 1080p for front camera .MAGISKmodules added.
Hit thank if I help you
Credit _ Google
Xiaomi
Zipme app
Me
RECORD 4K VIDEO 2 MORE TIMES
Download V2 MAGISK MODULES
Read more about HEVC ( Highly efficient video codec) https://www.tomsguide.com/us/hevc-4k-explained,news-18206.html
60 minutes of 4k video in mp4 format--
Encoded in h264 = 18.6 GB
Encoded in hevc = 10.9 GB
So it save about 40% of storage without losing quality.
SD 625 has native HEVC encoder so it is fast and battery saving.
How can i edit my mod gcam if it force closes? I want to install this.
slasherzx said:
How can i edit my mod gcam if it force closes? I want to install this.
Click to expand...
Click to collapse
Hello! I've fixed it. Now no error at all. Check it out:good:
How to uninstall this mod ...it force close the Google camera
jawahar.T said:
How to uninstall this mod ...it force close the Google camera
Click to expand...
Click to collapse
Sorry… I am fixing it. Please wait
Resurrection remix .....
jawahar.T said:
How to uninstall this mod ...it force close the Google camera
Click to expand...
Click to collapse
Now i've fixed it. Redownload attach file. Sorry for inconvenient:crying:
jawahar.T said:
Resurrection remix .....
Click to expand...
Click to collapse
It should work.U Can try bro:good: and report back. If something break, just dirty flash rom.
just tested on nougat custom rom. All running fine
asusm930 said:
just tested on nougat custom rom. All running fine
Click to expand...
Click to collapse
Enjoy bro!:angel:
It works on miui ported camera ..but not on Google ported camera ....
jawahar.T said:
It works on miui ported camera ..but not on Google ported camera ....
Click to expand...
Click to collapse
Do you mean google camera on AOSP rom? Do you flash new zip call hevc oreo 1 zip? If not try it, I've fixed it. Report back:fingers-crossed:
Which rom are you using?
Am on resurrection remix ROM .7.1.2
Which file to be flashed??
jawahar.T said:
Am on resurrection remix ROM .7.1.2
Which file to be flashed??
Click to expand...
Click to collapse
https://forum.xda-developers.com/attachment.php?attachmentid=4402186&d=1517130724
First flash this. If still dont work, i will look into it.
Dont forget to enable camera2api if it isn't enabled.:good:
Thanks.... works fine ....awsome bro thanks for the faster solution:fingers-crossed:
jawahar.T said:
Thanks.... works fine ....awsome bro thanks for the faster solution:fingers-crossed:
Click to expand...
Click to collapse
Enjoy bro
lowlight video still in low fps
NemanjaS23 said:
lowlight video still in low fps
Click to expand...
Click to collapse
It may be due to camera hardware.
please Test with original camera if there is the same
Related
Hello,I have recently searching in XDA how to fix bugs in custom ROMs and from there I made a flashable zip to fix all bugs in RR like video,audio recording,sensors etc...I am not a developer..I have taken OK's meta-inf(from his flashable zip).Do a fresh install of RR then flash this zip....I have personally tested it in my r3s and it worked..thnx
https://drive.google.com/file/d/0B47bhL6EWDAQc3ZXV0VJRDJjZk0/view?usp=drivesdk
What are the remaining bugs after this?
np20feb said:
What are the remaining bugs after this?
Click to expand...
Click to collapse
You are right..there are no bugs except that.but sometimes video recorder freezes and works fine after reboot....have you tried the zip??noticed any bug after flashing??
Rr fix??
Solienatic said:
Hello,I have recently searching in XDA how to fix bugs in custom ROMs and from there I made a flashable zip to fix all bugs in RR like video,audio recording,sensors etc...I am not a developer..I have taken OK's meta-inf(from his flashable zip).Do a fresh install of RR then flash this zip....I have personally tested it in my r3s and it worked..thnx
https://drive.google.com/file/d/0B47bhL6EWDAQc3ZXV0VJRDJjZk0/view?usp=drivesdk
Click to expand...
Click to collapse
Yau can share tutorial for video recording fix RR rom???
If audio and sensor i'm can.. But for video recording i don know...
I'm Confused...
andreymixmax said:
Yau can share tutorial for video recording fix RR rom???
If audio and sensor i'm can.. But for video recording i don know...
I'm Confused...
Click to expand...
Click to collapse
Why don't you try it???Video recording will work perfectly but after some time when you will go to record video it will fail without any reason but will work surely after reboot....
i can try it but i do not know about the battery backup of the rr rom.becauese to explore bugs in it.i need to use it for some days.BTW the fix you gave for CM13 rom..does it solve recording issue? i have used that cm13 for like a fortnight and i was content with it...
---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------
also ..if you have tried both RR and CM13 ...which one would you suggest to be best as daily driver.Consider battery backup as well.
Google camera is not working for video recording
np20feb said:
i can try it but i do not know about the battery backup of the rr rom.becauese to explore bugs in it.i need to use it for some days.BTW the fix you gave for CM13 rom..does it solve recording issue? i have used that cm13 for like a fortnight and i was content with it...
---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------
also ..if you have tried both RR and CM13 ...which one would you suggest to be best as daily driver.Consider battery backup as well.
Click to expand...
Click to collapse
You can try both ROMs as their base are same also the battery backup...but RR is a bit more customizable than cm...thnx...
sheshuvadrevu said:
Google camera is not working for video recording
Click to expand...
Click to collapse
I have tried with stock camera app...hope it is also working for you.....thnx....
Solienatic said:
I have tried with stock camera app...hope it is also working for you.....thnx....
Click to expand...
Click to collapse
Yup it's working for me on stock
is vedio chat on duo or messenger working? and whatsapp audio calls?
i tried the installation file with TWRP
(now the camera seems to be recording, the file is stored, but there is only the first image and no sound.
is there an extra step ? permissions are set during the installation ?)
ok, after a "clean" install it is working fine !
what i've done:
re-flash RR rom , flash final fix, wipe cache and dalvik (i keeped data)
so working : microphone for apps like google voice... , sensors for screen rotation, camera + video, ans till now everything
thanks
Good job bro... All bugs fixed.. Thanks..
now that everything works, i tried to install xposed... and it works too
i just follow this forum : http://en.miui.com/thread-298586-1-1.html (scroll at the end of the first post)
enjoy !
i just tried...the vedio recording works for a few times but then it does save vedio but the vedio is just one frame ...i even restarted my phone still same thing.i tried both RR with its fix..and CM with its.Same problem in both.otherwise very stable..audio recording is working fine.no issues with whatsapp calls(which previously was not working),also vedio calling is working fine.
np20feb said:
i just tried...the vedio recording works for a few times but then it does save vedio but the vedio is just one frame ...i even restarted my phone still same thing.i tried both RR with its fix..and CM with its.Same problem in both.otherwise very stable..audio recording is working fine.no issues with whatsapp calls(which previously was not working),also vedio calling is working fine.
Click to expand...
Click to collapse
Right,,, sometimes can't play the video recording..
Rebott,, video don't play...
Must new video..
Any solution?
andreymixmax said:
Right,,, sometimes can't play the video recording..
Rebott,, video don't play...
Must new video..
Any solution?
Click to expand...
Click to collapse
Bro I have told if video recorder freezes,you can make it run again by rebooting and play the videos which you have recorded then,not before rebooting...and videos recorded before rebooting will still be frozen....only sound a still image...
But I am finding a solution.....
Solienatic said:
Bro I have told if video recorder freezes,you can make it run again by rebooting and play the videos which you have recorded then,not before rebooting...and videos recorded before rebooting will still be frozen....only sound a still image...
But I am finding a solution.....
Click to expand...
Click to collapse
My phone always freeze after reboot.. Must new video recording.. Can play...
Audio work in video but video/image not work..
andreymixmax said:
My phone always freeze after reboot.. Must new video recording.. Can play...
Audio work in video but video/image not work..
Click to expand...
Click to collapse
Thnx for your feedback...will try with stock miui 8 libs....BTW have you clean flashed RR before flashing the fix.?...it is recommended...
Solienatic said:
Thnx for your feedback...will try with stock miui 8 libs....BTW have you clean flashed RR before flashing the fix.?...it is recommended...
Click to expand...
Click to collapse
Any file stock miui 8 libs??
I new flasher twrp..
Clear dalvik and cache..
Sometimes onlu freeze the Phone..
I'm Confused...
Hi RN4 users, this is my first post.
Just want to share the info, that RN4 can record UHD/4K using any 3rd party camera from Google Play, that supports 4K recirding.
Tested on apps like Google Camera and CameraMX (com.magix.camera_mx)
Enjoy
gds06 said:
Hi RN4 users, this is my first post.
Just want to share the info, that RN4 can record UHD/4K using any 3rd party camera from Google Play, that supports 4K recirding.
Tested on apps like Google Camera and CameraMX (com.magix.camera_mx)
Enjoy
Click to expand...
Click to collapse
On MIUI too or just custom ROMs?
hamzaalijoiyah said:
On MIUI too or just custom ROMs?
Click to expand...
Click to collapse
on any ROM
i am using MIUI
flash this with twrp for 4k video recording and other more options in stock miui rom camera
blueandro said:
flash this with twrp for 4k video recording and other more options in stock miui rom camera
Click to expand...
Click to collapse
Flash for what.
gunsheriff said:
Flash for what.
Click to expand...
Click to collapse
Now its there..
MTK too or only SD?
no need to flash...just install any camera from google play, that supports 4k recording...
rn4 hardware is compatible, but not implimented by xiaomi....
dont know about mtk model, but it should work as camera module are same
Working great on RN4 SD Global!
Tested with CameraMX and video resolution is 3840x2160 at 24 frames/sek.
Picture quality is superb however I don't need this resolution for the moment since I don't have any 4K TV or monitor home (yet !)
blueandro said:
flash this with twrp for 4k video recording and other more options in stock miui rom camera
Click to expand...
Click to collapse
Anyone tried this at MTK?
xtreme97 said:
Anyone tried this at MTK?
Click to expand...
Click to collapse
No chance ((
We need kernel support for that. Even LeEco camera + Libs (from helio x20 phone) didn't work. Only FullHD.
Hey,
I made a little, flashabel zip with the latest Google Camera from B-S-G and the camera2 api fix from defcomg and shaneel1491. I also added a optimized media_profiles.xml.
Tested on:
MIUI 8 (7.0), MIUI 9 (7.0), HalogenOS (7.1.2), RR (7.1.2), Hexagon (7.1.2), AICP (7.1.2), Nexus Experience (7.1.2)
:silly: Please don't try to install it on Marshmallow Roms when you don't know how to fix your system in a case of a Bootloop or similar
Example photos:
golfinry said:
This is amazing! http://imgur.com/a/aiXbF
First photos are stock, 2nd are with Google camera. Using LOS 14.1
Click to expand...
Click to collapse
Download:
V1 Classic and Manuel installation:
https://drive.google.com/folderview?id=0BwDmr8iRO9LqUTJlOVJ1dWJyS3c
Solution when the Google Camera crashes on start up:
https://drive.google.com/folderview?id=0BwDmr8iRO9LqS21uYVJaVWZfeE0
All credit and thanks to:
B-S-G https://4pda.ru/forum/index.php?showuser=243055
@defcomg
@shaneel1491
@Shaky156
Thx works fine on RR
can the front camera work?
hahaha, it works.thanks a lot.
edit: it worked few times, but now it get force close.
Edit 2: flash off makes front camera doesn't work, select flash auto worked
Works fine.
Also with flash
It forces close on latest lineage rom [emoji853]
Sent from my MI 5s using Tapatalk
clean install from yesterday works fine all stock.
rr weekly rom
Force close on AICP 08-11
Pvcabr said:
Force close on AICP 08-11
Click to expand...
Click to collapse
Open the zip file and install the apk, try again
Hi everyone. I made these magisk modules here:
https://drive.google.com/open?id=0B5EdI6gTWoGsaTcxOWZaekVpTUU
cam_api2_los: Camera api2 fix aosp (los) version
cam2_magisk: Camera api2 fix miui version (I'm not sure, you can know after installation, but it doesn't work ,just use the 1st version)
gcam_hdr_xml: The xml file for GCam to have slow motion, from the latest 4pda. I think the author is going to update the new xml because the latest GCamera is for pixel 2 and the video recording is unstable. (I don't understand Russian, used google translation)
Then you can just install Google camera as a normal app
All the credits belong to to devs that provide the api 2 fix and xml file. It's trivial to make them magisk.
forgivemypoorEN said:
cam_api2_los: Camera api2 fix aosp (los) version
cam2_magisk: Camera api2 fix miui version (I'm not sure, you can know after installation, but it doesn't work ,just use the 1st version)
Click to expand...
Click to collapse
The Camera api2 fix for AOSP also works on miui.
forgivemypoorEN said:
Then you can just install Google camera as a normal app
Click to expand...
Click to collapse
I would recommend everyone to replace the media_profiles.xml with my version
(I found it also on 4pda but increased the JPEG Quality to 100%)
This is amazing! http://imgur.com/a/aiXbF
First photos are stock, 2nd are with Google camera. Using LOS 14.1
jigs4wkiller said:
The Camera api2 fix for AOSP also works on miui.
I would recommend everyone to replace the media_profiles.xml with my version
(I found it also on 4pda but increased the JPEG Quality to 100%)
Click to expand...
Click to collapse
I've changed the xml mod also to 100%, I noticed that you didn't change line 43, I wonder if I need to change that line to have 95 or 100 jpg quality actually work?
Update: After increasing to 100%, there are however:
1. No increased size of hdr+ jpg (still 1-3 mb) size
2. Significantly increased size of hdr off jpg.
We mainly use the hdr+ from GCam, so I think the original xml file is just fine. If anyone's interested, you can download the history version of the magisk mod
357662149 said:
Open the zip file and install the apk, try again
Click to expand...
Click to collapse
Slow motion and all the other modes are good.
Just Front cam force close and no EIS
Thanks for the tip
Sent from my MI 5s using Tapatalk
Pvcabr said:
Slow motion and all the other modes are good.
Just Front cam force close and no EIS
Thanks for the tip
Click to expand...
Click to collapse
Front cam only crashes when you set display flash to on or off, when you set it to automatic it doesn't crash.
jigs4wkiller said:
Front cam only crashes when you set display flash to on or off, when you set it to automatic it doesn't crash.
Click to expand...
Click to collapse
Thanks!
Sent from my MI 5s using Tapatalk
Thanks working amazing on RR rom, but why is apk only english, not multilanguage?
Tapatalkkal küldve az én Mi 5s eszközömről
App collapses on mi5s.
Any help pls?
Sent from my MI 5s using Tapatalk
uniQ_87 said:
App collapses on mi5s.
Any help pls?
Click to expand...
Click to collapse
Try to clear cache+data from the App.
If it doesn't work, Install manually the apk from the zip.
Thnx. I tried to install from the zip aswel. Didn't work.
What does 'clear cache &data from the app' means? And how do i do that
Sent from my MI 5s using Tapatalk
---------- Post added at 09:58 PM ---------- Previous post was at 09:44 PM ----------
This is the report. Will this help in any way?
java.lang.NoSuchMethodError: No virtual method isInMultiWindowMode()Z in class Landroid/app/Activity; or its super classes (declaration of 'android.app.Activity' appears in /system/framework/framework.jar)
at com.google.android.apps.camera.legacy.app.ui.MainActivityLayout.onMeasure(PG)
at android.view.View.measure(View.java:18811)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5952)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:18811)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5952)
at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:446)
at android.view.View.measure(View.java:18811)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5952)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2645)
at android.view.View.measure(View.java:18811)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2143)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1259)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1495)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1150)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6066)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:860)
at android.view.Choreographer.doCallbacks(Choreographer.java:672)
at android.view.Choreographer.doFrame(Choreographer.java:608)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:846)
at android.os.Handler.handleCallback(Handler.java:742)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:5544)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
Sent from my MI 5s using Tapatalk
Hey, thanks OP. Can you please explain what the xml file is for and how I use it?
Oneplus 3 camera port - Oneplus 2
Disclaimer
This Port will only work on android 8.0 or higher
Please delete the previous Oneplus camera app if installed
This a flashable zip
Features
Everything is working fine except hdr since there is no support for hdr in hal 3
Does this works with Lineage OS ?
I'm on Viper 3.0 (Hal 1) and everithing seames to be working, the pictures seam more clear than viper's stock camera, no problems so far! Good job!
Work on oos 3.5.8?
Kindly specify supported Android/OOS versions.
Akshaysihag said:
Does this works with Lineage OS ?
Click to expand...
Click to collapse
Yes
---------- Post added at 12:21 PM ---------- Previous post was at 12:16 PM ----------
zxaryo said:
Kindly specify supported Android/OOS versions.
Click to expand...
Click to collapse
this, are mentioned in the first post
Does the ROM need to have HAL3 support for raw image capture?
Thanks for porting.
zxaryo said:
Does the ROM need to have HAL3 support for raw image capture?
Thanks for porting.
Click to expand...
Click to collapse
not needed
Is this zip the latest one... I mean there was a new oxygen os update for 5...this update has improved the cam... Thats y asking
mackhenri said:
Is this zip the latest one... I mean there was a new oxygen os update for 5...this update has improved the cam... Thats y asking
Click to expand...
Click to collapse
it is from the latest update
vignesh95 said:
it is from the latest update
Click to expand...
Click to collapse
Thanks bro... Saved me time... Was going to make or look for one.
Getting an error as close camera service stopped
mackhenri said:
Thanks bro... Saved me time... Was going to make or look for one.
Getting an error as close camera service stopped
Click to expand...
Click to collapse
what rom are u using ?
Unoff rr...error on both the phones
mackhenri said:
Unoff rr...error on both the phones
Click to expand...
Click to collapse
did u uninstalled the previous oneplus camera app from that rom before flashing my zip.
vignesh95 said:
did u uninstalled the previous oneplus camera app from that rom before flashing my zip.
Click to expand...
Click to collapse
Yup..
mackhenri said:
Yup..
Click to expand...
Click to collapse
Try deleting the below mentioned files
Org.codeaurora.camera.jar in system/framework
Oneplus camera and Oneplus camera service in system/priv-app
vignesh95 said:
Try deleting the below mentioned files
Org.codeaurora.camera.jar in system/framework
Oneplus camera and Oneplus camera service in system/priv-app
Click to expand...
Click to collapse
Flashed your zip and just deleted the jar file... Works fine now
Manual mode working (max sutter speed 30s, iso 6400),
4k video working,
HQ working,
Slow Motion working.
HDR not working
Panorama (couldn't get to work, app freezing),
raw images are broken ( a 26 Mb (almost) dng file is getting saved along with jpg, but showing error while trying to open in Snapseed, Adobe Lightroom, Photoshop).
Tested on Legend ROM with ( HAL3 ).
Yes, I did remove older versions, the Camera service and the jar file mentioned above.
Please comment your results.
(Can't live without raw )
zxaryo said:
Manual mode working (max sutter speed 30s, iso 6400),
4k video working,
HQ working,
Slow Motion working.
HDR not working
Panorama (couldn't get to work, app freezing),
raw images are broken ( a 26 Mb (almost) dng file is getting saved along with jpg, but showing error while trying to open in Snapseed, Adobe Lightroom, Photoshop).
Tested on Legend ROM with ( HAL3 ).
Yes, I did remove older versions, the Camera service and the jar file mentioned above.
Please comment your results.
(Can't live without raw )
Click to expand...
Click to collapse
Everything thing is working fine in hal 1
Currently hal 3 doest have support for hdr
vignesh95 said:
Everything thing is working fine in hal 1
Currently hal 3 doest have support for hdr
Click to expand...
Click to collapse
Ok I'll try Lineage later today.
Are you sure about raw on HAL1;
Did you try opening the dng file?
Also the image quality is below average (Legend ROM HAL3), In case anyone was wondering.
Hello guys this is working port of nubia camera
-E aperture (electronic aperture) this app is good for capturing silky water and floating cloud max shutter speed is 72.6s no need ND filter for creating silky water
-Nubia light painting app this app is good for creating light painting photography
All you need to do is click to capture and stop to save the image (max shutter speed is unlimitted depends when you stop the captured image)
Two apk attached and photo sample attached
Credits: all sexy camera mod member on telegram for helping me to inject the lib and make it works on whyred
Tested on
Whyred redmi note 5pro/ai
Santoni redmi 4x
Rosy redmi 5
Working on stock miui rom with/without unlocked bootloader
No need root
Sample photo taken from whyred
looks amazing! i am on aosip rom.. will it work? & which apk to install? thanks for this great job :laugh:
learnerz said:
looks amazing! i am on aosip rom.. will it work? & which apk to install? thanks for this great job :laugh:
Click to expand...
Click to collapse
Try both
apk for silky water
Apkk for light trail
Both have different features
This port cam only for long exposure photography? I tried on RMN5 AI but limited 2.1MP and f2.8 aperture
Not working on Pie. Nothing happens when you open. Then after few times it shows force close dialog.
xactor said:
Not working on Pie. Nothing happens when you open. Then after few times it shows force close dialog.
Click to expand...
Click to collapse
Thanks for testing on pie maybe due to compability issue
the second link doesn't work for me
btw thanks for sharing
l'irlandais said:
the second link doesn't work for me
btw thanks for sharing
Click to expand...
Click to collapse
Installed but not work? Which rom?
evanlocked said:
Installed but not work? Which rom?
Click to expand...
Click to collapse
i mean can't download the second link
Edit: i can now
The second file can't be downloaded
hassan_eldhraawy said:
The second file can't be downloaded
Click to expand...
Click to collapse
Try again other uaer can download it too after try several time gonna mirror it after going home
i confirm i managed to download the second file after a couple of try.
by the way both of the apk work well on pixel expérience rom
I had a doubt im on miui 10 8.8.2 and have installed both the apps. Both are working perfectly however I'm confused with the 72 s shutter mode in e aperture because my phone takes just about 5 secs to capture the image . Is this normal ?
Do you have full nubia camera with working on Redmi note 5?
Can you please share a working link
evanlocked said:
Thanks for testing on pie maybe due to compability issue
Click to expand...
Click to collapse
Both working fine on pie. Thanks for sharing
Second link not working
Here, I uploaded it again!
AmoghUpadhyay said:
Here, I uploaded it again!
Click to expand...
Click to collapse
thanks