hi,
> -----Original Message-----
> From: eman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 12:11 PM
> To: 01 LIST - Philippine Linux Users Group Mailing List
> Subject: [plug] Video output to jpeg/png file
>
>
> Hello,
> Does anyone know how do i make jpeg/png files from video
> output via CLI?
> The video output is put in /dev/video0 and i need to generate images
> from it on certain time intervals.
try looking into import and xwinfo (part of
Imagemagick yata un).
i have a cron'd script with these:
# this gets the id used by screen
windowid=`/usr/bin/X11/xwininfo -name screen -display localhost:0 | grep
xwininfo | awk '{ print $4}'`
# this captures the contents of the
/usr/bin/import -silent -display localhost:0 -window $windowid ~/cms.gif
cms.gif is then displayed to a web page and updated every 18 sec.
> Is there a command for this? Or are there any Perl modules i could
> use? Or is there a library i could use to make an executable for this?
> I'm not sure about what kind of video output it is, but it's probably
> like what you'd get from running:
> mplayer -vo vesa
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie