Class TcpInput<T extends TcpInput<T>>
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<T>
com.github.kokorin.jaffree.ffmpeg.BaseInput<T>
com.github.kokorin.jaffree.ffmpeg.TcpInput<T>
- Type Parameters:
T- self
- All Implemented Interfaces:
Input
- Direct Known Subclasses:
ChannelInput,FrameInput,PipeInput
TcpInput allows to provide ffmpeg with input via local TCP socket on loopback address.-
Constructor Summary
ConstructorsModifierConstructorDescriptionTcpInput(TcpNegotiator tcpNegotiator) CreatesTcpInput.TcpInput(String protocol, TcpNegotiator tcpNegotiator) CreatesTcpInput.TcpInput(String protocol, String suffix, TcpNegotiator tcpNegotiator) CreatesTcpInput.protected -
Method Summary
Modifier and TypeMethodDescriptionfinal ProcessHelperHelperProcessHelperwhich should be ran in dedicated thread.Methods inherited from class com.github.kokorin.jaffree.ffmpeg.BaseInput
buildArguments, setReadAtFrameRate, setStreamLoopMethods 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.Input
buildArguments
-
Constructor Details
-
Method Details
-
helperThread
HelperProcessHelperwhich should be ran in dedicated thread. Default implementation always returns null.- Specified by:
helperThreadin interfaceInput- Overrides:
helperThreadin classBaseInOut<T extends TcpInput<T>>- Returns:
- ProcessHelper, or null if no helper thread is needed
- See Also:
-