husk wrote: > Ulrich von Zadow escribió: >> Hi, >> > Hi >> your firewire issue stems from the fact that there are two types of >> firewire cameras: DV cameras, which are normally camcorders or similar >> devices, and cameras that follow the IIDC standard, which are normally >> industrial cameras or your typical webcams. DV cameras compress the data >> during transmission, IIDC cameras don't. The libavg firewire support >> pertains to IIDC cameras. You can find a huge list of IIDC cameras here: >> >> http://damien.douxchamps.net/ieee1394/cameras/ >> >> > So i can't use my canon handycam? ok, now i understand
You probably can, if you access it as v4l2 device. >> On the other hand, libavg should support DV cameras as video4linux2 >> devices (I haven't tried this, though). The ubuntu package, however, >> seems to have been compiled without v4l2 support. That happens if >> linux-headers is not installed under ubuntu. See if you can compile your >> own libavg. Install the linux-headers package for your kernel first so >> the video4linux2 headers are available. >> > I did it. But now this is the output: > > [08-08-30 23:28:58.818] CONFIG: V4LCamera() device=/dev/video0 ch=1 > w=640 h=480 pf=RGB > [08-08-30 23:28:59.055] ERROR: /dev/video0 could not set image format > (Invalid argument) You need to set an image format that the camera supports in avgtrackerrc. The camera needs to be able to deliver both image size (<size>) and pixel format (<format>). You can find possible values for format in src/imaging/V4LCamera.cpp, function getCamPF(). Good Luck, Uli -- Any technology distinguishable from magic is insufficiently advanced. Ulrich von Zadow | +49-172-7872715 Jabber: [EMAIL PROTECTED] Skype: uzadow _______________________________________________ libavg-users mailing list [email protected] https://mail.datenhain.de/mailman/listinfo/libavg-users
