V4L capturing: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(→‎Other frame grabbers: -- moved to webcams)
 
Line 6: Line 6:
* [http://freevo.sourceforge.net Freevo] -- open-source digital video jukebox
* [http://freevo.sourceforge.net Freevo] -- open-source digital video jukebox
* [[mencoder]]
* [[mencoder]]
** [[home_brews |script examples]]
** [[channel script |the channel scripts]]
** [[capture script |the capture scripts]]
* [[MythTV]] -- a Personal Video Recorder project
* [[MythTV]] -- a Personal Video Recorder project
* [http://linux.bytesex.org/xawtv streamer]
* [http://linux.bytesex.org/xawtv streamer]

Revision as of 02:01, 25 March 2006

TV Recording applications

Other frame grabbers

Common configuration and control commands

1. v4l2ucp -- universal control panel for v4l2 (available for Debian from Marillat)

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