FFmpex.add_stream_specifier

You're seeing just the function add_stream_specifier, go back to FFmpex module for more information.
Link to this function

add_stream_specifier(command, opts)

View Source

Specs

add_stream_specifier(command :: FFmpex.Command.t(), opts :: Keyword.t()) ::
  FFmpex.Command.t()

Add a stream specifier to the most recent file. The stream specifier is used as a target for per-stream options.

Example

add_stream_specifier(command, stream_type: :video)

Options

  • :stream_index - 0-based integer index for the stream
  • :stream_type - One of :video, :video_without_pics, :audio, :subtitle, :data, :attachments
  • :program_id - ID for the program
  • :stream_id - Stream id (e.g. PID in MPEG-TS container)
  • :metadata_key - Match streams with the given metadata tag
  • :metadata_value - Match streams with the given metadata value. Must also specify :metadata_key.
  • :usable - Matches streams with usable configuration, the codec must be defined and the essential information such as video dimension or audio sample rate must be present.