Package ws.schild.jave.encode
Interface EncodingArgument
-
- All Known Implementing Classes:
PredicateArgument,SimpleArgument,ValueArgument,VideoFilterArgument
public interface EncodingArgumentAn EncodingArgument is a placeholder for a future argument to FFMPEG. It uses the EncodingAttributes object to determine context and provides a Stream<String> of arguments back to the caller to be used as arguments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArgTypegetArgType()java.util.stream.Stream<java.lang.String>getArguments(EncodingAttributes context)Gets the Stream of arguments given the EncodingAttributes as context.
-
-
-
Method Detail
-
getArguments
java.util.stream.Stream<java.lang.String> getArguments(EncodingAttributes context)
Gets the Stream of arguments given the EncodingAttributes as context. Implementers must take care to return a new Stream on each successive call as doing otherwise will result in the stream already being operated on exceptions.- Parameters:
context- The EncodingAttributes specified by the user. Use this in your closure to generate the arguments you'd like to pass to ffmpeg.- Returns:
- A stream of arguments to pass to ffmpeg.
-
getArgType
ArgType getArgType()
-
-