public class VideoEncoderUtils
extends java.lang.Object
Constructor and Description |
---|
VideoEncoderUtils() |
Modifier and Type | Method and Description |
---|---|
static android.media.MediaCodecInfo |
getSupportedEncoder()
Tries to get a supported encoder.
|
static java.util.List<MimeType> |
getSupportedMimeTypes()
Returns a list of mime types for supported encoders.
|
static java.util.List<android.media.MediaCodecInfo> |
getSystemSupportedEncoders() |
static boolean |
isHardwareAccelerated(android.media.MediaCodecInfo encoder)
Tries to guess whether the encoder is hardware accelerated.
|
public static java.util.List<MimeType> getSupportedMimeTypes()
public static java.util.List<android.media.MediaCodecInfo> getSystemSupportedEncoders()
public static android.media.MediaCodecInfo getSupportedEncoder()
java.lang.RuntimeException
- if no supported encoders are foundpublic static boolean isHardwareAccelerated(android.media.MediaCodecInfo encoder)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.