Interface EncodingArgument

All Known Implementing Classes:
PredicateArgument, SimpleArgument, ValueArgument, VideoFilterArgument

public interface EncodingArgument
An 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.
Author:
mressler
  • Method Details

    • getArguments

      Stream<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()