Trivial task: scheduled (every day at a certain time) to take pictures with the webcam, and then (optional, but advisable) fill them by FTP (SFTP) with a certain file format.
The problem is that this must be done under Windows 7, under Linux I have no such issues would not have arisen, because this pair lines on bash'E.
Yesterday went online in search of a suitable software, but anything suitable have not met. Can you then advise how to solve this problem?The problem is solved
Thanks to you, problem solved. Here is the solution:1.
Download and install SMPlayer (he also includes mplayer).2.
Create a file with the following contents (pay attention to file paths) to take the snapshot.cmd
"C:\\Program Files (x86)\\SMPlayer\\mplayer\\mplayer's" tv:// -ss 5 -frames 1-vo png -vf scale=640:480
cd "C:\\Users\\Vir\\AppData\\Local\\VirtualStore\\Program Files (x86)\\SMPlayer\\mplayer\\"
ren 00000001.png %_date%.png
ftp -v-i -s:ftp-commands.txt
Create a file ftp-commands.txt in the same directory that the script is using the cmd:
And that's all. The problem is solved. Starts the file a take snapshot.cmd, it creates a snapshot with the webcam and uploaded it via ftp.