Hey all,

I'm considering writing a Perl XS wrapper for v4l2-ctl (v4l2-utils). Essentially, this is a command line application with an API that allows one to manipulate and use an attached video/picture camera.

The main purpose for this project is so that it will augment my Raspberry Pi work, although it'd work on any computing-type device that has an onboard or USB video camera. I am going to create a device with a 5" touchscreen (Tk) that allows one to mount it into a vehicle, and record my road trips. I know devices like this exist, but the cheap ones I've tried don't work barely at all, and I'm not going $600 CDN in for a Go Pro.

Here's a link that shows some example C API uses.

My question is, does anyone with more video/photography capturing experience with Perl know if there's an equivalent already written for Perl? My limited searching on the CPAN shows a couple of things, but either the docs lack, or they generally look sketchy.

All input welcome. If there's nothing already that will allow the use of all camera options etc, I'll go all in for the benefit of everyone.

-stevieb


In reply to Perl wrapper for v4l2-ctl by stevieb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.