It sounds like you need a C++ library that will allow you to create TCP or UDP packets containing your image data and send them out over your network interface (as well as receiving them at the far end and presenting you with the data). If I were doing this in C++, I would use the QTcpSocket (http://doc.qt.nokia.com/4.7/qtcpsocket.html) and QTcpServer (http://doc.qt.nokia.com/4.7/qtcpserver.html) classes that are available in QT. (http://qt.nokia.com/downloads).
If you haven't used QT before, then there is a bit of a learning curve (You will need a book to teach you QT4). Other people will be able to recommend quicker alternatives. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Russell Weber Sent: 15 March 2011 23:23 To: [email protected] Subject: [libav-user] How do I stream in real time a series of images in a c++ program as an encoded video across a network? OK... This is a very not so often asked question... Here's the situation. I have a program that is getting data from a set of cameras, one at a time, and then doing some image processing and computer vision. However, I need to figure out how to take the processed images and stream them over the network to another computer running an application that does some more processing..... We have the network set up, that was easy to do, I just need to figure out how to encode the images so that I end up with the bytes that are to be sent across the network and not just raw data, I also need to know how to receive the data in a manner that I can decode the sent bytes, on the spot without writing it to a file, back into an image for further processing. Using FFmpeg's server is not an option because we will be using several cameras that we need to switch through dynamically and process differently, remember that we have to do some image processing on them before we send the data over and not use the actual camera feed. We need to do this in the actual c++ code, any thing that you guys could give me in guidance would surely be apreciated... HELP ME MASTERS OF AVCODEC YOU'RE MY ONLY HOPE. _______________________________________________ libav-user mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-user http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. _______________________________________________ libav-user mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-user
