Merc
Merc

Reputation: 403

Encode video with H.265 HEVC in Android

Because of android's lack of support for H.265 HEVC, what would be the best option for allowing the MediaRecorder to encode H.265 HEVC?

Can this be done without using the deprecated Camera class? I intend to use the camera2 API exclusively, if possible.

Upvotes: 1

Views: 6138

Answers (1)

Merc
Merc

Reputation: 403

https://developer.android.com/reference/android/media/MediaRecorder.VideoEncoder.html

There is now a greyed out VideoEncoder option for HEVC(H.265).

If you change the API level in the navigation bar on the left side of the screen to API 24, HEVC becomes revealed.

I think this means we can expect HEVC support once API 24 is available.

Cheers

Upvotes: 1

Related Questions