Is it possible to encode recorded videos using HEVC / H.265 codec or changing the video and audio bitrate of the videos? Some phones allow it with changes in the media_profiles.xml file, would it work for the Mi5 too? If so, is it ROM-dependent?
I've changed h264 to hevc in media_profiles.xml of JDCTeam AOSP 7.1.2 rom, but it doesn't work with stock camera app (change bitrate is work but codec doesn't). Use SnapDragonPRO camera instead stock camera app can recording video with HEVC code now. https://xdaforums.com/mi-5/development/app-t3529722
Don't know about MIUI rom as I no longer use that bloatware rom a long time ago
I've changed h264 to hevc in media_profiles.xml of JDCTeam AOSP 7.1.2 rom, but it doesn't work with stock camera app (change bitrate is work but codec doesn't). Use SnapDragonPRO camera instead stock camera app can recording video with HEVC code now. https://xdaforums.com/mi-5/development/app-t3529722
Don't know about MIUI rom as I no longer use that bloatware rom a long time ago