Web pictures from web

Hi there,

please, I’d like to ask you for the way how to download picture from website (webcam) every minute a save in hdd? Any idea? Thanks.


If you are meaning an automated way, I’m not sure. Manually, if you have the screen on view you can press PrtSc to take a snapshot.

in automatic way, certainly :slight_smile:

I know ffmpeg can do it from video. You need a guru in this. I can your mutli-media working, but I’m not expert at what you require.
@microchip or perhaps @oldcpu may offer help. Wait it out.:wink:

Yes, ffmpeg can capture both from /dev/video and from a rectangular area of the screen.

ffmpeg has a switch for rate:

ffmpeg … -r 24 …

I wonder whether setting a very slow rate will create a film, something like this:

To capture from webcam:

LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so ffmpeg -s 640x480 -r 1/60 -sameq -f video4linux2 -i /dev/video -f oss -i /dev/dsp ~/b.mpg

To capture from a rectangular area:

ffmpeg -f x11grab -s 640x480 -sameq -r 1/60 -i :0.0+62,207 -sameq ~/a.mpg

The 1/60 is the capture rate, 1 frame in 60 seconds.

This will create a film, not a sequence of images, but maybe this is what is required by OP.

A sequence of images can also be created by the ffmpeg.

From the mpg film, a sequence of images can be extracted by ffmpeg.

Probably I wasnt so clear. I’d like to save image every 1 minute from website (from webcam but not my own) So I have something like[EDIT] and every minute is the picture on webpage updated - and I want to save all the pictures, of course with unique names.

[EDIT]by caf4926
url removed! Seriously you cannot post adult stuff here.

to editor: automatically added sexual webpage, not my job :slight_smile: