drive

expect suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit? = null, progressEveryNFrames: Int = 30)

Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).

actual suspend fun drive(input: ERROR CLASS: Symbol not found for Flow<io/github/yuroyami/kiteffmpeg/Frame>, onProgress: (framesEncoded: Long) -> Unit?, progressEveryNFrames: Int)
actual suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit?, progressEveryNFrames: Int)

Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).

actual suspend fun drive(input: Flow<Frame>, onProgress: (framesEncoded: Long) -> Unit?, progressEveryNFrames: Int)

Drain input into this encoder + the parent muxer. Returns when the flow completes. Reports progress every progressEveryNFrames via onProgress (the encoded-frame count).