[Haskell-cafe] Video for Linux (v4l) library for Haskell

Rogan Creswick creswick at gmail.com
Sun Dec 27 17:28:21 EST 2009

On Sun, Dec 27, 2009 at 2:17 PM, Christopher Done
<chrisdone at googlemail.com> wrote:
> Hackage and Google turn up nothing¹, so I am asking here; has anyone written
> a v4l library for Haskell?
> I have been reading the v4l documentation² and I am ready to implement a
> Haskell interface for webcams, but it would be a waste of effort if
> someone's already got one knocking about. I could hack on theirs!

If you end up starting from scratch, I'd suggest looking into  Xuggler
(http://xuggle.com) as a starting point.

I was recently considering V4L for a java project, but I found that
Xuggler was "better" (unfortunately I really can't remember what the
definition of "better" was in that case...).  Xuggler uses FFMPEG,
which (as far as I could tell..) gave it a lot more capabilities than

I'm no expert, and Xuggle may simply not do what you want, but it's
worth a look.


> Cheers!
> Christopher Done
> ¹ In fact, the only Google result is a posting to this mailing list asking
> if there is a v4l library to which the single response is "no, write an FFI
> interface".
> ² http://pages.cpsc.ucalgary.ca/~sayles/VFL_HowTo/ and
> http://pages.cpsc.ucalgary.ca/~sayles/VFL_HowTo/Video4LinuxAPI.html
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list