From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 3 06:04:57 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5273A106566B for ; Wed, 3 Feb 2010 06:04:57 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [95.108.130.94]) by mx1.freebsd.org (Postfix) with ESMTP id 015A88FC18 for ; Wed, 3 Feb 2010 06:04:56 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward12.mail.yandex.net (Yandex) with ESMTP id 4617315D099D; Wed, 3 Feb 2010 09:04:55 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1265177095; bh=1N+scSPFX6Q8dg6s/bBYlSoJ//BNz7A8CejALIvqH+Q=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=NngBEDnHbYS0rBf24cPm2AupyUSIX4hfFpL1s/UPk+DPHu7m0W1MmQItanuCIIgeJ g55ltmD/3JKpMOvhgRqaBEdpPC0uJDtIzw8ypNxsBjrIUNfGys4laNyQUhs+NSPmm5 iONTGcoxGfZImjkjkUYrL4Lj2PQoOLl9k0D5MlsE= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp3.mail.yandex.net (Yandex) with ESMTPSA id 11DB98B8158; Wed, 3 Feb 2010 09:04:55 +0300 (MSK) Message-ID: <4B691206.20203@yandex.ru> Date: Wed, 03 Feb 2010 09:04:54 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: curtis@occnc.com References: <201002030537.o135bkpj060488@harbor.orleans.occnc.com> In-Reply-To: <201002030537.o135bkpj060488@harbor.orleans.occnc.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1265177095 X-Yandex-Spam: 1 X-Yandex-Front: smtp3.mail.yandex.net Cc: freebsd-multimedia@freebsd.org Subject: Re: Ekiga3 and webcamd working (was: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 06:04:57 -0000 On 03.02.2010 8:37, Curtis Villamizar wrote: > I did use libv4l2 aka /usr/ports/multimedia/libv4l. It wouldn't work > any other way. If I shut down webcamd the video stops working. From lib4l description: libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write seperate code for different devices in the same class. These libs can be used in two ways: 1. You can modify your code and replace any calls such as open/close/ioctl/etc corresponding to v4l[1,2]_open/v4l[1,2]_close/etc. Also you should link your application with v4l1 or v4l2 libraries. 2. You can use LD_PRELOAD for v4l1compat library and it will replace any open/close/ioctl/etc calls and redirect them to v4l1 or v4l2 libraries. Also you can read some information about libv4l from the author here: http://hansdegoede.livejournal.com/3636.html -- WBR, Andrey V. Elsukov