mercredi 16 avril 2014

Webcam C++ multi-plateforme en streaming via des sockets - Stack Overflow


I have a network of XP/Vista/7 machines most with webcams and a Linux machine which I use to administer the network.


What I need to do is create a program that runs on the Linux machine to administer the webcams on the windows boxes, basically being able to activate any number of chosen webcams and have the video streamed and displayed on the linux machine.


What methods would I need to use to do this? Obviously multithreaded sockets but what libs or apis could i use to get the data across and viewable in real-time?




Personally I'd use:



  1. OpenCV (For capturing the video from the webcam)

  2. Qt (for the network and UI)

  3. ffmpeg (For encoding the video)




See my Skype comment above. But if you are wanting to do something with your own code, you could look at using GStreamer. You could probably get an entire solution working with their command line tools and shell scripts.



I have a network of XP/Vista/7 machines most with webcams and a Linux machine which I use to administer the network.


What I need to do is create a program that runs on the Linux machine to administer the webcams on the windows boxes, basically being able to activate any number of chosen webcams and have the video streamed and displayed on the linux machine.


What methods would I need to use to do this? Obviously multithreaded sockets but what libs or apis could i use to get the data across and viewable in real-time?



Personally I'd use:



  1. OpenCV (For capturing the video from the webcam)

  2. Qt (for the network and UI)

  3. ffmpeg (For encoding the video)



See my Skype comment above. But if you are wanting to do something with your own code, you could look at using GStreamer. You could probably get an entire solution working with their command line tools and shell scripts.


0 commentaires:

Enregistrer un commentaire