public class ThumbnailCapture extends Object
| Constructor and Description |
|---|
ThumbnailCapture() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getEndTimeInSecond()
Deprecated.
|
Double |
getEndTimeInSecondDouble()
Get the end time to create thumbnails.
|
Integer |
getIntervalInSecond()
Deprecated.
|
Double |
getIntervalInSecondDouble()
Get the interval between two thumbnails.
|
String |
getMode() |
SpriteOutputCfg |
getSpriteOutputCfg() |
Integer |
getStartTimeInSecond()
Deprecated.
|
Double |
getStartTimeInSecondDouble()
Get the start time to create thumbnails.
|
void |
setEndTimeInSecond(Integer endTimeInSecond)
Deprecated.
|
void |
setEndTimeInSecondDouble(Double endTimeInSecond)
Set the end time to create thumbnails, support in manual or split mode, default is video duration.
|
void |
setIntervalInSecond(Integer intervalInSecond)
Deprecated.
|
void |
setIntervalInSecondDouble(Double intervalInSecond)
Set the interval between two thumbnails, only support in manual mode, default 1.0.
|
void |
setMode(String mode) |
SpriteOutputCfg |
setSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
Deprecated.
|
void |
setStartTimeInSecond(Integer startTimeInSecond)
Deprecated.
|
void |
setStartTimeInSecondDouble(Double startTimeInSecond)
Set the start time to create thumbnails, support in manual or split mode, default 0.0.
|
String |
toString() |
ThumbnailCapture |
withEndTimeInSecond(Integer endTimeInSecond)
Deprecated.
|
ThumbnailCapture |
withEndTimeInSecondDouble(Double endTimeInSecond)
Set the end time to create thumbnails, support in manual or split mode, default is video duration.
|
ThumbnailCapture |
withFrameNumber(Integer frameNumber) |
ThumbnailCapture |
withHighlightOutputCfg(HighlightOutputCfg highlightOutputCfg) |
ThumbnailCapture |
withIntervalInSecond(Integer intervalInSecond)
Deprecated.
|
ThumbnailCapture |
withIntervalInSecondDouble(Double intervalInSecond)
Set the interval between two thumbnails, only support in manual mode, default 1.0.
|
ThumbnailCapture |
withMinIntervalInSecond(Double minIntervalInSecond) |
ThumbnailCapture |
withMode(String mode) |
ThumbnailCapture |
withSkipBlackFrame(Boolean skipBlackFrame) |
ThumbnailCapture |
withSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
Deprecated.
|
ThumbnailCapture |
withStartTimeInSecond(Integer startTimeInSecond)
Deprecated.
|
ThumbnailCapture |
withStartTimeInSecondDouble(Double startTimeInSecond)
Set the start time to create thumbnails, support in manual or split mode, default 0.0.
|
public String getMode()
public void setMode(String mode)
public ThumbnailCapture withMode(String mode)
@Deprecated public Integer getStartTimeInSecond()
@Deprecated public void setStartTimeInSecond(Integer startTimeInSecond)
@Deprecated public ThumbnailCapture withStartTimeInSecond(Integer startTimeInSecond)
public Double getStartTimeInSecondDouble()
public void setStartTimeInSecondDouble(Double startTimeInSecond)
public ThumbnailCapture withStartTimeInSecondDouble(Double startTimeInSecond)
@Deprecated public Integer getEndTimeInSecond()
@Deprecated public void setEndTimeInSecond(Integer endTimeInSecond)
@Deprecated public ThumbnailCapture withEndTimeInSecond(Integer endTimeInSecond)
public Double getEndTimeInSecondDouble()
public void setEndTimeInSecondDouble(Double endTimeInSecond)
public ThumbnailCapture withEndTimeInSecondDouble(Double endTimeInSecond)
@Deprecated public Integer getIntervalInSecond()
@Deprecated public void setIntervalInSecond(Integer intervalInSecond)
@Deprecated public ThumbnailCapture withIntervalInSecond(Integer intervalInSecond)
public Double getIntervalInSecondDouble()
public void setIntervalInSecondDouble(Double intervalInSecond)
public ThumbnailCapture withIntervalInSecondDouble(Double intervalInSecond)
public ThumbnailCapture withMinIntervalInSecond(Double minIntervalInSecond)
public ThumbnailCapture withFrameNumber(Integer frameNumber)
public ThumbnailCapture withSkipBlackFrame(Boolean skipBlackFrame)
public ThumbnailCapture withHighlightOutputCfg(HighlightOutputCfg highlightOutputCfg)
public SpriteOutputCfg getSpriteOutputCfg()
@Deprecated public SpriteOutputCfg setSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
@Deprecated public ThumbnailCapture withSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
Copyright © 2020. All rights reserved.