Date: Sun, 25 Mar 2012 12:42:49 +1000 From: R Skinner <rocky@herveybayaustralia.com.au> To: David Wolfskill <david@catwhisker.org>, FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: Re: FFMpeg port video4linux Message-ID: <4F6E8629.3080909@herveybayaustralia.com.au> In-Reply-To: <20120324133102.GF1525@albert.catwhisker.org> References: <4F6DC852.2080401@herveybayaustralia.com.au> <20120324133102.GF1525@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F6E8629.3080909>