I'm looking in to creating a mono C# program that does some very basic functions with a Raspberry Pi Camera V2, such as take still images and record videos of a specified length.
At the moment I'm using a work around to take photos/videos by constructing lxterminal commands for "raspistill" and "raspivid" and executing them using Process.Start, but ideally I'd also like to have a box in my form that has a "Live Preview/Feed" display, showing what the camera sees in realtime (or slight delay, just getting it to work is good enough for now)
I've seen a lot of threads talk about MMALSharp, using Python instead (which I'd like to avoid doing), and using services such as Motion, but the threads are either unsolved, ancient, or just so convoluted with tech support that it's hard to discern any actual information from them.
So, with that being said: Does anybody know of any libraries or classes that allow you to generate a live preview of the Raspberry Pi Camera? I'm quite new to GUI C#, as I've mainly dealt with Console applications, so any snippets of code/explanations of objects or methods which you feel like including would be appreciated.
Thanks very much
Edit: I should note that I'm using a Raspberry Pi 4 B