Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 905 Bytes

File metadata and controls

23 lines (18 loc) · 905 Bytes

This is an example of .net app which connects to viinex via local transport and does some processing on a raw video frames (in this case -- it compresses them with JPEG and saves to a file).

Files vnxvideo.cs and SaveJpeg.cs are mostly ai-generated.

vnxvideo.cs can be used in other projects, -- that's a wrapper to use functions from vnxvideo library in a .net app.

This project has been built and tested on linux.

On Windows, the library name vnxvideo.so in source file vnxvideo.cs needs to be replaced with vnxvideo.dll.

Build and run with

/usr/lib/dotnet/dotnet build
sudo /usr/lib/dotnet/dotnet run --project vnxdotnetsample

A viinex instance needs to be running in parallel, configured to have an object of type renderer and named rend0. Property share should be set to true in that object's config. This .net app will receive the frames produced by that object.