I am working on a Project that involves taking the output from a Webcam which is in either jpg or h.264 format, and outputting it to a foreign server (HTTP / FTP would work, I am open minded). What is the most logical way of doing this.
I would imagine that it would be achieved with
(command) | (commandtooutput [params]) [location]. Am I looking at this wrong?
With images, I would prefer to upload them periodically such as once a minute. Eventually I would like to allow for this period to be changed. Does this seem logical / realistic? I presume the most logical way to implement this would be with Python or BASH scripting, having the script read period information before each sync and then have the script adjust accordingly.
To give some background the output is from a Raspberry Pi's
raspivid program, (it will either be running ArchARM or the usual Raspbian). I decided not to place this question in those forums because I think it applies more any distro of Linux. I believe the only thing that is unique to the Pi in this situation is irrelevant to my question, however if this is an inappropriate place to ask let me know and I will be sure to move / delete the post.