A little tool for capturing snapshots from a webcam video stream using gtk & gstreamer
Python
Switch branches/tags
Nothing to show
Latest commit 4a5d821 Feb 29, 2012 Balthazar Rouberol Balthazar Rouberol Update README.md

README.md

Webcam viewer + snapshot using pyGTK and Gstreamer

The idea of this project was to implement an interface allowing you to display a webcam live feed and to take snapshot from it.

How do I use it?

Type in

python demo.py

The possible (and optional) arguments are :
  • -d / --device: the device used for video input. Default:/dev/video0
  • -r / --resolution: the webcam resolution. Format: W:H. Default: 640:480
  • -o / --ouput-format the snapshot format. Available: jpeg & png. Default: jpeg

What do I need ?

This project uses gstreamer & pygtk. Consequently, the following modules are required:

  • gst
  • pygst
  • gtk
  • pygtk