Difference between revisions of "V4L capturing"

From LinuxTVWiki
Jump to: navigation, search
m (Added some more capture apps)
m (Attempt to make this a bit more complete)
Line 1: Line 1:
  +
==TV Recording applications==
There are several applications for continuous capture (this page could use some attention):
 
   
  +
* [http://dvr.sourceforge.net DVR] -- Digital Video Recorder for Linux
* streamer
 
  +
* [http://ffmpeg.sourceforge.net/index.php ffmpeg]
* videodog
 
  +
* [http://freevo.sourceforge.net Freevo] -- open-source digital video jukebox
 
* [[mencoder]]
 
* [[mencoder]]
** [[Home_brews |script examples]]
+
** [[home_brews |script examples]]
* [[MythTV]]
+
* [[MythTV]] -- a Personal Video Recorder project
  +
* [http://linux.bytesex.org/xawtv streamer]
* ffmpeg
 
* transcode
+
* [http://www.transcoding.org transcode]
  +
* [http://paginas.terra.com.br/informatica/gleicon/video4linux/videodog.html videodog]
* webcam
 
   
  +
==Other frame grabbers==
====Common configuration and control commands====
 
   
  +
* [http://tldp.org/HOWTO/Webcam-HOWTO/framegrabbers.html framegrabbing applications] -- from [http://tldp.org/HOWTO/Webcam-HOWTO/index.html the Webcam HowTo]
1. Control the TV card (v4lctl is a part of the xawtv package)
 
  +
* [http://www.gnomemeeting.org GnomeMeeting] -- Linux H.323 compatible client for the Gnome desktop
  +
* [http://motion.sourceforge.net motion] -- motion-detection using a webcam
  +
* [http://www.litech.org/spook spook] -- capture live video and audio and stream it over an IP network
  +
* [http://linux.bytesex.org/xawtv webcam] -- captures images and uploads them to a Web-Server via ftp or ssh in a endless loop
  +
  +
==Common configuration and control commands==
  +
  +
1. [[v4l2ucp]] -- universal control panel for v4l2
  +
  +
2. Command-line control the TV card (v4lctl is a part of the xawtv package)
 
:* v4lctl -c /dev/video0 list
 
:* v4lctl -c /dev/video0 list
 
:* v4lctl -c /dev/video0 bright "60%"
 
:* v4lctl -c /dev/video0 bright "60%"
 
:* v4lctl -c /dev/video0 contrast "55%"
 
:* v4lctl -c /dev/video0 contrast "55%"
:* [[v4l2ucp]] -- universal control panel for v4l2
 
   
2. Capture the snaps (streamer is a part of the xawtv package)
+
3. Capture the stream
:* streamer:
+
:* streamer (part of the xawtv package):
 
:: ''Usage:''
 
:: ''Usage:''
 
:: streamer -i 1 -c /dev/video0 -s 320x240 -q -j 80 -f jpeg -n ntsc -b 24 -o /var/www/webcam.jpeg
 
:: streamer -i 1 -c /dev/video0 -s 320x240 -q -j 80 -f jpeg -n ntsc -b 24 -o /var/www/webcam.jpeg
Line 31: Line 41:
 
:: ''Usage:''
 
:: ''Usage:''
 
:: webcam /etc/webcamrc
 
:: webcam /etc/webcamrc
  +
:: See [[webcams]] for model and driver details
   
  +
==Compression formats==
====Image format information====
 
 
Good place to look is [http://www.fourcc.org/ http://www.fourcc.org/]
 
   
  +
:*[http://www.fourcc.org/ Fourcc site]
About philips webcam compression format good info and free decoders can be found on
 
  +
:*[http://developers.videolan.org/x264.html H264] -- a highly compressed codec optimized for streaming
[http://www.saillard.org/linux/pwc/ http://www.saillard.org/linux/pwc/]
 
  +
:*[http://www.xvid.org xvid] -- free mpeg4 codec

Revision as of 08:52, 2 March 2006

TV Recording applications

Other frame grabbers

Common configuration and control commands

1. v4l2ucp -- universal control panel for v4l2

2. Command-line control the TV card (v4lctl is a part of the xawtv package)

  • v4lctl -c /dev/video0 list
  • v4lctl -c /dev/video0 bright "60%"
  • v4lctl -c /dev/video0 contrast "55%"

3. Capture the stream

  • streamer (part of the xawtv package):
Usage:
streamer -i 1 -c /dev/video0 -s 320x240 -q -j 80 -f jpeg -n ntsc -b 24 -o /var/www/webcam.jpeg
streamer -i 1 -c /dev/video0 -s 320x240 -q -j 80 -f jpeg -n ntsc -b 24 -o /dev/stdout |uuencode thief.jpeg|sendmail alarm@foo.com
  • videodog:
Usage:
videodog -x 640 -y 480 -w 3 -b 1 -c 65535 -m PAL -q -d /dev/video0 -j -f /var/www/webcam.jpg
This useful tool supports continuously moving (ftp or scp - ssh copy) of jpeg output to remote server. Also allows put in additional text (date time, location), rotating of image.
Usage:
webcam /etc/webcamrc
See webcams for model and driver details

Compression formats