Package video.api.client.api.models
Class VideoStatusEncodingMetadata
- java.lang.Object
-
- video.api.client.api.models.VideoStatusEncodingMetadata
-
- All Implemented Interfaces:
Serializable
public class VideoStatusEncodingMetadata extends Object implements Serializable
VideoStatusEncodingMetadata- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ASPECT_RATIOstatic StringSERIALIZED_NAME_AUDIO_CODECstatic StringSERIALIZED_NAME_BITRATEstatic StringSERIALIZED_NAME_DURATIONstatic StringSERIALIZED_NAME_FRAMERATEstatic StringSERIALIZED_NAME_HEIGHTstatic StringSERIALIZED_NAME_SAMPLERATEstatic StringSERIALIZED_NAME_VIDEO_CODECstatic StringSERIALIZED_NAME_WIDTH
-
Constructor Summary
Constructors Constructor Description VideoStatusEncodingMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoStatusEncodingMetadataaspectRatio(String aspectRatio)VideoStatusEncodingMetadataaudioCodec(String audioCodec)VideoStatusEncodingMetadatabitrate(BigDecimal bitrate)VideoStatusEncodingMetadataduration(Integer duration)booleanequals(Object o)VideoStatusEncodingMetadataframerate(Integer framerate)StringgetAspectRatio()Get aspectRatioStringgetAudioCodec()The method used to compress and decompress digital audio for your video.BigDecimalgetBitrate()The number of bits processed per second.IntegergetDuration()The length of the video.IntegergetFramerate()The frequency with which consecutive images or frames appear on a display.IntegergetHeight()The height of the video in pixels.IntegergetSamplerate()How many samples per second a digital audio system uses to record an audio signal.StringgetVideoCodec()The method used to compress and decompress digital video.IntegergetWidth()The width of the video in pixels.inthashCode()VideoStatusEncodingMetadataheight(Integer height)VideoStatusEncodingMetadatasamplerate(Integer samplerate)voidsetAspectRatio(String aspectRatio)voidsetAudioCodec(String audioCodec)voidsetBitrate(BigDecimal bitrate)voidsetDuration(Integer duration)voidsetFramerate(Integer framerate)voidsetHeight(Integer height)voidsetSamplerate(Integer samplerate)voidsetVideoCodec(String videoCodec)voidsetWidth(Integer width)StringtoString()VideoStatusEncodingMetadatavideoCodec(String videoCodec)VideoStatusEncodingMetadatawidth(Integer width)
-
-
-
Field Detail
-
SERIALIZED_NAME_WIDTH
public static final String SERIALIZED_NAME_WIDTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HEIGHT
public static final String SERIALIZED_NAME_HEIGHT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BITRATE
public static final String SERIALIZED_NAME_BITRATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DURATION
public static final String SERIALIZED_NAME_DURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FRAMERATE
public static final String SERIALIZED_NAME_FRAMERATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SAMPLERATE
public static final String SERIALIZED_NAME_SAMPLERATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VIDEO_CODEC
public static final String SERIALIZED_NAME_VIDEO_CODEC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUDIO_CODEC
public static final String SERIALIZED_NAME_AUDIO_CODEC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASPECT_RATIO
public static final String SERIALIZED_NAME_ASPECT_RATIO
- See Also:
- Constant Field Values
-
-
Method Detail
-
width
public VideoStatusEncodingMetadata width(Integer width)
-
getWidth
@Nullable public Integer getWidth()
The width of the video in pixels.- Returns:
- width
-
setWidth
public void setWidth(Integer width)
-
height
public VideoStatusEncodingMetadata height(Integer height)
-
getHeight
@Nullable public Integer getHeight()
The height of the video in pixels.- Returns:
- height
-
setHeight
public void setHeight(Integer height)
-
bitrate
public VideoStatusEncodingMetadata bitrate(BigDecimal bitrate)
-
getBitrate
@Nullable public BigDecimal getBitrate()
The number of bits processed per second.- Returns:
- bitrate
-
setBitrate
public void setBitrate(BigDecimal bitrate)
-
duration
public VideoStatusEncodingMetadata duration(Integer duration)
-
getDuration
@Nullable public Integer getDuration()
The length of the video.- Returns:
- duration
-
setDuration
public void setDuration(Integer duration)
-
framerate
public VideoStatusEncodingMetadata framerate(Integer framerate)
-
getFramerate
@Nullable public Integer getFramerate()
The frequency with which consecutive images or frames appear on a display. Shown in this API as frames per second (fps).- Returns:
- framerate
-
setFramerate
public void setFramerate(Integer framerate)
-
samplerate
public VideoStatusEncodingMetadata samplerate(Integer samplerate)
-
getSamplerate
@Nullable public Integer getSamplerate()
How many samples per second a digital audio system uses to record an audio signal. The higher the rate, the higher the frequencies that can be recorded. They are presented in this API using hertz.- Returns:
- samplerate
-
setSamplerate
public void setSamplerate(Integer samplerate)
-
videoCodec
public VideoStatusEncodingMetadata videoCodec(String videoCodec)
-
getVideoCodec
@Nullable public String getVideoCodec()
The method used to compress and decompress digital video. API Video supports all codecs in the libavcodec library.- Returns:
- videoCodec
-
setVideoCodec
public void setVideoCodec(String videoCodec)
-
audioCodec
public VideoStatusEncodingMetadata audioCodec(String audioCodec)
-
getAudioCodec
@Nullable public String getAudioCodec()
The method used to compress and decompress digital audio for your video.- Returns:
- audioCodec
-
setAudioCodec
public void setAudioCodec(String audioCodec)
-
aspectRatio
public VideoStatusEncodingMetadata aspectRatio(String aspectRatio)
-
getAspectRatio
@Nullable public String getAspectRatio()
Get aspectRatio- Returns:
- aspectRatio
-
setAspectRatio
public void setAspectRatio(String aspectRatio)
-
-