[Cam mod] Increase Bitrate to 80 Mbps/160Mbps! - Xperia Z1 Android Development

INCREASED BITRATE OF 4K VIDEO
PLEASE MAKE A BACKUP, PLEASE PLEASE PLEASE PLEASE
I take no responsibility if:
- Your phone causes a nuclear explosion
- You run out of storage space because of over-use
- Your phone overheats and melts
So, since I had some free time I went ahead to try increase bitrate of 4k Video with success, 80Mbps now works.
I haven't tried any higher yet or not.
I DO NOT suggest anyone use the 160 mbps version, as this equates to ~1.2 GB per minute of video unless you want super duper ultra mega explosive destructive sd card filling quality.
Requirements:
- Xperia Z1 / Z1s / Z2
- Stock Sony ROM, probably based on 4.4.4 and deodexed with Superuser mod
- Camera mod with 4k video already flashed, the one by Chocolatetrain is a good one:good::good:
- Common sense
Someone please confirm if this works on Z2 or not
FAQ:
Does this work on a device that's not the Xperia Z1/Z1s?
I don't know, I haven't tested it. It probably will work on Z2.
Does this work on AOSP?
No
Are you gonna reach Infinite bitrate or what?
IMPOSSIBRU. Video quality isn't bottlenecked by bitrate that much at high values, therefore no need to increase any further.
Instructions:
1. Download attached ZIP (80 mbps one preferably)
2. Flash away in recovery

Increased bitrate for 1080p @ 60 fps timeshift video + 4K UHD - 80 Mbps
Original post:http://forum.xda-developers.com/showpost.php?p=54805924&postcount=17
Please thank the amazing TheEndHK for this modification!
It's completely extends my mod to include timeshift and 1080p60.
Instructions:
1. Flash in recovery

last one

Cool, does it just modify the 4k part?
coz i hope i can keep other stuff from the @Chocolatetrain mod

KWOKSFUNG said:
Cool, does it just modify the 4k part?
coz i hope i can keep other stuff from the @Chocolatetrain mod
Click to expand...
Click to collapse
Yes no problem

Well works on RomAur9.1
Thanks for this, and it seems working good, 4k recordings have brighter when recorded.

It works perfectly on Z1 Compact.:good:

@ OP, can I have ur permission to use this mod on my upcoming project ( I will put ur name on "Thanks to" section )

It should be wipe?

BlackSoulxxx said:
@ OP, can I have ur permission to use this mod on my upcoming project ( I will put ur name on "Thanks to" section )
Click to expand...
Click to collapse
Permission granted.
300g said:
It should be wipe?
Click to expand...
Click to collapse
I don't understand. Just flash the file if you meet the requirements I listed.

Lol damn, works great, but mine's say is at 72.3 mbps of bitrate, but is working amazing.
10 seconds of recording = 100mb video lol

jancarlos1597 said:
Lol damn, works great, but mine's say is at 72.3 mbps of bitrate, but is working amazing.
10 seconds of recording = 100mb video lol
Click to expand...
Click to collapse
Wipe?wipe dalvik?

300g said:
Wipe?wipe dalvik?
Click to expand...
Click to collapse
Nope, will do it later, but idk the bitrate increased, before i install the mod, it was like 40 or 55mbps, now it's at 72.
But will do the wipe, thanks :thumbs:

jancarlos1597 said:
Nope, will do it later, but idk the bitrate increased, before i install the mod, it was like 40 or 55mbps, now it's at 72.
But will do the wipe, thanks :thumbs:
Click to expand...
Click to collapse
Now install and works very well, but very fast memory full 10 seconds 110Mb

Update: 110 Mbps video bitrate, trying higher. Seems pointless, but it's for the lols.
Update 2: Seemed to hit a hard ceiling at 160 mbps video bitrate.

God damn!!!!!!!!!!!!!! D:
"PS. do you guys think the bitrate for 1080p @ 60 fps and Timeshift video should be modded?"
Yes, it would be great

