O
O
OM12017-12-22 18:46:08
fmpeg
OM1, 2017-12-22 18:46:08

C# + ffmpeg for a beginner, what to read?

Hello.
It is necessary to implement a couple of commands for ffmpeg as a window application.
- With a sharp on YOU, what guides/articles to read about application building models (example of MVP in Java for Android)?
-Where can I read a lesson about using ffmpeg from under C#?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MrDywar Pichugin, 2017-12-22
@OM1

1) C# - https://metanit.com/sharp/
2)
- Read help - https://www.ffmpeg.org/, write a C# application that sends commands to another application and reads the responses.
- Use ready-made wrappers - https://github.com/mysteryx93/FFmpeg.NET.

W
w1ld, 2017-12-23
@w1ld

Why exactly C#? M.b. Powershell script will do. It’s easier and doesn’t need to be deployed and you can quickly fix it. If you just need to call ffmpeg from the environment, then you can wrap the parameters in a form. For example, here is a manual on how to create simple forms from Powershell - https://technet.microsoft.com/en-us/library/ff7309...
And somewhere like this:

$OKButton.Add_Click({$inFile=$objTextBox.Text;$objForm.Close()})   # это обработка нажатия на кнопку
& ffmpeg $inFile  # это вызов скрипта

Easy :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question