public class VideoOutputImpl extends Object implements VideoOutput
Constructor and Description |
---|
VideoOutputImpl(Resource resource) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
String |
getComment() |
String |
getCopyright() |
int |
getFileLimitation() |
String |
getFormat() |
int |
getFrameRate() |
long |
getMaxFrames() |
double |
getOffset() |
Resource |
getResource() |
String |
getTitle() |
void |
limitFileSizeTo(int size)
limit size of the output file
|
void |
setAuthor(String author)
sets a author to the output video
|
void |
setComment(String comment)
sets a comment to the output video
|
void |
setCopyright(String copyright)
sets a copyright to the output video
|
void |
setFileLimitation(int fileLimitation) |
void |
setFormat(String format) |
void |
setFrameRate(int frameRate) |
void |
setMaxFrames(long maxFrames) |
void |
setOffset(double offset)
set time offset of the output file based on input file in seconds
|
void |
setResource(Resource resource) |
void |
setTitle(String title)
sets a title to the output video
|
public VideoOutputImpl(Resource resource)
public void setOffset(double offset)
setOffset
in interface VideoOutput
offset
- public void setComment(String comment)
setComment
in interface VideoOutput
comment
- public void setTitle(String title)
setTitle
in interface VideoOutput
title
- public void setAuthor(String author)
setAuthor
in interface VideoOutput
author
- public void setCopyright(String copyright)
setCopyright
in interface VideoOutput
copyright
- public Resource getResource()
getResource
in interface VideoOutput
public double getOffset()
getOffset
in interface VideoOutput
public String getComment()
getComment
in interface VideoOutput
public String getTitle()
getTitle
in interface VideoOutput
public String getAuthor()
getAuthor
in interface VideoOutput
public String getCopyright()
getCopyright
in interface VideoOutput
public int getFileLimitation()
getFileLimitation
in interface VideoOutput
public void limitFileSizeTo(int size)
limitFileSizeTo
in interface VideoOutput
size
- the size to setpublic long getMaxFrames()
getMaxFrames
in interface VideoOutput
public void setMaxFrames(long maxFrames)
setMaxFrames
in interface VideoOutput
maxFrames
- the maxFrames to setpublic void setResource(Resource resource)
setResource
in interface VideoOutput
resource
- the resource to setpublic String getFormat()
getFormat
in interface VideoOutput
public void setFormat(String format)
setFormat
in interface VideoOutput
format
- the format to setpublic void setFileLimitation(int fileLimitation)
setFileLimitation
in interface VideoOutput
fileLimitation
- the fileLimitation to setpublic int getFrameRate()
getFrameRate
in interface VideoOutput
VideoOutput.getFrameRate()
public void setFrameRate(int frameRate)
setFrameRate
in interface VideoOutput
VideoOutput.setFrameRate(int)
Copyright © 2015 Lucee