jancarlos1597 said:
God damn!!!!!!!!!!!!!! D:
"PS. do you guys think the bitrate for 1080p @ 60 fps and Timeshift video should be modded?"
Yes, it would be great
Click to expand...
Click to collapse
I've already mod it personally for [email protected] and TimeShift Video both at 80Mbit/s now, I just tested all working correctly.
Copy them into /system/priv-app and set the right permission and remember reboot to recovery clean cache and dalvik cache. The SemcCamera.apk comes from Chocolatetrain's V7 8MP and SuperVideoCamera.apk from OP mod(80M 4k ver). Should work on both 4.4.2 and 4.4.4.
You guys please download both apk. SuperVideoCamera.apk only handle 4K and Timeshift stuffs, no [email protected]

TheEndHK said:
I've already mod it personally for [email protected] and TimeShift Video both at 80Mbit/s now, I just tested all working correctly.
Copy them into /system/priv-app and set the right permission and remember reboot to recovery clean cache and dalvik cache. The SemcCamera.apk comes from Chocolatetrain's V7 8MP and SuperVideoCamera.apk from OP mod(80M 4k ver). Should work on both 4.4.2 and 4.4.4.
Click to expand...
Click to collapse
Well that's awkward, you have successfully made post 2 quite redundant.

TheEndHK said:
I've already mod it personally for [email protected] and TimeShift Video both at 80Mbit/s now, I just tested all working correctly.
Copy them into /system/priv-app and set the right permission and remember reboot to recovery clean cache and dalvik cache. The SemcCamera.apk comes from Chocolatetrain's V7 8MP and SuperVideoCamera.apk from OP mod(80M 4k ver). Should work on both 4.4.2 and 4.4.4.
Click to expand...
Click to collapse
Wow, very nice bro, i will test it, and report it back tomorrow, thanks
---------- Post added at 10:23 PM ---------- Previous post was at 10:08 PM ----------
My phone got in a bootloop now, haha WTF D: D:. i wiped cache and dalvik, and setted the correct permissons, idk what's happening bruh :s
---------- Post added at 10:31 PM ---------- Previous post was at 10:23 PM ----------
jancarlos1597 said:
Wow, very nice bro, i will test it, and report it back tomorrow, thanks
---------- Post added at 10:23 PM ---------- Previous post was at 10:08 PM ----------
My phone got in a bootloop now, haha WTF D: D:. i wiped cache and dalvik, and setted the correct permissons, idk what's happening bruh :s
Click to expand...
Click to collapse
Got it working, thanks.

tomascus said:
Well that's awkward, you have successfully made post 2 quite redundant.
Click to expand...
Click to collapse
Please feel free to make a flashable zip for them #2, I don't have time to do that...lol
I've done some testing about high bitrate but it mainly improves the outdoor quality while indoor sure got improvement but not very significant.
720P is still 720P even boosted the bitrate to 80M the TimeShift result still not decent though more acceptable now.
I think 4K 160M still does very slightly improvement but will only happens at outdoor with real good direct sun light, not worth for that file size. People will need a fast 64GB SD card with 20MB/s write speed to handle it.
I don't know our s800 does support up to 160M. Actually, I've tried to mod the 1080p in the past but got artifacts when I reached 90M and anything above 90M seems will drop frames. I'm real surprised the 4K works well under 160M. I think the coding in 1080P(not sure about 720P) doesn't use the whole CPU potential.

Related

[Q][DISCUSSION] Best Video-Recording App?

