public class SimpleArgument extends Object implements EncodingArgument
| Constructor and Description |
|---|
SimpleArgument(ArgType argumentType,
Function<EncodingAttributes,Stream<String>> getArguments) |
| Modifier and Type | Method and Description |
|---|---|
ArgType |
getArgType() |
Stream<String> |
getArguments(EncodingAttributes context)
Gets the Stream of arguments given the EncodingAttributes as context.
|
public SimpleArgument(ArgType argumentType, Function<EncodingAttributes,Stream<String>> getArguments)
public Stream<String> getArguments(EncodingAttributes context)
EncodingArgumentgetArguments in interface EncodingArgumentcontext - The EncodingAttributes specified by the user. Use this in your closure to
generate the arguments you'd like to pass to ffmpeg.public ArgType getArgType()
getArgType in interface EncodingArgumentCopyright © 2020. All rights reserved.