[MOD] HEVC/H.265 encoding enabled

halleyrokz

Senior Member
Nov 10, 2010
288
68
0
Trivandrum
Hi all, I tinkered with the settings and came up with enabling HEVC encoding for 4k, 1080p & 720p recordings. I have also halved the bit rate and hevc block size to 64x64.

1080p records at 10Mbps,
720p records at 7Mbps

I still have problem in reducing 4k bit rate. Tried reducing the values, but It still records @ 50-53 mbps. Any help would be appreciated.

[email protected] records @ 20mbps

Audio now records in HEAAC/AACv2 ,[email protected]

Add both the files and overwrite to system/etc/ with permission 0644
 

Attachments

Last edited:

halleyrokz

Senior Member
Nov 10, 2010
288
68
0
Trivandrum
Two things do not work:
1080p / 60fps choppy, lagging.
Google camera slow motion does not work.
Yes, i noticed that...slo-mo works with op3 camera.
I posted this because any of the great modders available here could polish this and make it work perfectly...

Using hevc can greatly reduce filesize... That's why i started messing around the settings.

Thanx for the input
 

silentvisitor

Senior Member
Mar 15, 2012
4,520
2,651
0
Yes, i noticed that...slo-mo works with op3 camera.
I posted this because any of the great modders available here could polish this and make it work perfectly...

Using hevc can greatly reduce filesize... That's why i started messing around the settings.

Thanx for the input
I'm glad you brought this important thing to table. Thank you :good:
Who can polish it better than @siankatabg ;)
No ?
 

dioxide95

Senior Member
Mar 25, 2013
152
16
0
Okay, so the mod didn't work and I copied the original files back (I did make a backup) ... Now it says "recording stopped because of an error"... Official OOS Camera. In fact, none of the video recording apps work.

EDIT: Solution - Copy the original files back (MAKE SURE YOU HAVE A BACKUP - OP please include this in the post) and give the permissions as in OP. Reboot to recovery, clear cache partition. It works then.
 
Last edited:
  • Like
Reactions: 64ashg and arvindgr

64ashg

Senior Member
May 18, 2014
544
351
93
Magisk module for systemless integration of this mod
Op3 testers needed, but it was working by manually pasting the file and works on the 3t,so should also work for the 3.
But still, if someone could test it out, it will be swell.
Original mod by @pankajsammal
 

Attachments

Last edited:
  • Like
Reactions: simpele

SabotazN

Member
Jul 8, 2017
12
3
0
Magisk module for systemless integration of this mod
Op3 testers needed, but it was working by manually pasting the file and works on the 3t,so should also work for the 3.
But still, if someone could test it out, it will be swell.
Original mod by @pankajsammal
I can record a video successfully if this is that you are asking.

If you need more info, tell me how to find them

Sent from my ONEPLUS A3003 using Tapatalk
 

64ashg

Senior Member
May 18, 2014
544
351
93
I can record a video successfully if this is that you are asking.

If you need more info, tell me how to find them
If you are using magisk, please find out if the module above works for you. Technically it should, but its my first module so I just wanna be sure. Thanks
 
  • Like
Reactions: ela1103

SabotazN

Member
Jul 8, 2017
12
3
0
If you are using magisk, please find out if the module above works for you. Technically it should, but its my first module so I just wanna be sure. Thanks
Yeah I already flashed it but I don't know what to look for to see if it's working

Sent from my ONEPLUS A3003 using Tapatalk
 

64ashg

Senior Member
May 18, 2014
544
351
93
Yeah I already flashed it but I don't know what to look for to see if it's working
Just compare the file size of a 20sec video clip of the same object, or use mx player and set its hw+ decoder to decode h265 mpeg4 and hw to decode everything else. When you play the video in mx player you'll see the decoder being used
 
Last edited: