Ok, i just found out about rawtoppm and ppmtojpeg, but the output's
just a gray box. Then i tried ppmtobmp, still, same result.

I also tried rawtogif, but all i could see are blurs.
BTW, getting this from a raw character device.
Here's some other info:
# ls -l /dev/video0
crw-rw-rw-    1 root     root      81,   0 Jun  3 11:46 /dev/video0

Also, since it's a raw device, i also tried fopen("/dev/video0",
RDONLY), then read() to the length that i expect, then i write() it to
a file (vid.raw), but it didn't work. vid.raw is just a 0-length file.
I'm running this as root, with the current directory rwx-able, and
with video rw-able.

Please help.


On Thu, 10 Jun 2004 00:10:34 +0800, eman <[EMAIL PROTECTED]> wrote:
> 
> 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.
> 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
> Please help me, i'm completely new at this.
>
--
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

Reply via email to