On Thu, Jun 10, 2004 at 12:10:34AM +0800, eman 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

hints:

mplayer -vo jpeg <video file> and mplayer -vo png <video file> output
video into jpeg and png files respectively. 

-osdlevel 0 suppreses volume + seek from appearing in the images

-sstep <sec>
 Specifies seconds between displayed frames.  Useful for slideshows.

-ss <time> (see -sb option too)
 Seek to given time position.

 EXAMPLE:
          -ss 56              seeks to 56 seconds
          -ss 01:10:00        seeks to 1 hour 10 min

-frames <number>
 Play/convert only first <number> frames, then quit.

-tv <option1:option2:...>
 This option enables the TV grabbing feature of MPlayer.
 [...]
 Available options are:
          on                  use TV input
  [...]
          device=<value>      Specify  other  device  than  the  default
                              /dev/video0.


HTH
-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
--
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