Hey Ottavio, On Fri, 2003-03-28 at 07:57, Ottavio Campana wrote: > When I run it I get "mmap: Invalid argument" and then segfault. What is > invalid for mmap? As far as I could see, you're not running VIDIOCGMBUF before mmap()'ing. You need to allocate/request the buffers (that's what VIDIOCGMBUF does) before using them. Ronald -- Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>