Class ChannelInput
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.BaseInOut<ChannelInput>
com.github.kokorin.jaffree.ffmpeg.BaseInput<ChannelInput>
com.github.kokorin.jaffree.ffmpeg.TcpInput<ChannelInput>
com.github.kokorin.jaffree.ffmpeg.ChannelInput
- All Implemented Interfaces:
Input
Input which allows usage of SeekableByteChannel as ffmpeg input.-
Constructor Summary
ConstructorsConstructorDescriptionChannelInput(String fileName, SeekableByteChannel channel) CreatesChannelInput.ChannelInput(SeekableByteChannel channel) CreatesChannelInput. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelInputfromChannel(String fileName, SeekableByteChannel channel) CreatesChannelInput.static ChannelInputfromChannel(SeekableByteChannel channel) CreatesChannelInput.Methods inherited from class com.github.kokorin.jaffree.ffmpeg.TcpInput
helperThreadMethods 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, helperThread
-
Constructor Details
-
ChannelInput
CreatesChannelInput.ffmpeg uses fileName's extension to autodetect input format
- Parameters:
channel- byte channel
-
ChannelInput
CreatesChannelInput.ffmpeg uses fileName's extension to autodetect input format
- Parameters:
fileName- file namechannel- byte channel
-
-
Method Details
-
fromChannel
CreatesChannelInput.- Parameters:
channel- byte channel- Returns:
- ChannelInput
- See Also:
-
fromChannel
CreatesChannelInput.ffmpeg uses fileName's extension to autodetect input format
- Parameters:
fileName- file namechannel- byte channel- Returns:
- ChannelInput
-