Date: Tue, 14 Oct 2014 16:28:02 +0200 From: Rolf Nielsen <rmg1970swe@gmail.com> To: multimedia@FreeBSD.org Subject: Transmitting webcam Message-ID: <543D32F2.4030007@gmail.com>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've recently acquired a webcam, and I've got it working nicely with the help of webcamd and pwcview. Now I want to do the following. (I want to do them simultaneously). 1. (This is a non-problem, as it took me all of six minutes to get it working, but I include it for completeness). Record the webcam, using motion detection, and save it as a video file on my HDD. 2. Take stills at regular intervals (something like once or twice a minute) and have these stills transmitted on the web. I've figured out how to make pwcview take snapshots, and I guess I could have it call a script that uploads the file somewhere. However, I want it made available as a very slow video stream, so it updates itself when someone views it. The reason I don't want to use the video file is that I want the stills stream updated even if there's no motion. And now for my questions. 1. I'm behind a router to which I have no admin access, and that doesn't allow inbound connections, so does any of you know a streaming service I could use? Preferably one to which I can upload a jpeg once or twice a minute. And preferably free, but I'm willing to pay a reasonable amount, if necessary. It has to have the option to only allow selected people to view the stream. 2. In case uploading a jpeg once in awhile isn't an option, is there a way to encode a video stream and stream it to the server which then streams it on the web? And how can I generate a video stream from files that do not yet exist when the encoder is started? If I output all snapshots to the same filename and tell ffmpeg to loop it, it only reads the file once, and generates a stream of identical frames. Any assistance will be much appreciated. Regards, Rolf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUPTLyAAoJEPJMW41Co4JgaCcP/2g2h2MFRw/VrfZ2dLyfbXtH qmao9u+/GDzTgBphML4yrm0ANhODQun9FPl3ZIJ4XkmKNH+qhF+AytMuUob2QnzC mLR2KYYgzPcmJPNaDmYa82lmG+oYQVSwQMgWLMLjX06x5zoTHtRsT+30oR9Cdn+P yXnb1Ra3SIX04bV7a0MCLF6kAW/JvZ7VArGYjtLbRZ0X/kJct/llu3CosxS/Nd3e tiD7PHrU0agk9NZgrWU7lR05LF/t8VKiXJMWdm09WempC0NP28BK2bpkJPk2sfCX sIPkVPcrkIwdsfBat/Gil8SkuLJlS7C8Klb5Dg9CAesqJx13i2ovobXNnjK9y0nn UoqMYp8vnJwYygC2JeWIAoE3fVKmx8zKxvEbUYQ9isupUTH5aACg3woqiutpQriE lpBJ+jW17WCsbz/iOsxBOjmhaMQYkmK8Q3SKqyFNw6eivm8UequVIQ4mECm9Lyyb +xpS2eUNSH52r2vnYh8vwNEF2NPq9RTRNf+OA92v+vxcyvrNv/Al3TQ+6hYHhG3L oyHsaAt38P+gEDSboqXKQYfnGmJ5EE9GbXc4LHVb6PcuqLcCln9X00z/ovpGxOgO cYmpkEf24dBUKrrH1oxGjYM23OZd1yeD0tcderviTphX7q/0nH6Yt2ofNjpWqiZL EcO7D4JMs4pBbcqBjNY/ =XboN -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543D32F2.4030007>