public class Video extends TagSupport
Modifier and Type | Field and Description |
---|---|
static int |
EXECUTION_PERFORMANCE |
static int |
EXECUTION_QUALITY |
static int |
NAMECONFLICT_ERROR |
static int |
NAMECONFLICT_MAKEUNIQUE |
static int |
NAMECONFLICT_OVERWRITE |
static int |
NAMECONFLICT_SKIP |
static int |
NAMECONFLICT_UNDEFINED |
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
static void |
checkRestriction() |
static void |
copy(InputStream in,
OutputStream out) |
Struct |
doActionInfo() |
int |
doStartTag() |
static ProfileCollection |
getProfileCollection(PageContext pc) |
void |
release() |
void |
setAction(String action) |
void |
setAspectratio(String strAspectRatio) |
void |
setAudiobitrate(String audioBitrate) |
void |
setAudiocodec(String audioCodec) |
void |
setAudiosamplerate(String sAudiosamplerate) |
void |
setAuthor(String author) |
void |
setBuffersize(double buffersize) |
void |
setComment(String comment) |
void |
setCopyright(String copyright) |
void |
setData(Struct data) |
void |
setDebug(String debug) |
void |
setDestination(String destination) |
void |
setExecution(String execution) |
void |
setFps(double framerate) |
void |
setFramerate(double framerate) |
void |
setHeight(String strHeight) |
void |
setMax(String strMax) |
void |
setNameconflict(String nameconflict)
set the value nameconflict
Action to take if filename is the same as that of a file in the directory.
|
void |
setProfile(String strProfile) |
void |
setQuality(String strQuality) |
void |
setResult(String result) |
void |
setSource(String source) |
void |
setSource1(String source1) |
void |
setSource2(String source2) |
void |
setStart(String strStart) |
void |
setTitle(String title) |
void |
setVideobitrate(String videoBitrate) |
void |
setVideobitratemax(String videoBitrateMax) |
void |
setVideobitratemin(String videoBitrateMin) |
void |
setVideobitratetolerance(String videoBitrateTolerance) |
void |
setVideocodec(String videoCodec) |
void |
setWidth(String strWidth) |
Struct |
toStruct(VideoInfo[] infos) |
doEndTag, getParent, required, setPageContext, setPageContext, setParent
public static final int NAMECONFLICT_UNDEFINED
public static final int NAMECONFLICT_ERROR
public static final int NAMECONFLICT_SKIP
public static final int NAMECONFLICT_OVERWRITE
public static final int NAMECONFLICT_MAKEUNIQUE
public static final int EXECUTION_QUALITY
public static final int EXECUTION_PERFORMANCE
public Video()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagSupport
Tag.release()
public void setAction(String action) throws PageException
action
- the action to setPageException
public void setSource(String source) throws PageException
source
- the source to setPageException
public void setDestination(String destination)
destination
- the destination to setPageException
public void setNameconflict(String nameconflict) throws PageException
nameconflict
- value to setApplicationException
PageException
public void setProfile(String strProfile) throws PageException
PageException
public void setExecution(String execution) throws PageException
PageException
public void setQuality(String strQuality) throws PageException
PageException
public int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagSupport
PageException
Tag.doStartTag()
public Struct doActionInfo() throws PageException, IOException
PageException
IOException
public static final void copy(InputStream in, OutputStream out) throws IOException
IOException
public static ProfileCollection getProfileCollection(PageContext pc) throws PageException
PageException
public void setAudiobitrate(String audioBitrate) throws PageException
audioBitrate
- the audioBitrate to setPageException
public void setAspectratio(String strAspectRatio) throws PageException
aspectRatio
- the aspectRatio to setPageException
public void setFramerate(double framerate)
framerate
- the framerate to setpublic void setFps(double framerate)
public void setVideobitrate(String videoBitrate) throws PageException
videoBitrate
- the videoBitrate to setPageException
public void setVideobitratemin(String videoBitrateMin) throws PageException
videoBitrateMin
- the videoBitrateMin to setPageException
public void setVideobitratemax(String videoBitrateMax) throws PageException
videoBitrateMax
- the videoBitrateMax to setPageException
public void setVideobitratetolerance(String videoBitrateTolerance) throws PageException
videoBitrateTolerance
- the videoBitrateTolerance to setPageException
public void setComment(String comment)
comment
- the comment to setpublic void setCopyright(String copyright)
copyright
- the copyright to setpublic void setMax(String strMax) throws PageException
max
- the maxFrames to setPageException
public void setSource1(String source1) throws PageException
source1
- the source1 to setPageException
public void setSource2(String source2) throws PageException
source2
- the source2 to setPageException
public void setStart(String strStart) throws PageException
strStart
- the position to setPageException
public void setVideocodec(String videoCodec)
videoCodec
- the videoCodec to setpublic void setAudiocodec(String audioCodec)
public void setAudiosamplerate(String sAudiosamplerate) throws PageException
audiosamplerate
- the audiosamplerate to setPageException
public static void checkRestriction()
public void setBuffersize(double buffersize)
buffersize
- the buffersize to setCopyright © 2015 Lucee