VideoInput

org.llm4s.llmconnect.model.VideoInput
See theVideoInput companion object
@Stable
final case class VideoInput extends MMInput

Video as a sequence of RGB frames (byte arrays), plus basic shape & fps.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MMInput
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def bytesApprox: Long

Approximate payload size in bytes (for logging/back-pressure).

Approximate payload size in bytes (for logging/back-pressure).

Attributes

Definition Classes
def withChannels(channels: Int): VideoInput

Sets the number of channels.

Sets the number of channels.

Attributes

def withFps(fps: Int): VideoInput

Sets the frame rate.

Sets the frame rate.

Attributes

def withFrameHeight(frameHeight: Int): VideoInput

Sets the frame height in pixels.

Sets the frame height in pixels.

Attributes

def withFrameWidth(frameWidth: Int): VideoInput

Sets the frame width in pixels.

Sets the frame width in pixels.

Attributes

def withFrames(frames: Seq[Array[Byte]]): VideoInput

Sets the frames.

Sets the frames.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product