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
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,24 @@
1
1
# H264Sharp
2
2
Cisco's OpenH264 C++/CLI wrapper with optimised image format conversion support. It is very suitable for realtime streaming over network.
3
3
- Offers managed and unmanaged API.
4
-
- Tested on .NetFramework and NetCore(up to 7).
4
+
- Tested on .NetFramework and NetCore(up to 8).
5
5
- Compatible with OpenCV.(i.e. OpenCVsharp)
6
6
- Tested on WPF application with camera and screen capture (P2P Videocall).
7
7
- No memory leaks or GC pressure with bitmaps.
8
-
- Simple console application example is provided on repo as an example.
8
+
- Simple console application example is provided as an example.
9
9
10
10
### Setup
11
-
- Default Constructor will look for `openh264-2.3.1-win32.dll` or `openh264-2.3.1-win64.dll` automatically on executable directory depending on process type.
11
+
- Default Constructor will look for `openh264-2.3.1-win32.dll` or `openh264-2.3.1-win64.dll` automatically on executable directory depending on process type(64/32 bit).
12
12
- You can setup with a different dll name, constructor is overloaded.
A separate dll is provided for RGB <-> YUV conversions. Its compiled with clang LLVM and has AVX2 intrinsics.
64
+
A separate dll is provided for RGB <-> YUV conversions. Its compiled with clang LLVM with AVX2 intrinsics.
56
65
</br>You can optionally include it on your executable path just like Openh264 dll.
57
66
</br>
58
-
</br>If wrapper cannot find the Converter32/64 dll it will fall back to use C++/Cli versions.
67
+
</br>If wrapper cannot find the Converter32/64 dll or if your machine does not support AVX2 it will fall back to use default C++/Cli versions.
59
68
</br>External dll 2x+ faster than C++/Cli versions.
60
69
61
70
# TLDR how to install
62
-
- Go to my releases find lates version.
63
-
- Reference H264Sharp dll on your project.
71
+
- Go to my releases find latest version.
72
+
- Reference H264Sharp dll on your C# project.
64
73
- Add `openh264-2.3.1-win32.dll` or `openh264-2.3.1-win64.dll` or both to your executable directory(Or include on your project and ckeck copy to output-> copy if newer).
65
74
- Keep the original names if you want to use default constructors.
66
75
- Optionally Add Converter64/32 dlls to your executable directory same way as openh264 dll.
67
76
- Enjoy
77
+
68
78
# Remarks
69
79
- Decode callbacks with raw image formats use cached back buffer, if you wont consume them immediately, make a copy or sync your system.
70
80
- Encoder output "EncodedFrame" uses cached back buffer, if you wont consume them immediately, make a copy or sync your system.
0 commit comments