Hey HOX users!
Which App do you think is the for recording video on the HOX?
The Sense-Camera makes videos which are quite OK, however the compression is way to strong and the framerate isn't good - as many discussions show.
Additionally, I've switched to CM9 (because of design, speed, battery, settings...), so I don't have the Sense-Camera anymore.
CM9's stock camera-app records bad video and crashes very often - I use Camera FV-5 for taking photos, and the quality is awesome
So there has to be a equal alternative for recording video!
Do you know good video-recorders, which do you use?
Greets
Unfortunately, there a next to no video recording apps for android because it has to be specifically designed for the camera.
brentett said:
Unfortunately, there a next to no video recording apps for android because it has to be specifically designed for the camera.
Click to expand...
Click to collapse
Yeah, I noticed that too, very sad though :/
I think the HOX is capable of shooting really great Videos with 60fps @ 720p, if there was an app capable of using monster
fekle said:
Yeah, I noticed that too, very sad though :/
I think the HOX is capable of shooting really great Videos with 60fps @ 720p, if there was an app capable of using monster
Click to expand...
Click to collapse
Yes.. that app is the Camera.apk that comes with the Sense ROMs. The drivers and the app are very tightly intergrated. I doubt CM9 developers will ever develop something as good as HTC when it comes to that
you should use lgCamera, you got a free version "Lite" and a paid, "Pro"
you'll get 2 apps.. one camera and one video recording
with the camera, you'll get uncompressed pictures, they'll be ~4,5mb instead of ~1,5mb
with the video recorder, you can change:
Bitrate: HTC uses 11mbps and Galaxy S3 uses 17mbps for 1080p... with this app, you can set it up to 100mbps, but that's overkill, just put it at 20mbps (with this, you get smooth recording)
Sound quality: you can record stereo sound and max 320kbps with 48hz
record in 3gp or mp4 (mp4 will be played with hardware)
Camera ICS+ all the way
https://play.google.com/store/apps/details?id=com.moblynx.cameraicsplus
zerozoneice said:
Camera ICS+ all the way
https://play.google.com/store/apps/details?id=com.moblynx.cameraicsplus
Click to expand...
Click to collapse
only record 720p? and double bitrate is 7mbps??
lgCamera is way better!
lgCamera doesn't work for me (and reading comments in GPlay, for many).
I see the buttons, but video feedback (viewfinder) is just black. When trying to record video, it says "Video recording failed".
So yeah...
Super-Veloce said:
only record 720p? and double bitrate is 7mbps??
lgCamera is way better!
Click to expand...
Click to collapse
HUH?
1080p @ 33mbps for starters....
DarkDvr said:
lgCamera doesn't work for me (and reading comments in GPlay, for many).
I see the buttons, but video feedback (viewfinder) is just black. When trying to record video, it says "Video recording failed".
So yeah...
Click to expand...
Click to collapse
they made lgCamera availble for One X
had black screen too with lite, but not with pro
try restarting your device, this could work
---------- Post added at 06:02 PM ---------- Previous post was at 05:58 PM ----------
zerozoneice said:
HUH?
1080p @ 33mbps for starters....
Click to expand...
Click to collapse
I can set bitrate to 2x but I can't select 1080p video recording?
Super-Veloce said:
I can set bitrate to 2x but I can't select 1080p video recording?
Click to expand...
Click to collapse
Hi,
slide the option in menu left and right to change
cheers
starbase64
---------- Post added at 09:09 PM ---------- Previous post was at 09:04 PM ----------
zerozoneice said:
HUH?
1080p @ 33mbps for starters....
Click to expand...
Click to collapse
Hi,
i have pro version and with bitrate 2x only 23fps
cheers
starbase64
I guess I got a different Camera ICS+.. can't get more video recording settings.. I can only move up and down
sorry wrong thread, pls delete.

[Q] -How do you Improve S3 Camera?

