Where to download FFMPEG.exe and use it in C #

I am trying to watermark a video using FFMPEG. I tried the following code

NReco.VideoConverter.FFMpegConverter wrap = new FFMpegConverter();
wrap.Invoke("-i D:\\input.mp4 -i D:\\inputImage.png -filter_complex \"overlay=10:10\" D:\\Output.mp4");

but he gives an error

ffmpeg: Invalid argument (exit code: 1)

I tried to search if I can use such a method (invoke) in AForge, splicer or in another library.

I came across many other questions about stackoverflow like which uses ffmpeg exe. I do not know where I can find him.

I also found this link on the official ffmpeg windows website, but cannot find such a thing

I just started working on video processing in C #, so I'm very confused by the concepts, kindly help me get started.

+4
source share
1

(imho). Windows : . . $path_to_ffmpeg$\bin>ffmpeg.exe -i in.mp4 -vf "movie=watermark.png [w]; [in][w] overlay=10:10 [out]" -acodec copy out.mp4. NReco.VideoConverter. . , escape-, ..

0

Source: https://habr.com/ru/post/1617939/


All Articles