VideoFileSource

class VideoFileSource(context: Context, fileName: String) : VideoSource

映像ファイルによる映像入力に関する操作を行うクラス。

Parameters

context

コンテキスト。

fileName

映像ファイルの名前。java.io.RandomAccessFileによってアクセスされます。

Constructors

Link copied to clipboard
constructor(context: Context, fileName: String)

Functions

Link copied to clipboard
fun startCapturing(width: Int, height: Int, frameRate: Int)

映像ファイルのキャプチャを開始します。

Link copied to clipboard

映像ファイルのキャプチャを停止します。