Class JCodecRecorder
- java.lang.Object
-
- nl.elec332.util.javarecorder.impl.JCodecRecorder
-
-
Constructor Summary
Constructors Constructor Description JCodecRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Supplier<org.jcodec.common.model.Picture>convertFrame(java.awt.image.BufferedImage image)voidencodeFrame(org.jcodec.common.model.Picture frame)static voidfromBufferedImage(java.awt.image.BufferedImage src, org.jcodec.common.model.Picture dst)static org.jcodec.common.model.PicturefromBufferedImageRGB(java.awt.image.BufferedImage src)nl.elec332.util.implementationmanager.api.ImplementationTypegetImplementationType()booleanisRecording()voidstartRecorder(int fps, int width, int height, java.io.File file)voidstopRecorder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.elec332.util.implementationmanager.api.IExtensionImplementation
getImplementationSpeed
-
Methods inherited from interface nl.elec332.util.javarecorder.api.IRecorder
encodeFrame, encodeFrame
-
-
-
-
Method Detail
-
getImplementationType
public nl.elec332.util.implementationmanager.api.ImplementationType getImplementationType()
- Specified by:
getImplementationTypein interfacenl.elec332.util.implementationmanager.api.IExtensionImplementation- Specified by:
getImplementationTypein interfaceIRecorder<org.jcodec.common.model.Picture>
-
startRecorder
public void startRecorder(int fps, int width, int height, java.io.File file)- Specified by:
startRecorderin interfaceIRecorder<org.jcodec.common.model.Picture>
-
stopRecorder
public void stopRecorder()
- Specified by:
stopRecorderin interfaceIRecorder<org.jcodec.common.model.Picture>
-
encodeFrame
public void encodeFrame(org.jcodec.common.model.Picture frame)
- Specified by:
encodeFramein interfaceIRecorder<org.jcodec.common.model.Picture>
-
isRecording
public boolean isRecording()
- Specified by:
isRecordingin interfaceIRecorder<org.jcodec.common.model.Picture>
-
convertFrame
public java.util.function.Supplier<org.jcodec.common.model.Picture> convertFrame(java.awt.image.BufferedImage image)
- Specified by:
convertFramein interfaceIRecorder<org.jcodec.common.model.Picture>
-
fromBufferedImageRGB
public static org.jcodec.common.model.Picture fromBufferedImageRGB(java.awt.image.BufferedImage src)
-
fromBufferedImage
public static void fromBufferedImage(java.awt.image.BufferedImage src, org.jcodec.common.model.Picture dst)
-
-