You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current API is a Builder, where files are added to the Command builder, and then Streams and Options are added to each file. This is the reverse of the ffmpeg command-line API, where options are specified before the corresponding file.
In some situations a more direct mapping of the command-line API to Elixir may be desirable instead of the Builder. It would essentially be a wrapper around Elixir's System.cmd/3 (or Rambo.run/3) with some convenience functions.
Maybe FFmpex.new_raw_command/0 and a RawCommand struct and add_raw_argument/2?
The current API is a Builder, where files are added to the Command builder, and then Streams and Options are added to each file. This is the reverse of the ffmpeg command-line API, where options are specified before the corresponding file.
Current way:
Corresponds to:
New alternative:
In some situations a more direct mapping of the command-line API to Elixir may be desirable instead of the Builder. It would essentially be a wrapper around Elixir's
System.cmd/3
(orRambo.run/3
) with some convenience functions.Maybe
FFmpex.new_raw_command/0
and aRawCommand
struct andadd_raw_argument/2
?Related: #28
The text was updated successfully, but these errors were encountered: