From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 5 07:49:00 2011 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 28B831065670 for ; Mon, 5 Sep 2011 07:49:00 +0000 (UTC) (envelope-from hdegoede@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1.freebsd.org (Postfix) with ESMTP id 040E18FC08 for ; Mon, 5 Sep 2011 07:48:59 +0000 (UTC) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p857mx40026806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Sep 2011 03:48:59 -0400 Received: from shalem.localdomain (vpn1-7-228.ams2.redhat.com [10.36.7.228]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p857mvZA007998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Sep 2011 03:48:58 -0400 Message-ID: <4E647F84.1080002@redhat.com> Date: Mon, 05 Sep 2011 09:51:32 +0200 From: Hans de Goede User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110831 Thunderbird/6.0 MIME-Version: 1.0 To: "Alex V. Petrov" References: <201108311418.53651.hselasky@c2i.net> <4E6396F1.6030704@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Cc: freebsd-multimedia@freebsd.org Subject: Re: Fwd: I have problem with libv4l 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: Mon, 05 Sep 2011 07:49:00 -0000 Hi, On 09/05/2011 03:40 AM, Alex V. Petrov wrote: > 2011/9/4 Hans de Goede > > > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Ok, so that is a generic sunplus camera, with a spca504 chipset. I do have one sunplus camera in my (web)cam collection, the Logitech ClickSmart 420. I just gave that a testrun and it works fine. But that has a spca504C and I'm using a different libjpeg version (libjpeg-turbo). > jpeg-8_3 with cc (GCC) 4.2.2 20070831 prerelease [FreeBSD] Ok, well that gcc does not look suspicious, although it is a prerelease ? (I was wondering if you guys maybe switched to clang). You could try downgrading your libjpeg to good old 62 / 6b, but be warned that that has a different ABI, so if you do that you need to rebuild libv4l before testing, and then restore 8.3 again before doing anything else! Actually that might very well be the cause of your issue to begin with, are you using libv4l binaries? And can you see against which libjpeg they were build? If not can you try rebuilding libv4l locally and see if that fixes things ? Regards, Hans