I was interested in using the HX Camera Mod which can record:
http://www.youtube.com/watch?v=CWb6rVWBkMs
"This is an application developed by hyperX for ROOT users that allows you to increase the video recording specification from 19 Megabits per second to 24 Mbps in fine mode to an impressive 30Mbps in superfine mode.
This improvement works when the device is recording in HD at 1080p and even if the quality video is 720p is, raising from 10Mbps to 15Mbps in fine mode and 19Mbps in superfine mode, hyperX has also worked on improving the audio quality by raising to 192 Kbps and according to comments is developing an option to increase to 60 frames per second."
But I heard its only for the International variants...
So, are there any good ways to improve the camera quality?
re: camera mod
Dove99x said:
I was interested in using the HX Camera Mod which can record:
http://www.youtube.com/watch?v=CWb6rVWBkMs
"This is an application developed by hyperX for ROOT users that allows you to increase the video recording specification from 19 Megabits per second to 24 Mbps in fine mode to an impressive 30Mbps in superfine mode.
This improvement works when the device is recording in HD at 1080p and even if the quality video is 720p is, raising from 10Mbps to 15Mbps in fine mode and 19Mbps in superfine mode, hyperX has also worked on improving the audio quality by raising to 192 Kbps and according to comments is developing an option to increase to 60 frames per second."
But I heard its only for the International variants...
So, are there any good ways to improve the camera quality?
Click to expand...
Click to collapse
The mod you wrote about is old, and it will work with our T999 phones but there
is a lot newer and better modded camera available here: http://d-h.st/hiQ
Give it a try,
Misterjunky said:
The mod you wrote about is old, and it will work with our T999 phones but there
is a lot newer and better modded camera available here: http://d-h.st/hiQ
Give it a try,
Click to expand...
Click to collapse
Are there videos showing it in action? I did some Google search and it looks like its video quality is the same as the s3. It also says its for stock roms, I have the PACman rom. I'm not sure why it says its for stock roms but will it work? Plus would it provide the same video quality as the youtube video I posted?
I looked online youtube videos of the note 2 camera and it looks the same as the s3 camera
UPDATE:
Installed it, didn't really see any change to anything
re: new modded cameras
Dove99x said:
Are there videos showing it in action? I did some Google search and it looks like its video quality is the same as the s3. It also says its for stock roms, I have the PACman rom. I'm not sure why it says its for stock roms but will it work? Plus would it provide the same video quality as the youtube video I posted?
I looked online youtube videos of the note 2 camera and it looks the same as the s3 camera
UPDATE:
Installed it, didn't really see any change to anything
Click to expand...
Click to collapse
It has fast motion and slow motion record amongst other things like small windowed pop out playback within other apps.
Misterjunky said:
It has fast motion and slow motion record amongst other things like small windowed pop out playback within other apps.
Click to expand...
Click to collapse
I don't see those options, its still looks the same.I think its b/c I dont have stock rom...or im doing something wrong
I installed the zip, deleted the delvic cache, and restarted. I don't see the slow motion option or any change
I'm running android 4.2.2
Basically, I'm not sure how to install it since what I've been doing hasn't worked.
I think when you see stock rom it doesnt mean aosp it means stock for its manufactor. htc phones (stock sense)
samsung (stock tw) if it says aosp then you know its not stock
---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------
Misterjunky said:
The mod you wrote about is old, and it will work with our T999 phones but there
is a lot newer and better modded camera available here: http://d-h.st/hiQ
Give it a try,
Click to expand...
Click to collapse
What is that? stock note2 aosp camera? where you found that? also can you point me to that mod that works and this one on the video? would like to try it
gypsy214 said:
I think when you see stock rom it doesnt mean aosp it means stock for its manufactor. htc phones (stock sense)
samsung (stock tw) if it says aosp then you know its not stock
---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------
What is that? stock note2 aosp camera? where you found that? also can you point me to that mod that works and this one on the video? would like to try it
Click to expand...
Click to collapse
I think its from this thread, but still I have no idea how to get it work.
http://forum.xda-developers.com/showthread.php?t=2212555
Dove99x said:
I think its from this thread, but still I have no idea how to get it work.
http://forum.xda-developers.com/showthread.php?t=2212555
Click to expand...
Click to collapse
Awesome thanks. But that name doesnt match the one in the video. Also Im assuming this is from the link that was posted above. Seems like this is a note 2 camera modded and themes like the aosp. Witch is fine with me because it looks more like the S4. But also seems like it only works on Android 4.1.2 and not 4.1.1

[MOD] Enable ClearMotion on MIUI based ROMs

