Package com.wowza.wms.transcoder.model
Class TranscoderVideoOverlayFrame
- Object
- 
- com.wowza.wms.transcoder.model.TranscoderVideoOverlayFrame
 
- 
 public class TranscoderVideoOverlayFrame extends ObjectTranscoderVideoOverlayFrame: Video overlay frame. 
- 
- 
Field SummaryFields Modifier and Type Field Description booleanenabledStringimagePathintindexlonglastModDatestatic intLOADSTATE_FAILUREstatic intLOADSTATE_INITstatic intLOADSTATE_SUCCESSintopacityTranscoderNativeVideoFramevideoFrame
 - 
Constructor SummaryConstructors Constructor Description TranscoderVideoOverlayFrame()TranscoderVideoOverlayFrame(int width, int height, byte[] buffer)TranscoderVideoOverlayFrame(String imagePath)TranscoderVideoOverlayFrame(String imagePath, int opacity)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDstAlign()intgetDstHeight()intgetDstWidth()intgetDstX()intgetDstY()StringgetImagePath()Get the path to the overlay image.intgetIndex()Get overlay index (z-order)longgetLastModDate()intgetOpacity()TranscoderNativeVideoFramegetVideoFrame()Get the video frame.booleanisCheckForUpdates()booleanisEnabled()Is this overlay enabled.booleanisGood()booleanisImageFileUpdated(IApplicationInstance appInstance)booleanisTransparent()booleanloadImage(IApplicationInstance appInstance, boolean reload)If you set a path to an image file (JPG, PNG, BMP...) this will load the image into this object.voidsetCheckForUpdates(boolean checkForUpdates)voidsetDstAlign(int align)voidsetDstHeight(int height)voidsetDstWidth(int width)voidsetDstX(int x)voidsetDstY(int y)voidsetEnabled(boolean enabled)Set is this overlay enabled.voidsetImagePath(String imagePath)Set the path to the overlay image.voidsetIndex(int index)Set overlay index (z-order)voidsetLastModDate(long lastModDate)voidsetOpacity(int opacity)
 
- 
- 
- 
Field Detail- 
LOADSTATE_INITpublic static final int LOADSTATE_INIT - See Also:
- Constant Field Values
 
 - 
LOADSTATE_SUCCESSpublic static final int LOADSTATE_SUCCESS - See Also:
- Constant Field Values
 
 - 
LOADSTATE_FAILUREpublic static final int LOADSTATE_FAILURE - See Also:
- Constant Field Values
 
 - 
videoFramepublic TranscoderNativeVideoFrame videoFrame 
 - 
enabledpublic boolean enabled 
 - 
indexpublic int index 
 - 
imagePathpublic String imagePath 
 - 
opacitypublic int opacity 
 - 
lastModDatepublic long lastModDate 
 
- 
 - 
Constructor Detail- 
TranscoderVideoOverlayFramepublic TranscoderVideoOverlayFrame() 
 - 
TranscoderVideoOverlayFramepublic TranscoderVideoOverlayFrame(String imagePath) 
 - 
TranscoderVideoOverlayFramepublic TranscoderVideoOverlayFrame(String imagePath, int opacity)
 - 
TranscoderVideoOverlayFramepublic TranscoderVideoOverlayFrame(int width, int height, byte[] buffer)
 
- 
 - 
Method Detail- 
isGoodpublic boolean isGood() 
 - 
isImageFileUpdatedpublic boolean isImageFileUpdated(IApplicationInstance appInstance) 
 - 
loadImagepublic boolean loadImage(IApplicationInstance appInstance, boolean reload) If you set a path to an image file (JPG, PNG, BMP...) this will load the image into this object.- Parameters:
- appInstance- application instance
- reload- is it an image reload
- Returns:
- true if successful
 
 - 
isEnabledpublic boolean isEnabled() Is this overlay enabled.- Returns:
- overlay enabled
 
 - 
setEnabledpublic void setEnabled(boolean enabled) Set is this overlay enabled.- Parameters:
- enabled- overlay enabled
 
 - 
getVideoFramepublic TranscoderNativeVideoFrame getVideoFrame() Get the video frame.- Returns:
- video frame
 
 - 
getIndexpublic int getIndex() Get overlay index (z-order)- Returns:
- overlay index (z-order)
 
 - 
setIndexpublic void setIndex(int index) Set overlay index (z-order)- Parameters:
- index- overlay index (z-order)
 
 - 
getImagePathpublic String getImagePath() Get the path to the overlay image.- Returns:
- path to the overlay image
 
 - 
setImagePathpublic void setImagePath(String imagePath) Set the path to the overlay image.- Parameters:
- imagePath- path to the overlay image
 
 - 
getOpacitypublic int getOpacity() 
 - 
setOpacitypublic void setOpacity(int opacity) 
 - 
getDstXpublic int getDstX() 
 - 
setDstXpublic void setDstX(int x) 
 - 
getDstYpublic int getDstY() 
 - 
setDstYpublic void setDstY(int y) 
 - 
getDstWidthpublic int getDstWidth() 
 - 
setDstWidthpublic void setDstWidth(int width) 
 - 
getDstHeightpublic int getDstHeight() 
 - 
setDstHeightpublic void setDstHeight(int height) 
 - 
getDstAlignpublic int getDstAlign() 
 - 
setDstAlignpublic void setDstAlign(int align) 
 - 
getLastModDatepublic long getLastModDate() 
 - 
setLastModDatepublic void setLastModDate(long lastModDate) 
 - 
isCheckForUpdatespublic boolean isCheckForUpdates() 
 - 
setCheckForUpdatespublic void setCheckForUpdates(boolean checkForUpdates) 
 - 
isTransparentpublic boolean isTransparent() 
 
- 
 
-