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
Copy file name to clipboardExpand all lines: README.md
+88Lines changed: 88 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ Currently, only a Windows environment with Visual Studio is supported. This is s
20
20
21
21
There are multiple demo projects included in the solution. Check out the demo-project for a thorough exploration of the features (demuxing, decoding, filtering, encoding, muxing) or one of the other examples for a simpler example to follow.
22
22
23
+
There is also a .NET Core compatible simplified interface included so that you can embed this project in your .NET Core projects.
24
+
25
+
## C++
26
+
23
27
To give you an idea, this code will load a video stream from a container, filter it, and write it back out to another container:
24
28
25
29
```C++
@@ -56,6 +60,90 @@ muxer->Close();
56
60
57
61
```
58
62
63
+
If you use the included simple-interface library, which only supports a subset of the full library, using ffmpeg-cpp becomes even easier:
If you want to use ffmpeg-cpp in a C# project, you can easily do so by making your own C-wrapper around the
146
+
59
147
# Why?
60
148
61
149
I developed this project to be able to to integrate FFmpeg into our program without having to call the executable to do an operation. This is important because starting up an external executable tends to be blocked by antivirus software and can cause issues with users. It has been tested for the most common functionality, and some of the examples from https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples are mirrored in the project as well.
0 commit comments