public class VideoUtilImpl extends Object implements VideoUtil
Modifier and Type | Method and Description |
---|---|
int[] |
calculateDimension(PageContext pc,
VideoInput[] sources,
int width,
String strWidth,
int height,
String strHeight) |
static VideoExecuter |
createVideoExecuter(Config config) |
VideoInput |
createVideoInput(Resource input) |
VideoOutput |
createVideoOutput(Resource output) |
VideoProfile |
createVideoProfile() |
static VideoUtilImpl |
getInstance() |
long |
toBytes(String byt) |
long |
toHerz(String byt) |
long |
toMillis(String time) |
public static VideoUtilImpl getInstance()
public VideoInput createVideoInput(Resource input)
createVideoInput
in interface VideoUtil
VideoUtil.createVideoInput(lucee.commons.io.res.Resource)
public VideoOutput createVideoOutput(Resource output)
createVideoOutput
in interface VideoUtil
VideoUtil.createVideoOutput(lucee.commons.io.res.Resource)
public VideoProfile createVideoProfile()
createVideoProfile
in interface VideoUtil
VideoUtil.createVideoProfile()
public long toBytes(String byt) throws PageException
toBytes
in interface VideoUtil
PageException
public long toHerz(String byt) throws PageException
toHerz
in interface VideoUtil
PageException
public long toMillis(String time) throws PageException
toMillis
in interface VideoUtil
PageException
public static VideoExecuter createVideoExecuter(Config config) throws ClassException
ClassException
public int[] calculateDimension(PageContext pc, VideoInput[] sources, int width, String strWidth, int height, String strHeight) throws PageException
calculateDimension
in interface VideoUtil
PageException
Copyright © 2015 Lucee