Folks, I bring to you the wonderful frame interpolation feature supported by our chipset MediaTek Helio X10: ClearMotion!
Disclaimer:
Confirmed working on most MIUI builds for Redmi Note 2. (7.0.12, 7.0.14, 7.1.4.0 CHINA, 7.1.3.0 CHINA, 5.12.24, 5.12,23, 5.11.1 etc)
Does not work on Global stable MIUI Builds beyond 7.0.12; however, it works in equivalent China builds.
Pre-requisites:
Rooted Redmi Note 2 (or MediaTek based device on MIUI 7 ROM)
TWRP or CWM recovery installed
Flashable zip file containing ClearMotion libraries ported to MIUI
Steps:
Method 1:
Download the file "Enable_ClearMotion_v2_for_Redmi_Note_2_by_Hasaan6545.zip" and place it in your sdcard
Reboot into recovery and backup your ROM (as a precaution).
Flash the file. Reboot
Play a video using MX Player (or any player that supports HW decoding) and feel the difference
Method 2 (Only for those who can not flash the zip for any reason; you may attempt manual installation).
Download the file "Enable_ClearMotion_v2a_for_Redmi_Note_2_by_Hasaan6545.zip" and place it in your sdcard. Extract the folder.
Using "Root Explorer", navigate to "system/build.prop" and use its built in text editor to add the following lines at the end of the file. Don't forget to add an extra empty line at the end.
Code:
persist.sys.display.clearMotion=1
persist.clearMotion.fblevel.nrm=255
persist.clearMotion.fblevel.bdr=255
ro.mtk_clearmotion_support=1
ro.mtk_slow_motion_support=1
ro.mtk_16x_slowmotion_support=1
(Alternatively, you may add these lines to your build.prop file using any build.prop tweaker from Play Store)
Using Root Explorer, copy the libraries located in the zip file's system/lib folder into your phone's "root>system>lib" directory.
Reboot your system and play a video to see the difference (if the mod worked for you)
For more details on ClearMotion Technology and how to check if it is working for you: HERE
Download link: HERE
WHY NOT SIMPLY USE AOSP ROMs FOR CLEARMOTION ON REDMI NOTE 2?
AOSP ROMs for Redmi Note 2 offer ClearMotion and MiraVision by default; however, there are advantages of using ClearMotion on MIUI instead of switching to AOSP:
Camera with MediaTek's InstantFocus™ and TrueBright™ technology: On MIUI, we retain a good quality camera that we have to sacrifice when switching to AOSP. (Yes, the fast focus speeds and superior image quality on MIUI ROMs are not due to the "so-called" PDAF sensor; it's because of Helio X10's InstantFocus and TrueBright technologies; both of which are operational in MIUI Camera.
Most AOSP ROMs for Redmi Note 2 are (currently) plagued by an assortment of deep sleep bugs that pop up at times and drain battery during standby. This is very annoying; and is attributable to AOSP Lollipop Build 5.0.x more than the ports itself.
Slow Motion feature on MIUI is superior to that in AOSP's (the latter needs the stock camera app and saves videos that can be played in slow motion only through the stock video player; whereas MIUI actually exports a slow motion video in mp4 format that can be played using any player, and can also be shared)
I really feel suited to AOSP, but the MIUI ROM also has much eye candy to offer.
If you like this mod, don't forget to hit the thanks button!!
Notes:
This is an answer to those who claim that this mod makes the ROM stagefright vulnerable (Ironically, the same people include this mod within their ROMS)
30/12 V2 released: Added build.prop tweak in the zip file so installation is much more simpler. Stagefright issue investigated: Modifications in an older AOSP-based libstagefright.so included in this mod are necessary for the mod to work. Those of you who are still upset about stagefright alarm in some stagefright testing apps, please consider the following:
1. You may simply disable MMS auto-retrieval for their safety
2. Flash this patch that disables stagefright functions using build.prop (Credits: Edzamber, source) : http://www.mediafire.com/download/gi4113dll3g98l6/Disable_Stagefright_by+build.prop_v2.zip
3. There is very, very little possiblity that the stagefright bug will ever be exploited against you; whereas the mod is yours for everyday use.
Click to expand...
Click to collapse
Last but not the least, I respect the developer community; however, the courtesy of giving credit for the mod when included in the ROMs should humbly be observed. I posted this mod in December 2015; prior to which nobody was able to enable ClearMotion on MIUI and many people claimed that it would be impossible to do so due to software differences.
Happy modding everyone
Link dead
SKARZz said:
Link dead
Click to expand...
Click to collapse
EDIT: he used adfly which is probably why the link shows that is dead.
http://www4.zippyshare.com/v/YKjObePN/file.html
Note: Adfly links are not allowed on xda or any other money redirecting links. XDA is not a place to make money.
You have some post and rep I thought u knew adfly links are not allowed ^^
Awesome. Would work in CM?
Sent from my Redmi Note 2 using Tapatalk
The link was copied from my blogpost, hence the adfly link.
I have replaced it now.
PoDgAnA said:
EDIT: he used adfly which is probably why the link shows that is dead.
http://www4.zippyshare.com/v/YKjObePN/file.html
Note: Adfly links are not allowed on xda or any other money redirecting links. XDA is not a place to make money.
You have some post and rep I thought u knew adfly links are not allowed ^^
Click to expand...
Click to collapse
Does it work in YouTube?
You should add build.prop writer inside updater script
Sent from my Redmi Note 2 using Tapatalk
---------- Post added at 05:50 AM ---------- Previous post was at 05:19 AM ----------
Wow fluid!!
Sent from my Redmi Note 2 using Tapatalk
works like charm!!rly thx for that m8 the difference is HUGE!!what about miravision too?
I've installed this mod but after I set 1 in EngMode my screen don't divide ( wich means that ClearMotion don't work ). But I think I see some differences in video and YouTube... Is this an option ? Mod working but screen don't divide în ClearMotion Demo ? I have Reno2 Prime and MIUI 7 5.11.5 Beta.
P.S. I have 2 screenshots with and without this mod on YouTube video.. If that help you..
P.S. 2 Maybe I'm crazy and there is no differences and Mod don't work on my ROM
Can't play some video on youtube such as this https://youtu.be/5e2G5CcuMfs thats ironic, the video tells about clearmotion
Edit : no error again?? Maybe youtube unstable
jerryshaw12 said:
You should add build.prop writer inside updater script
Sent from my Redmi Note 2 using Tapatalk
---------- Post added at 05:50 AM ---------- Previous post was at 05:19 AM ----------
Wow fluid!!
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
I'll do that soon enough.
johnnyman25 said:
works like charm!!rly thx for that m8 the difference is HUGE!!what about miravision too?
Click to expand...
Click to collapse
Glad you like it
MiraVision works but MIUI's builtin display settings conflict with it.
I personally think that MiraVision is unnecessary because when you play videos on YouTube or view pictures against a black background, MiraVision thinks that the image being displayed is underexposed and therefore boosts up brightness and lowers the contrast which looks ugly. Apart from that, it's a handy little feature.
Gyovany96 said:
I've installed this mod but after I set 1 in EngMode my screen don't divide ( wich means that ClearMotion don't work ). But I think I see some differences in video and YouTube... Is this an option ? Mod working but screen don't divide în ClearMotion Demo ? I have Reno2 Prime and MIUI 7 5.11.5 Beta.
P.S. I have 2 screenshots with and without this mod on YouTube video.. If that help you..
P.S. 2 Maybe I'm crazy and there is no differences and Mod don't work on my ROM
Click to expand...
Click to collapse
Screenshots don't help. This mod can be seen to work while videos are being played. However, if the screen doesn't divide in demo mode, it's unlikely that the ClearMotion is functi onal. Have you tried playing the video using HW decoder on MX Player? Are you sure that build.prop lines are added properly?
Reinstall the mod and/or try it on any other MIUI version. It does work.
jerryshaw12 said:
Can't play some video on youtube such as this https://youtu.be/5e2G5CcuMfs thats ironic, the video tells about clearmotion
Edit : no error again?? Maybe youtube unstable
Click to expand...
Click to collapse
That obviously has nothing to do with ClearMotion. Just a random YouTube bug.
Javi22 said:
Awesome. Would work in CM?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Currently no; but I'm working on it
Wow! It works like a charm! Thank you.
Do you think it will have any effect on battery life?
PS: It seems like videos are playing a bit delayed but sound comes right on time.
dedebekri said:
Wow! It works like a charm! Thank you.
Do you think it will have any effect on battery life?
PS: It seems like videos are playing a bit delayed but sound comes right on time.
Click to expand...
Click to collapse
Glad you like it. The videos play perfectly in sync with the audio. The only noticeable delay is immediately after seeking (as the SoC loads the successive frames and generates images to interpolate).
As the whole process is hardware optimized, battery life does NOT suffer.
Can anyone confirm that this Mod work on MIUI Beta ROM ?
Works on MIUI 5.12.10 Developer Global ROM
Sent from my Redmi Note 2 using Tapatalk
wow, really works.. thanks man, tried to watch Home and the graphics was really great, its like im playing a pc game with texture quality set to ultra high.. hehe
SKARZz said:
Does it work in YouTube?
Click to expand...
Click to collapse
Brother I accidentally missed this question earlier. It came to my notice now so I am replying it late.
It does work on YouTube, Facebook and other similar apps. Basically it works wherever hardware decoding is used i.e. on all video formats supported by the native player.
Victorio_T said:
Works on MIUI 5.12.10 Developer Global ROM
Click to expand...
Click to collapse
Thanks for confirming
zhobotero69 said:
wow, really works.. thanks man, tried to watch Home and the graphics was really great, its like im playing a pc game with texture quality set to ultra high.. hehe
Click to expand...
Click to collapse
This mod boosts the framerate; not the texture itself. However, the output is visually pleasing and I guess I understand what you mean when you compare it to playing a Pc Game (Hardcore gamers always play at a minimum of 1080p @ 60fps )
hasaan6545 said:
Brother I accidentally missed this question earlier. It came to my notice now so I am replying it late.
It does work on YouTube, Facebook and other similar apps. Basically it works wherever hardware decoding is used i.e. on all video formats supported by the native player.
Thanks for confirming
This mod boosts the framerate; not the texture itself. However, the output is visually pleasing and I guess I understand what you mean when you compare it to playing a Pc Game (Hardcore gamers always play at a minimum of 1080p @ 60fps )
Click to expand...
Click to collapse
Oh thanks. Great job congratulations.
Only works with videos? I thought that ClearMotion is for 120 Hz in all, so UI (launcher, apps), etc...

Moto g4 plus camera mod [email protected]

Improved 1080p recording and picture quality
root required
Open media.zip and find media profile xml file extract it and then you can replace.
steps
1) open es file explorer go to device>system>etc
2) find media_profile.xml in etc folder
3) replace it with this media_profile.xml
4) save and reboot.
1) Increased photo compression quality to 100%.
2) Increased video bitrate from 17mbps to 24 mbps can go upto 30mbps but fps drops so 24 is best.
3) Increased audio bitrate to 14000.
4) Increased front camera video bitrate to 20mbps.
5) Increased memcap to twice .
pros
1) Better 1080p video recording from both front and back camera.
2) Image quality of front is improved marginally.
3) In daylight video from rear camera are best .
4) More clear audio .
5) In low light pictures are better than stock.
6 ) sharp and clear video.
cons
1) In low light because of high bitrate video look more contrasted.
2 ) Very small change in picture quality in daylight.
This is screenshot of front camera video bitrate
Does it work in roms too?
Yes any rom
And could it be a way to improve slow motion camera, or default options are the only one??
I got bootloop
edit: nevermind, my mistake xD
I got a boot loop after replacing the file. I'm on aosp extended.
Same here..got boot loop on RR
ivan290 said:
And could it be a way to improve slow motion camera, or default options are the only one??
Click to expand...
Click to collapse
When I added slow motion media profile then also the video is 960*540 it means it may be libs problem
Soham Biswas said:
Same here..got boot loop on RR
Click to expand...
Click to collapse
I have updated the media profile download media2.zip and try again
The new file works ?
Aby lad said:
I have updated the media profile download media2.zip and try again
Click to expand...
Click to collapse
It worked..??
Works on Moto G4 no plus?
sofsamu said:
Works on Moto G4 no plus?
Click to expand...
Click to collapse
It works on moto g4 plus
I can't able to see any difference
@op
U ported stock camera for moto g4 plus
Can u plz send me the link to that thread
Is this thread active
akilan30 said:
Is this thread active
Click to expand...
Click to collapse
Why do you think it's not active? Cause nobody post something?
Fps has drop dramatically while recording video. Pls improve it so much of lag, OMG!!!??
strongst said:
Why do you think it's not active? Cause nobody post something?
Click to expand...
Click to collapse
Yes brother actually i thought that,but brother slo mo video has low clarity any help with that? Can yu?
akilan30 said:
Is this thread active
Click to expand...
Click to collapse
lol

