Class ChannelOutput
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<ChannelOutput>
com.github.kokorin.jaffree.ffmpeg.BaseOutput<ChannelOutput>
com.github.kokorin.jaffree.ffmpeg.TcpOutput<ChannelOutput>
com.github.kokorin.jaffree.ffmpeg.ChannelOutput
- All Implemented Interfaces:
Output
Output implementationwhich allows usage of SeekableByteChannel as ffmpeg output.-
Constructor Summary
ConstructorsConstructorDescriptionChannelOutput(String fileName, SeekableByteChannel channel) CreatesChannelOutput. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelOutputtoChannel(String filename, SeekableByteChannel channel) CreatesChannelInput.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
-
ChannelOutput
CreatesChannelOutput.ffmpeg uses fileName's extension to autodetect output format
- Parameters:
fileName- file namechannel- byte channel
-
-
Method Details
-
toChannel
CreatesChannelInput.ffmpeg uses fileName's extension to autodetect output format
- Parameters:
filename- file namechannel- byte channel- Returns:
- ChannelOutput
-