Class Video.VideoBuilder
java.lang.Object
com.amilesend.onedrive.resource.item.type.Video.VideoBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaudioBitsPerSample(int audioBitsPerSample) Number of bits per sample.audioChannels(int audioChannels) Number of channels.audioFormat(String audioFormat) Encoded audio format.audioSamplesPerSecond(int audioSamplesPerSecond) Number of samples per second for audio.bitrate(int bitrate) The video bitrate.build()duration(long duration) The duration of the video in milliseconds.The video format ("Four Character Code").frameRate(double frameRate) The video frame rate (frams per second).height(int height) The video height in pixels.toString()width(int width) The video width in pixels.
-
Method Details
-
audioBitsPerSample
Number of bits per sample.- Returns:
this.
-
audioChannels
-
audioFormat
-
audioSamplesPerSecond
Number of samples per second for audio.- Returns:
this.
-
bitrate
-
duration
The duration of the video in milliseconds.- Returns:
this.
-
fourCC
The video format ("Four Character Code").- Returns:
this.
-
frameRate
The video frame rate (frams per second).- Returns:
this.
-
height
-
width
-
build
-
toString
-