Class PipeOutput
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<PipeOutput>
com.github.kokorin.jaffree.ffmpeg.BaseOutput<PipeOutput>
com.github.kokorin.jaffree.ffmpeg.TcpOutput<PipeOutput>
com.github.kokorin.jaffree.ffmpeg.PipeOutput
- All Implemented Interfaces:
Output
Output implementation which passes ffmpeg output to OutputStream.
Note OutputStream is non seekable, so ffmpeg may not correctly finalize many
formats. Consider using ChannelOutput
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPipeOutput(PipeOutputNegotiator negotiator) protectedPipeOutput(OutputStream destination, int bufferSize) CreatesPipeOutput. -
Method Summary
Modifier and TypeMethodDescriptionstatic PipeOutputpumpTo(OutputStream destination) CreatesPipeOutputwith default buffer size.static PipeOutputpumpTo(OutputStream destination, int bufferSize) CreatesPipeOutput.Methods inherited from class com.github.kokorin.jaffree.ffmpeg.TcpOutput
helperThreadMethods 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, 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
-
PipeOutput
CreatesPipeOutput.- Parameters:
destination- output stream to copy tobufferSize- buffer size to copy data
-
PipeOutput
-
-
Method Details
-
pumpTo
CreatesPipeOutputwith default buffer size.- Parameters:
destination- output stream to copy to- Returns:
- PipeOutput
-
pumpTo
CreatesPipeOutput.- Parameters:
destination- output stream to copy tobufferSize- buffer size to copy data- Returns:
- PipeOutput
-