Class NullOutput
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<NullOutput>
com.github.kokorin.jaffree.ffmpeg.BaseOutput<NullOutput>
com.github.kokorin.jaffree.ffmpeg.NullOutput
- All Implemented Interfaces:
Output
FFmpeg Null output implementation.
The null muxer does not generate any output file. The null muxer uses a wrapped frame so there is no muxing overhead (i.e. it can accept any type of input codec, doesn't have to be rawvideo for instance).
Null output can be combined with codec copying to achieve fast & exact file length detection.
It may be required also to set FFmpeg.setOverwriteOutput(boolean) to true.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreatesNullOutputwith codec copying.NullOutput(boolean copyCodecs) CreatesNullOutput. -
Method Summary
Methods inherited from class com.github.kokorin.jaffree.ffmpeg.BaseOutput
addMap, addMap, addMap, addMap, addProgram, addProgram, buildArguments, copyAllCodecs, copyCodec, copyCodec, disableStream, setFrameCount, setOutputPosition, setOutputPosition, setSizeLimitMethods inherited from class com.github.kokorin.jaffree.ffmpeg.BaseInOut
addArgument, addArguments, getAdditionalArguments, helperThread, setCodec, setCodec, setDuration, setDuration, setFormat, setFrameRate, setFrameRate, setFrameSize, setFrameSize, setFrameSize, setPixelFormat, setPixelFormat, setPosition, setPosition, setPositionEof, setPositionEof, thisAsT, toArgumentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.kokorin.jaffree.ffmpeg.Output
buildArguments, helperThread
-
Constructor Details
-
NullOutput
public NullOutput()CreatesNullOutputwith codec copying. -
NullOutput
public NullOutput(boolean copyCodecs) CreatesNullOutput.- Parameters:
copyCodecs- true to use copy codecs
-