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
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# H264Sharp
2
-
Cisco's OpenH264 C++/CLI wrapper in C# with optimised image format conversions. It is very suitable for realtime streaming.
2
+
Cisco's OpenH264 C++/CLI wrapper in C# with optimised image format conversions. It is very suitable for realtime streaming over network.
3
3
- Offers managed and unmanaged intuitive API.
4
4
- Tested on .NetFramework and NetCore(upto 7).
5
5
- Compatible with OpenCV.(i.e. OpenCVsharp)
@@ -8,9 +8,8 @@ Cisco's OpenH264 C++/CLI wrapper in C# with optimised image format conversions.
8
8
- Simple console application example is provided on repo as an example.
9
9
10
10
### Setup
11
-
-Empty Constructor will look for 32 or 64 bit openh264dll with its default name automatically on executable directory(i.e. Debug/Release folder of your project).
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.
12
12
- You can setup with a different dll name, constructor is overloaded.
13
-
14
13
```c#
15
14
decoder=newH264Sharp.Decoder();
16
15
@@ -27,6 +26,7 @@ Cisco's OpenH264 C++/CLI wrapper in C# with optimised image format conversions.
27
26
{
28
27
foreach (varframeinframes)
29
28
{
29
+
//hints..
30
30
//byte[] b = frame.ToByteArray();
31
31
//frame.CopyTo(buffer, 0);
32
32
Decode(frame.Data, frame.Length, frame.Type);
@@ -60,9 +60,11 @@ A separate dll is provided for RGB <-> YUV conversions. Its compiled with clang
60
60
61
61
# TLDR how to install
62
62
- Go to my releases find lates version.
63
-
- Reference/Include H264Sharp dll on your project.
64
-
- Add `openh264-2.3.1-win32.dll` or `openh264-2.3.1-win64.dll` or both to your executable directory. (keep the original names if you want to use default constructor)
65
-
- Optionally Add Converter64/32 dlls to your executable directory.
63
+
- Reference H264Sharp dll on your project.
64
+
- 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
+
- Keep the original names if you want to use default constructors.
66
+
- Optionally Add Converter64/32 dlls to your executable directory same way as openh264 dll.
67
+
-
66
68
# Remarks
67
69
- Decode callbacks with raw image formats use cached backed buffer, if you wont consume them immediately, make a copy or sync your system.
68
70
- Encoder output "EncodedFrame" uses cached back buffer if you wont consume them immediately, make a copy or sync your system.
0 commit comments