[MOD] HEVC/H.265 Video Recording V2.1

I was able to modify OnePlus 5 to enable HEVC/H.265 video recording at 4k, 1080p & 720p resolutions. I have also reduced the bit rate for the video so that it will take less storage space.
There are 2 Magisk module attached below one with 40% bit rate reduction and other with original bitrate.
Note - Take a backup of your 'media_profiles.xml' located at system/etc/ before attempting this mod.
To install just unzip and overwrite 'media_profiles.xml' at system/etc/ with permission 0644 and reboot your phone.
Here is a link to the file on google drive if you are not able to download it here.https://drive.google.com/open?id=0BwXqylXTgITAOWllTi1XRE5qdDA
Update V2-
Added Magisk Module
Decreased the video bit-rate by around 40%
Video is currently recorded at following bit-rate
4K at 24Mbps (default is 42Mbps)
1080p at 11Mbps (default is 20Mbps)
720p at 8Mbps (default is 14Mbps)
Update V2.1-
Fix for slow motion crashing on modded google camera
Tested only on OxygenOS 4.5.8
Awesome. Reboot needed?
str8str said:
Awesome. Reboot needed?
Click to expand...
Click to collapse
Yes, a reboot is required.
Magisk module possibly ?
NightMean said:
Magisk module possibly ?
Click to expand...
Click to collapse
Maybe when I get some free time.
I'll make the magic module, but I can't d/l the needed file for some reason...
dustintinsley said:
I'll make the magic module, but I can't d/l the needed file for some reason...
Click to expand...
Click to collapse
here is a google drive link for the file https://drive.google.com/open?id=0BwXqylXTgITAOWllTi1XRE5qdDA
Works on 3 /3t or its just cot 5?
niwia said:
Works on 3 /3t or its just cot 5?
Click to expand...
Click to collapse
Don't have a 3/3t to test it out, but most probably it won't work as the camera setup is different.
What did you modify to enable this? Would be useful to know so that we can see if the same could be done on the 3/3T
Is there any noticeable reduction in image or sound quality?
Really useful... Could you please do the same for 3 and 3t? Or at least try? Thank you
doubleaykay said:
What did you modify to enable this? Would be useful to know so that we can see if the same could be done on the 3/3T
Click to expand...
Click to collapse
M.M.K said:
Really useful... Could you please do the same for 3 and 3t? Or at least try? Thank you
Click to expand...
Click to collapse
There is actually a mod like this for OnePlus 3 https://forum.xda-developers.com/oneplus-3/how-to/mod-hevc-h-265-encoding-enabled-t3586792
Try it out. If it doesn't work then I can try to do it for 3/3t.
Robdyx said:
Is there any noticeable reduction in image or sound quality?
Click to expand...
Click to collapse
As far as I have tested, I was not able to find any difference in the image or sound quality.
doubleaykay said:
What did you modify to enable this? Would be useful to know so that we can see if the same could be done on the 3/3T
Click to expand...
Click to collapse
media_profiles.xml needs to be modified to enable hevc encoding. You can check media_codecs.xml file in /system/etc/ to check if your phone supports hevc encoding, or if you want me to look into it just upload these two files and I will have a look.
pankajsammal said:
media_profiles.xml needs to be modified to enable hevc encoding. You can check media_codecs.xml file in /system/etc/ to check if your phone supports hevc encoding, or if you want me to look into it just upload these two files and I will have a look.
Click to expand...
Click to collapse
Files are from the open beta 11 for the 3t, should be similar to the stable channel and 3. And the thread mentioned above for op3 is a really old one, additional codec support has been added to the devices since. Colud create conflicts, so I wouldn't be trying that out.
Edit I do see the support for hevc in media_codec.xml
opening video with desktop player says hevc so it should be worked. good job!! I guess we can have same quality with less bitrate as to say better quality at the same bitrate, even if max quality remains the same (sensor's limit)
---------- Post added at 01:58 AM ---------- Previous post was at 01:21 AM ----------
I just made a test: recorded 2 videos at lowest bitrate in 264 (1,5mb/s) and 265 (0.8mb/s). 265 quality is much much better!
pankajsammal said:
I was able to modify OnePlus 5 to enable HEVC/H.265 video recording at 4k, 1080p & 720p resolutions. I have also reduced the bit rate for the video so that it will take less storage space.
Note - Take a backup of your 'media_profiles.xml' located at system/etc/ before attempting this mod.
To install just overwrite 'media_profiles.xml' at system/etc/ with permission 0644 and reboot your phone.
Here is a link to the file on google drive if you are not able to download it here.https://drive.google.com/open?id=0BwXqylXTgITAOWllTi1XRE5qdDA
Tested only on OxygenOS 4.5.5
Click to expand...
Click to collapse
I'm not familiar with these things; What's the advantage of doing this?
0xTJ said:
I'm not familiar with these things; What's the advantage of doing this?
Click to expand...
Click to collapse
H.265 codec reduces file size without compromising video quality.
64ashg said:
Files are from the open beta 11 for the 3t, should be similar to the stable channel and 3. And the thread mentioned above for op3 is a really old one, additional codec support has been added to the devices since. Colud create conflicts, so I wouldn't be trying that out.
Edit I do see the support for hevc in media_codec.xml
Click to expand...
Click to collapse
Test to see if the attached file works for you. (don't forget to take a backup of the original)

Categories

Resources