v4l module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carl K

    v4l module

    I am looking for a v4l (either version 1 or 2) module.

    I tried to use ctypes with ghostscript and failed. I have a feeling trying to
    use it with kernel modules would be even harder, so not exactly what "I" want to
    do.

    I just tried http://antonym.org/libfg and it segfaulted. (bugs reported)

    I found http://code.google.com/p/python-v4l2/ which is just a description, (and
    a post about what I want to do) but no code.

    I want to write unit tests to help debug v4l drivers, so I don't actually need
    to display any video. I expect lots of "crashed when I did this" reports.

    what this is for: http://chipy.org/V4l2forPyCon

    Carl K

  • Lawrence D'Oliveiro

    #2
    Re: v4l module

    In message <4oudnc39tND8hZ jUnZ2dnUVZ_uKdn Z2d@comcast.com >, Carl K wrote:
    I tried to use ctypes with ghostscript and failed.
    What is the connection with Ghostscript?
    I have a feeling trying to use it with kernel modules would be even
    harder ...
    You don't talk to kernel modules--that's the kernel's job.

    Surely you'd just install libv4l, and call that from Python using ctypes.

    Comment

    Working...