I would like to simulate some kind of camera on a UAV. The camera should provide a live stream, and send the stream over a network connection to a server. The server should be able to play the stream on the fly for me to see.
I was thinking the client(uav) just read a moviefile and sent it to the server. But how can the server show the file on the fly? I suppose the simplest way would be to use xine or mplayer to show the movie? But how?
This is to be done in python and GNU/Linux. The client and server is both located on the same machine.
The main issue is to get the server to play the file on the fly, before it has the whole file available. Any ideas?
EDIT: The server and client are connected with a standard tcp/ip connection. The video feed is not alone on the connection.
Orjanp---