packages feed

v4l2-examples-0.1: v4l2-examples.cabal

Name:                v4l2-examples
Version:             0.1
Synopsis:            video for linux two examples

Description:
  This package contains examples for accessing v4l2 from Haskell:
  .
    * v4l2-capture - dumps frames from a video device to stdout:
  .
    @$  v4l2-capture |
        y4mscaler -v0 -I ilace=none -I sar=1/1 -O chromass=420mpeg2 |
        mplayer -demuxer y4m - -vo x11@
  .
  Currently low-level imperative code; but a mid-level v4l2 library is
  planned which will make it less horrific.

Homepage:            https://gitorious.org/hsv4l2
License:             BSD3
License-file:        LICENSE
Author:              Claude Heiland-Allen
Maintainer:          claudiusmaximus@goto10.org

Category:            Graphics
Build-type:          Simple
Cabal-version:       >=1.2

Executable v4l2-capture
  Main-is:           src/v4l2-capture.hs
  Build-depends:
    base >= 3 && < 5,
    bindings-libv4l2 >= 0.1 && < 0.2,
    bindings-linux-videodev2 >= 0.1 && < 0.2,
    bindings-mmap >= 0.1 && < 0.2,
    bindings-posix >= 1.2 && < 1.3,
    c-io >= 0.1 && < 0.2,
    ioctl >= 0.0 && < 0.1
  ghc-options: -Wall