How do I use rapidonvif library in VS Code and write simple ONVIF tasks like camera discovery and video streaming in C++?
I didn't find any tutorial.
Related
I need to develop a C++ DLL in and for Windows 10, that is capable of scanning for, connecting to and exchanging data with a Bluetooth Low Energy (BLE) device.
Can someone please advise on an appropriate library, tutorial or relevant documentation that will enable me to develop a C++ DLL to implement BLE Central functionality.
You can use the WinRT BLE libraries for C++, which have the same API as if you would write in C#. You for example have https://github.com/urish/win-ble-cpp/tree/master/BLEScanner.
If you want to use the raw C libraries they work as well, but do not have all features: https://social.msdn.microsoft.com/Forums/en-US/bad452cb-4fc2-4a86-9b60-070b43577cc9/is-there-a-simple-example-desktop-programming-c-for-bluetooth-low-energy-devices?forum=wdk
I am kind of a beginner in programming, learning it in school, so I really don't know much.
But I want to make a program for PC and maybe app for iPhone/Android that receives a video-stream from a camera and displays it, nothing more.
How do I do this in C++/C# in Visual Studio?
Camera -> WiFi -> PC/Phone
A good library for working with images/video in c++ is OpenCV. I would recommend taking a look at their examples.
http://docs.opencv.org/3.0.0/index.html
Check out the highgui module!
You should first check for cameras that come with a programming API so that it is easy to write programs to communicate with it.
If the camera drivers can make it communicate with standard chat apps like Sykpe, you should be able to use C++ and OpenCV to capture a stream from it. But you can choose the language and tools according to what you want to do with the video stream.
I have a Raspberry Pi that reads sensor data and I would like to send it to a xively feed.
I figured out that I have to use either the API or the C library. I failed trying to use the library.
I would like to have something like this in my C++ program:
xively.update("sensor1",sensorvalue);
What is the easiest way to do that?
Xively C library currently doesn't implement a high-level C++ wrapper.
You need to statically link with libxively.a.
I have just answered on the original question.
i was wondering what is the best way to livestream a camera using RTSP? i have been looking for hours but could not find anything any server source code that allows webcam livestreaming in c++ would help a lot.
There are many links to various server RTSP implementations, some open source and free on wikipedia.
Like this open source C++ one.
My application displays video and audio and I want to add a recording feature.
I've considered FFmpeg, but I have to compile my application with VS so I can't use it. So I'm trying to do it with GStreamer, but I'm not finding any example or guide on how to create a video. Any help?
(I can also consider using any other alternatives, but they must be cross-platform).
Application Development Manual explains very well how to use gstreamer from your code. Try to read it first.
Than you can experiment with gst-launch tool, build pipeline and execute it from your application using gst-parse-launch function.
You can expose more details of your problem if you want more helpful answer.