Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Qt wifi camera interfacing
I want to create a project where a wifi camera sends the captured video to my wifi PC. And my question is how to access the that video in qt.I didn't knew its coding. Please help me..Thanks in advance.
Wifi camera is a bit vague, you should at least give the model, how you use it, and whether there's a SDK or programming guide that comes with it.
I am using my android mobile as camera which uses 'Wifi Camera' app for sending the video to my PC through wifi communication network and not over internet.
I am on the way of developing an app which access wifi port and the video.
Can you post the code of accepting the video through wifi port.
From a quick look over WiFi Camera Git repository, you have a web server setup to stream mjpeg images. So you can use a QNetworkAccessManager to get the data, then it's up to you to parse the data to retrieve the images
Thank you very much sir,
Can you please post a sample code for the above.
Please, i don't know its coding..
Are you asking me to do your job ?
Nope, I want to know the keywords and steps to achieve the task.
QNetworkAccessManager -> network part
mjpeg -> image format that you are receiving
Depending on the FPS you need, you will either have to implement a backend for QtMultimedia or use QImage and e.g. a QLabel to display your images.
There's also OpenGL.
Can we implement the same in QTQUICK?
Do you mean the network part + image decoding + preview ?
Yes, complete or except network part..
The preview part, no problem, it's one of the thing QML is for.
For the rest, AFAIK, no, but i'd be happy to be proven wrong. QML is not meant to do everything, the idea is to create your GUI in QML and the core logic is in C++