Class TcpOutput<T extends TcpOutput<T>>
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<T>
com.github.kokorin.jaffree.ffmpeg.BaseOutput<T>
com.github.kokorin.jaffree.ffmpeg.TcpOutput<T>
- Type Parameters:
T- self
- All Implemented Interfaces:
Output
- Direct Known Subclasses:
ChannelOutput,FrameOutput,PipeOutput
TcpOutput allows to consume ffmpeg output via local TCP socket on loopback address.
Note there are limitation because of non-seekable nature of TCP output.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionTcpOutput(TcpNegotiator tcpNegotiator) CreatesTcpOutput.TcpOutput(String protocol, TcpNegotiator tcpNegotiator) CreatesTcpOutput.TcpOutput(String protocol, String suffix, TcpNegotiator tcpNegotiator) CreatesTcpOutput.protected -
Method Summary
Modifier and TypeMethodDescriptionfinal ProcessHelperHelperProcessHelperwhich should be ran in dedicated thread.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, 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
-
Constructor Details
-
Method Details
-
helperThread
HelperProcessHelperwhich should be ran in dedicated thread. Default implementation always returns null.- Specified by:
helperThreadin interfaceOutput- Overrides:
helperThreadin classBaseInOut<T extends TcpOutput<T>>- Returns:
- ProcessHelper, or null if no helper thread is needed
- See Also:
-