cmxl / FFmpeg.NET

.NET wrapper for common ffmpeg tasks
MIT License
611 stars 99 forks source link

Made ExecuteAsync method public and added overload to stream output via pipe #79

Open TobiasFaller opened 10 months ago

TobiasFaller commented 10 months ago

Simplified Engine class to allow for simple addition of wrappers in the future and merged duplicated code. Merge 77 first for correctly tracking changes in pipe handling methods.

This is done via two changes to Engine and FFmpegArgumentBuilder:

1.) Made ExecuteAsync methods the base for calling ffmpeg in Engine:

2.) Added Execute task type to invoke ffpmeg with custom arguments while keeping support for specifying the input and output: