class NativeVideoEncoder
NativeVideoEncoder(audioSourceUri: <ERROR CLASS>? = null, outputFilePath: String, width: Int = 1280, height: Int = 720, frameRate: Int = 30, bitRate: Int = DEFAULT_BITRATE, mimeType: String = DEFAULT_MIME_TYPE, containerFormat: Int = MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4, audioStartAtNanosecond: Long = 0L, audioEndAtNanosecond: Long = 0L, iFrameIntervalInSeconds: Int = DEFAULT_IFRAME_INTERVAL) |
var audioEncoderInputBuffers: InputBufferCompat? |
|
var audioEncoderOutputBuffers: OutputBufferCompat? |
|
var presentationTime: Long |
|
var videoEncoderOutputBuffers: OutputBufferCompat? |
fun addFrame(texture: GlTexture, presentationTimeNanoseconds: Long = -1): Unit |
|
fun copyOneAudioFrameToMuxer(maxPresentationTimeInNanoseconds: Long = Long.MAX_VALUE): Boolean |
|
fun disable(): Unit |
|
fun enable(): Unit |
|
fun finalizeVideo(): Unit |
val TAG: String |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |