com.baidubce.services.media.model
Class ThumbnailCapture

java.lang.Object
  extended by com.baidubce.services.media.model.ThumbnailCapture

public class ThumbnailCapture
extends Object

The model which will be used to set capture info in creating thumbnail job


Constructor Summary
ThumbnailCapture()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThumbnailCapture

public ThumbnailCapture()
Method Detail

getMode

public String getMode()

setMode

public void setMode(String mode)

withMode

public ThumbnailCapture withMode(String mode)

getStartTimeInSecond

@Deprecated
public Integer getStartTimeInSecond()
Deprecated. 

Use getStartTimeInSecondDouble instead.


setStartTimeInSecond

@Deprecated
public void setStartTimeInSecond(Integer startTimeInSecond)
Deprecated. 

Use setStartTimeInSecondDouble instead.


withStartTimeInSecond

@Deprecated
public ThumbnailCapture withStartTimeInSecond(Integer startTimeInSecond)
Deprecated. 

Use withStartTimeInSecondDouble instead.


getStartTimeInSecondDouble

public Double getStartTimeInSecondDouble()
Get the start time to create thumbnails.


setStartTimeInSecondDouble

public void setStartTimeInSecondDouble(Double startTimeInSecond)
Set the start time to create thumbnails, support in manual or split mode, default 0.0.


withStartTimeInSecondDouble

public ThumbnailCapture withStartTimeInSecondDouble(Double startTimeInSecond)
Set the start time to create thumbnails, support in manual or split mode, default 0.0.


getEndTimeInSecond

@Deprecated
public Integer getEndTimeInSecond()
Deprecated. 

Use getEndTimeInSecondDouble instead.


setEndTimeInSecond

@Deprecated
public void setEndTimeInSecond(Integer endTimeInSecond)
Deprecated. 

Use setEndTimeInSecondDouble instead.


withEndTimeInSecond

@Deprecated
public ThumbnailCapture withEndTimeInSecond(Integer endTimeInSecond)
Deprecated. 

Use withEndTimeInSecondDouble instead.


getEndTimeInSecondDouble

public Double getEndTimeInSecondDouble()
Get the end time to create thumbnails.


setEndTimeInSecondDouble

public void setEndTimeInSecondDouble(Double endTimeInSecond)
Set the end time to create thumbnails, support in manual or split mode, default is video duration.


withEndTimeInSecondDouble

public ThumbnailCapture withEndTimeInSecondDouble(Double endTimeInSecond)
Set the end time to create thumbnails, support in manual or split mode, default is video duration.


getIntervalInSecond

@Deprecated
public Integer getIntervalInSecond()
Deprecated. 

Use getIntervalInSecondDouble instead.


setIntervalInSecond

@Deprecated
public void setIntervalInSecond(Integer intervalInSecond)
Deprecated. 

Use setIntervalInSecondDouble instead.


withIntervalInSecond

@Deprecated
public ThumbnailCapture withIntervalInSecond(Integer intervalInSecond)
Deprecated. 

Use withIntervalInSecondDouble instead.


getIntervalInSecondDouble

public Double getIntervalInSecondDouble()
Get the interval between two thumbnails.


setIntervalInSecondDouble

public void setIntervalInSecondDouble(Double intervalInSecond)
Set the interval between two thumbnails, only support in manual mode, default 1.0.


withIntervalInSecondDouble

public ThumbnailCapture withIntervalInSecondDouble(Double intervalInSecond)
Set the interval between two thumbnails, only support in manual mode, default 1.0.


withMinIntervalInSecond

public ThumbnailCapture withMinIntervalInSecond(Double minIntervalInSecond)

withFrameNumber

public ThumbnailCapture withFrameNumber(Integer frameNumber)

withSkipBlackFrame

public ThumbnailCapture withSkipBlackFrame(Boolean skipBlackFrame)

withHighlightOutputCfg

public ThumbnailCapture withHighlightOutputCfg(HighlightOutputCfg highlightOutputCfg)

getSpriteOutputCfg

public SpriteOutputCfg getSpriteOutputCfg()

setSpriteOutputCfg

@Deprecated
public SpriteOutputCfg setSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
Deprecated. 

Use ThumbnailTarget.setSpriteOutputCfg instead.


withSpriteOutputCfg

@Deprecated
public ThumbnailCapture withSpriteOutputCfg(SpriteOutputCfg spriteOutputCfg)
Deprecated. 

Use ThumbnailTarget.withSpriteOutputCfg instead.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.