From owner-freebsd-ports@FreeBSD.ORG Sun Mar 25 02:42:51 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B3A71065678 for ; Sun, 25 Mar 2012 02:42:51 +0000 (UTC) (envelope-from rocky@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id D8C9D8FC16 for ; Sun, 25 Mar 2012 02:42:50 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.182]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8D7C15C22; Sun, 25 Mar 2012 12:56:23 +1000 (EST) Message-ID: <4F6E8629.3080909@herveybayaustralia.com.au> Date: Sun, 25 Mar 2012 12:42:49 +1000 From: R Skinner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: David Wolfskill , FreeBSD Ports References: <4F6DC852.2080401@herveybayaustralia.com.au> <20120324133102.GF1525@albert.catwhisker.org> In-Reply-To: <20120324133102.GF1525@albert.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: FFMpeg port video4linux X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 02:42:51 -0000 On 03/24/12 23:31, David Wolfskill wrote: > On Sat, Mar 24, 2012 at 11:12:50PM +1000, R Skinner wrote: >> I'm at a loss here; I could be tired, but I cant find if video4linux >> has been enabled in ffmpeg (or disabled). There's nothing in the >> makefile either. For the life of me I cannot get it use a webcamd device >> - all I get is "unknown input format". >> >> I'm using ffplay (not that should make a difference here), and this is >> the cmd: >> >> $ffplay -f video4linux2 /dev/video0 >> >> Just "video4linux" fails similarly. >> ... >> Can anyone point me to how to get this to work? Or why it doesn't? What >> do I need to do to make this happen? > This may be a usefule clue: > > g1-227(9.0-S)[1] cd /usr/ports/multimedia/ > g1-227(9.0-S)[2] make search key=video4linux > Port: libv4l-0.8.4_1 > Path: /usr/ports/multimedia/libv4l > Info: Video4Linux library > Maint: hselasky@FreeBSD.org > B-deps: gettext-0.18.1.1 gmake-3.82 jpeg-8_3 libiconv-1.13.1_2 v4l_compat-1.0.20110720 > R-deps: jpeg-8_3 > WWW: http://freshmeat.net/projects/libv4l > > Port: linux-f10-libv4l-0.6.2 > Path: /usr/ports/multimedia/linux-f10-libv4l > Info: Collection of video4linux support libraries (Fedora 10) > Maint: emulation@FreeBSD.org > B-deps: > R-deps: linux_base-f10-10_4 > WWW: http://hansdegoede.livejournal.com/3636.html > > Port: pwcview-1.4.1_4 > Path: /usr/ports/multimedia/pwcview > Info: The Video4Linux PWC webcam viewer > Maint: hselasky@FreeBSD.org > B-deps: aalib-1.4.r5_6 damageproto-1.2.1 dri2proto-2.3 expat-2.0.1_2 fixesproto-5.0 jpeg-8_3 kbproto-1.0.5 libGL-7.4.4 libGLU-7.4.4 libX11-1.4.4,1 libXau-1.0.6 libXdamage-1.1.3 libXdmcp-1.1.0 libXext-1.3.0_1,1 libXfixes-5.0 libXrandr-1.3.2 libXrender-0.9.6 libXxf86vm-1.1.1 libdrm-2.4.12_1 libiconv-1.13.1_2 libpthread-stubs-0.3_3 libv4l-0.8.4_1 libxcb-1.7 pkg-config-0.25_1 randrproto-1.3.2 renderproto-0.11.1 sdl-1.2.15,2 v4l_compat-1.0.20110720 xextproto-7.2.0 xf86vidmodeproto-2.3.1 xproto-7.0.22 > R-deps: aalib-1.4.r5_6 damageproto-1.2.1 dri2proto-2.3 expat-2.0.1_2 fixesproto-5.0 jpeg-8_3 kbproto-1.0.5 libGL-7.4.4 libGLU-7.4.4 libX11-1.4.4,1 libXau-1.0.6 libXdamage-1.1.3 libXdmcp-1.1.0 libXext-1.3.0_1,1 libXfixes-5.0 libXrandr-1.3.2 libXrender-0.9.6 libXxf86vm-1.1.1 libdrm-2.4.12_1 libiconv-1.13.1_2 libpthread-stubs-0.3_3 libv4l-0.8.4_1 libxcb-1.7 pkg-config-0.25_1 randrproto-1.3.2 renderproto-0.11.1 sdl-1.2.15,2 xextproto-7.2.0 xf86vidmodeproto-2.3.1 xproto-7.0.22 > WWW: http://raaf.atspace.org/ > > Port: v4l-utils-0.8.4 > Path: /usr/ports/multimedia/v4l-utils > Info: Video4Linux utilities > Maint: nox@FreeBSD.org > B-deps: argp-standalone-1.3_2 gettext-0.18.1.1 gmake-3.82 jpeg-8_3 libiconv-1.13.1_2 libv4l-0.8.4_1 v4l_compat-1.0.20110720 > R-deps: argp-standalone-1.3_2 jpeg-8_3 libv4l-0.8.4_1 > WWW: http://freshmeat.net/projects/libv4l > > Port: v4l_compat-1.0.20110720 > Path: /usr/ports/multimedia/v4l_compat > Info: Video4Linux IOCTL header files > Maint: multimedia@FreeBSD.org > B-deps: > R-deps: > WWW: > > g1-227(9.0-S)[3] I appreciate that, but if it was that simple I would not have asked. I have both libv4l and v4l_compat installed already, but if not then ffmpeg should have installed them anyway. This lies in the ffmpeg build somewhere; it should be automatically enabled but somehow it is missed... There is no --enable-indev in the configure script, just disable. So where else should I be looking? Why would it be disabled (not in the Makefile BTW)? Cheers