From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 20 05:24:30 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 3A9AC106564A for ; Sun, 20 Mar 2011 05:24:30 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id B28EC8FC12 for ; Sun, 20 Mar 2011 05:24:29 +0000 (UTC) Received: from [88.217.16.6] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q1B7r-0004W9-01; Sun, 20 Mar 2011 06:24:27 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p2K5OP4x006797; Sun, 20 Mar 2011 06:24:25 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p2K5OOBF006796; Sun, 20 Mar 2011 06:24:24 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 20 Mar 2011 06:24:23 +0100 From: Matthias Apitz To: "Andrey V. Elsukov" Message-ID: <20110320052423.GA6767@tinyCurrent> References: <20110318064409.GA5136@tinyCurrent> <201103180828.43798.hselasky@c2i.net> <20110318164218.GA2091@tinyCurrent> <201103181745.10148.hselasky@c2i.net> <20110319092143.GA3068@tinyCurrent> <4D847867.9060804@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D847867.9060804@yandex.ru> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.16.6 Cc: freebsd-multimedia@freebsd.org Subject: Re: Fwd: 9-CURRENT r214444 && webcamd-0.1.20_1 && skype-2.0.0.72,1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 05:24:30 -0000 El día Saturday, March 19, 2011 a las 12:33:27PM +0300, Andrey V. Elsukov escribió: > > while Skype only uses ioctl's of the type 0x76.. (i.e. 'v'+..) > > Yes i got the same results with skype and pwcview. > Now i'm thinking about probability of using libv4l to convert > skype's queries from v4l1 to v4l2 and back. I don't know if such converting is possible, but let me know if you make some progess on this; I would be happy if I could help in test and debug; meanwhile I will use my Philips SPC900NC USB webcam; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 20 10:25:43 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5831D106566B; Sun, 20 Mar 2011 10:25:43 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBC68FC0A; Sun, 20 Mar 2011 10:25:43 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2KAPhm4016600; Sun, 20 Mar 2011 10:25:43 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2KAPgKk016596; Sun, 20 Mar 2011 10:25:42 GMT (envelope-from kwm) Date: Sun, 20 Mar 2011 10:25:42 GMT Message-Id: <201103201025.p2KAPgKk016596@freefall.freebsd.org> To: kris@pcbsd.org, kwm@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: kwm@FreeBSD.org Cc: Subject: Re: ports/155686: multimedia/gstreamer-ffmpeg fails to build on HEAD with latest binutils 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: Sun, 20 Mar 2011 10:25:43 -0000 Synopsis: multimedia/gstreamer-ffmpeg fails to build on HEAD with latest binutils State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Sun Mar 20 10:25:21 UTC 2011 State-Changed-Why: Committed thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=155686 From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 20 10:30:06 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F087106566B for ; Sun, 20 Mar 2011 10:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC548FC13 for ; Sun, 20 Mar 2011 10:30:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2KAU60g016927 for ; Sun, 20 Mar 2011 10:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2KAU6QN016923; Sun, 20 Mar 2011 10:30:06 GMT (envelope-from gnats) Date: Sun, 20 Mar 2011 10:30:06 GMT Message-Id: <201103201030.p2KAU6QN016923@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/155686: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 10:30:06 -0000 The following reply was made to PR ports/155686; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/155686: commit references a PR Date: Sun, 20 Mar 2011 10:25:13 +0000 (UTC) kwm 2011-03-20 10:24:56 UTC FreeBSD ports repository Modified files: multimedia/gstreamer-ffmpeg Makefile Log: Fix build on -current with updated binutils. This is quite the hammer approuch, but since I haven't found a nicer way this will have to do. PR: ports/155686 Submitted by: Kris Moore Revision Changes Path 1.39 +1 -1 ports/multimedia/gstreamer-ffmpeg/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Sun Mar 20 15:46:19 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 347FE10657E9 for ; Sun, 20 Mar 2011 15:46:19 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id ED3868FC17 for ; Sun, 20 Mar 2011 15:46:18 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id B9D9C1E00252; Sun, 20 Mar 2011 16:46:17 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p2KFhjYS020575; Sun, 20 Mar 2011 16:43:45 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p2KFhiEn020562; Sun, 20 Mar 2011 16:43:44 +0100 (CET) (envelope-from nox) Date: Sun, 20 Mar 2011 16:43:44 +0100 (CET) From: Juergen Lock Message-Id: <201103201543.p2KFhiEn020562@triton8.kn-bremen.de> To: guru@unixarea.de X-Newsgroups: local.list.freebsd.multimedia In-Reply-To: <20110318191233.GA1127@tiny> References: <20110318145350.GA14981@sh4-5.1blu.de> <4D83AB51.4010008@gmail.com> Organization: Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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: Sun, 20 Mar 2011 15:46:19 -0000 In article <20110318191233.GA1127@tiny> you write: >El día Friday, March 18, 2011 a las 07:58:25PM +0100, David Demelier escribió: > >> > just a small table of >> > >> > Manufactors Model Name | VendorID:ProductID | driver/kmod | additional comments/hints >> > -----------------------+--------------------+-------------+-------------------------- >> > Philips SPC900NC | 0x0471:0x0329 | pwc.ko | >> > ... >> > >> > matthias >> > >> >> Do not forget multimedia/webcamd, it contains a *lot* of drivers for >> webcam and UVC video class too (found in a lot of webcam and laptops). >> >> The problem is which software are working? amsn, cheese, kopete (iirc), >> gajim, pidgin does not supports it.. > >Yes, you are right; there should be one more column to show which apps >are working with the driver/kmod; while Skype and pwcview(1) are >working fine with the above Philips SPC900NC and pwc.ko, I have another >webcam in a netbook which is working fine in kopete via webcamd, but >at the same time Skype is not; I'm right now debugging this... I thought the reason it doesn't work was just that the linuxolator doesn't support v4l2? Anyway, the webcamd port now installs manpages for the Linux drivers it uses so you can also look there to find out if a particular webcam (or dvb tuner) might work. Look at SEE ALSO in webcamd's manpage. HTH, Juergen (who doesn't use webcams here, only dvb tuners and an mceusb ir receiver/transmitter... :) From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 11:07:02 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 2D940106566B for ; Mon, 21 Mar 2011 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7B88FC24 for ; Mon, 21 Mar 2011 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2LB711c086048 for ; Mon, 21 Mar 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2LB71lA086046 for freebsd-multimedia@FreeBSD.org; Mon, 21 Mar 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Mar 2011 11:07:01 GMT Message-Id: <201103211107.p2LB71lA086046@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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, 21 Mar 2011 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/155188 multimedia [UPDATE] audio/denemo: update to 0.8.22 o ports/154083 multimedia multimedia/gstreamer-plugins-fluendo-mpegdemux: update o ports/154082 multimedia audio/gstreamer-plugins-fluendo-mp3: update to 0.10.15 o kern/153920 multimedia [sound] [patch] Replace the GPL'd sound/maestro3 heade o kern/153901 multimedia [sound] [patch] Replace the GPL'd emu10k1-alsa.h with o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r p kern/147466 multimedia [snd_hda] [patch] Thinkpad t510, codecs not recognized o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/140453 multimedia [sound] No sound inside Virtualbox on 50% volume o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt f kern/115666 multimedia [sound] Microphone does not work o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup s kern/83697 multimedia [sound] [snd_mss] [patch] support, docs added for full o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 71 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 11:21:46 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 E0D8A1065673 for ; Mon, 21 Mar 2011 11:21:46 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB6248FC1B for ; Mon, 21 Mar 2011 11:21:46 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Q1dB7-00080x-Sp for freebsd-multimedia@freebsd.org; Mon, 21 Mar 2011 12:21:42 +0100 Date: Mon, 21 Mar 2011 12:21:41 +0100 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Message-ID: <20110321112141.GA23421@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 11:21:47 -0000 Juergen Lock nox at jelal.kn-bremen.de Sun Mar 20 15:46:19 UTC 2011 writes: > I thought the reason it doesn't work was just that the linuxolator > doesn't support v4l2? > > Anyway, the webcamd port now installs manpages for the Linux > drivers it uses so you can also look there to find out if a particular > webcam (or dvb tuner) might work. Look at SEE ALSO in webcamd's > manpage... Hi Juergen, My Acer D250 netbook has a built-in cam (0c45:62c0) and I have an additional USB Philips SPC900NC. Both are supported by the webcamd drivers and show up in its man pages, in pwc.4 and uvc.4. But: 'supported' does also mean that you need some application to talk to them and it turned out that KDE's Kopete uses ioctl of v4l2 (and works with the 0c45:62c0) while Skype talks ioctl of v4l and does not work with the 0c45:62c0. The SPC900NC works nicely with Skype in both ways, either with the pwc.ko kernel mod or via webcamd with its pwc-driver. That's why I think that the man pages of webcamd are not enough, there should be a note about if v4l or v4l2 is awaited from the application; or we need some overall table describing the cams(...) from all webcamd drivers and the application which can be used. A side note: Hans, the above mentioned Philips SPC900NC shows up on plug-in as: Feb 2 08:11:07 current root: Unknown USB device: vendor 0x0471 product 0x0329 bus uhub2 but in pwc.4 as 0471:0320; the source itself v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c contains the correct value: $ fgrep 0329 v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c { USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera */ HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 11:28:37 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 71B101065670 for ; Mon, 21 Mar 2011 11:28:37 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 09DCF8FC18 for ; Mon, 21 Mar 2011 11:28:36 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=pS2ZSwZIyNtrogYQjf8A:9 a=-eDUg7C70mAWsXf-5bK_Ce0RZwQA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 102672773; Mon, 21 Mar 2011 12:28:35 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, Matthias Apitz Date: Mon, 21 Mar 2011 12:27:55 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> In-Reply-To: <20110321112141.GA23421@sh4-5.1blu.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103211227.55677.hselasky@c2i.net> Cc: Subject: Re: Webcam recommendations 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, 21 Mar 2011 11:28:37 -0000 On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > A side note: Hans, the above mentioned Philips SPC900NC shows up on > plug-in as: > > Feb 2 08:11:07 current root: Unknown USB device: vendor 0x0471 product > 0x0329 bus uhub2 > > but in pwc.4 as 0471:0320; the source itself > v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c > contains the correct value: > > $ fgrep 0329 v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c > { USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera > */ I think this printout comes from somewhere else, like hald. Try starting webcamd without the -H option. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 11:42:56 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 90E52106566B for ; Mon, 21 Mar 2011 11:42:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2356A8FC16 for ; Mon, 21 Mar 2011 11:42:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=118a5bn0tGnRZbUa9ClBty6BTuM1bA5mUZqmf2RHYp4= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=ndaoGXS1AAAA:8 a=nFwCA7nHMiMEc0oQJVwA:9 a=bNWR_BsXDLIAWGtipBQA:7 a=rWocnR_aRTgxB9lDBEySq7cJJ5kA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103142264; Mon, 21 Mar 2011 12:42:54 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, Matthias Apitz Date: Mon, 21 Mar 2011 12:42:15 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> In-Reply-To: <20110321112141.GA23421@sh4-5.1blu.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103211242.15230.hselasky@c2i.net> Cc: Subject: Re: Webcam recommendations 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, 21 Mar 2011 11:42:56 -0000 On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > That's why I think that the man pages of webcamd are not enough, there > should be a note about if v4l or v4l2 is awaited from the application; > or we need some overall table describing the cams(...) from all webcamd > drivers and the application which can be used. Hi, I found it! CONFIG_COMPAT was not defined during build, so the webcam'd V4L2->V4L1 layer was never compiled. Can you compile the svn version of webcamd and report back? http://www.selasky.org/hans_petter/video4bsd --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 12:02:17 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 CF64C1065676 for ; Mon, 21 Mar 2011 12:02:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 635638FC2A for ; Mon, 21 Mar 2011 12:02:16 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=5m-wONJvN2YbgBZ0OywA:9 a=1OrKPs2eT1Blzd0oDegA:7 a=PcWOJFh39h0nPRO79JopMhaZeloA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103277757; Mon, 21 Mar 2011 13:02:15 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Mon, 21 Mar 2011 13:01:36 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> In-Reply-To: <201103211242.15230.hselasky@c2i.net> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103211301.36287.hselasky@c2i.net> Cc: Subject: Re: Webcam recommendations 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, 21 Mar 2011 12:02:17 -0000 On Monday 21 March 2011 12:42:15 Hans Petter Selasky wrote: > On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > > That's why I think that the man pages of webcamd are not enough, there > > should be a note about if v4l or v4l2 is awaited from the application; > > or we need some overall table describing the cams(...) from all webcamd > > drivers and the application which can be used. > > Hi, > > I found it! > > CONFIG_COMPAT was not defined during build, so the webcam'd V4L2->V4L1 > layer was never compiled. Can you compile the svn version of webcamd and > report back? Looks like I was too quick about that. Anyway, maybe you could bother to add some prints in: v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c Because the V4l1 -> V4L2 translation should already be in place. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 12:04:08 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 61F1F106566B for ; Mon, 21 Mar 2011 12:04:08 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 15C978FC18 for ; Mon, 21 Mar 2011 12:04:07 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Q1dqA-0002ju-Kd; Mon, 21 Mar 2011 13:04:06 +0100 Date: Mon, 21 Mar 2011 13:04:06 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110321120406.GA9296@sh4-5.1blu.de> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211227.55677.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103211227.55677.hselasky@c2i.net> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 12:04:08 -0000 El día Monday, March 21, 2011 a las 12:27:55PM +0100, Hans Petter Selasky escribió: > On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > > A side note: Hans, the above mentioned Philips SPC900NC shows up on > > plug-in as: > > > > Feb 2 08:11:07 current root: Unknown USB device: vendor 0x0471 product > > 0x0329 bus uhub2 This line from /var/log/messages is from a system which does not run webcamd nor hald; > > > > but in pwc.4 as 0471:0320; the source itself > > v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c > > contains the correct value: > > > > $ fgrep 0329 v4l-dvb-abd3aac6644e/linux/drivers/media/video/pwc/pwc-if.c > > { USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera > > */ > > I think this printout comes from somewhere else, like hald. Try starting > webcamd without the -H option. The above line from /var/log/messages (0x0471:0x0329) is exactly what you source has and what as well is in $ fgrep 0x0329 /usr/ports/multimedia/pwcbsd/work/pwcbsd/pwc.c {USB_VPI(0x0471, 0x0329, 740)}, /* Philips SPC900NC */ i.e. the deviceID of SPC900NC is 0x0329 and not 0x0320 as your man page says, it's just a typo in the man page, I think. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 14:36:52 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 488D11065673 for ; Mon, 21 Mar 2011 14:36:52 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 112988FC1A for ; Mon, 21 Mar 2011 14:36:51 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Q1gDy-0007rV-Ee; Mon, 21 Mar 2011 15:36:50 +0100 Date: Mon, 21 Mar 2011 15:36:50 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110321143512.GA24812@sh4-5.1blu.de> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103211301.36287.hselasky@c2i.net> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 14:36:52 -0000 El día Monday, March 21, 2011 a las 01:01:36PM +0100, Hans Petter Selasky escribió: > On Monday 21 March 2011 12:42:15 Hans Petter Selasky wrote: > > On Monday 21 March 2011 12:21:41 Matthias Apitz wrote: > > > That's why I think that the man pages of webcamd are not enough, there > > > should be a note about if v4l or v4l2 is awaited from the application; > > > or we need some overall table describing the cams(...) from all webcamd > > > drivers and the application which can be used. > > > > Hi, > > > > I found it! > > > > CONFIG_COMPAT was not defined during build, so the webcam'd V4L2->V4L1 > > layer was never compiled. Can you compile the svn version of webcamd and > > report back? > > Looks like I was too quick about that. Anyway, maybe you could bother to add > some prints in: > > v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c > > Because the V4l1 -> V4L2 translation should already be in place. Yes, it is there already: #ifdef CONFIG_VIDEO_V4L1_COMPAT /******************************************************** All other V4L1 calls are handled by v4l1_compat module. Those calls will be translated into V4L2 calls, and __video_do_ioctl will be called again, with one or more V4L2 ioctls. ********************************************************/ if (_IOC_TYPE(cmd) == 'v' && cmd != VIDIOCGMBUF && _IOC_NR(cmd) < BASE_VIDIOCPRIVATE) { return v4l_compat_translate_ioctl(file, cmd, arg, __video_do_ioctl); } #endif and now I don't understand why the V4L1 'v' cmds of Skype are not working correctly; will add some printf's... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 15:24:21 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 90DFF106566B for ; Mon, 21 Mar 2011 15:24:21 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3D98FC19 for ; Mon, 21 Mar 2011 15:24:20 +0000 (UTC) Received: from smtp9.mail.yandex.net (smtp9.mail.yandex.net [77.88.61.35]) by forward9.mail.yandex.net (Yandex) with ESMTP id B7312CE1261; Mon, 21 Mar 2011 18:24:16 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1300721056; bh=1G2Ff/r+sqNs3CLjpVtWQ6LMhnCDEwqxkM2U04XMIqw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=JV1hNKOTpTld6+Jnuc7acfoWZESibCkruzgVcG1exuHXkmZnug3dcf8nxArcrlhfP V9oy0W5+GuDtFVIrnCxzI27mTePxUzQ27du10QxoM8Mff/aqdZ+asIv8PGNsj6xSGO tq2zBwrj6RS1Sl8Bfxy2Gtt1WUyc4PcnLeN4gH5s= Received: from [178.141.127.59] (dynamic-178-141-127-59.kirov.comstar-r.ru [178.141.127.59]) by smtp9.mail.yandex.net (Yandex) with ESMTPSA id 271284BA0068; Mon, 21 Mar 2011 18:24:16 +0300 (MSK) Message-ID: <4D876D8B.6000103@yandex.ru> Date: Mon, 21 Mar 2011 18:23:55 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Hans Petter Selasky References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> In-Reply-To: <201103211301.36287.hselasky@c2i.net> X-Enigmail-Version: 1.1.2 Content-Type: multipart/mixed; boundary="------------030402030904060207030305" Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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, 21 Mar 2011 15:24:21 -0000 This is a multi-part message in MIME format. --------------030402030904060207030305 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit On 21.03.2011 15:01, Hans Petter Selasky wrote: > Looks like I was too quick about that. Anyway, maybe you could bother to add > some prints in: > > v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c > > Because the V4l1 -> V4L2 translation should already be in place. Hi, After some time of reading code i understand several things. webcamd contains a bunch of linux kernel drivers. Also any freebsd's application can use v4l1 and v4l2 with /dev/videoX, but linux's binaries can not. They can only use v4l1, because linux.ko supports only v4l1. Anyway webcamd has some v4l1 to v4l2 translation inside. But it does not work for my UVC webcam (translation works, but camera does not) :( I have not any linux host where i can test my webcam, but i think it will not work with skype out of the box in linux too. But it seems linux users can try LD_PRELOAD with libv4l's libraries (v4l1compat.so or v4l2convert.so). We can not, because we does not have V4L2 support in linux.ko. I added these two patches to webcamd port, they enable addition debug. Also i enabled debug in libcuse4bsd. When i run skype i have in log: cuse4bsd: Command = open, flags = 3, arg = 0x00000000, ptr = 0x00000000 uvcvideo: uvc_v4l2_open cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x40047601, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP) uvcvideo: Unknown ioctl 0x40047601 cuse4bsd: Command error = -3 it seems there skype calls iotctl(VIDOCGCAP) with incorrect argument's size = 0x04. cuse4bsd: Command = ioctl, flags = 7, arg = 0x403c7601, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP) uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000. uvcvideo: Using default frame interval 111111.1 us (9.0 fps). cuse4bsd: copy_out(0x7fffff1f8cf0,0x10000,60), cmd = 5 cuse4bsd: Command error = 0 But second call is correct. cuse4bsd: Command = close, flags = 3, arg = 0x00000000, ptr = 0x00000000 uvcvideo: uvc_v4l2_release cuse4bsd: Command error = 0 Now i'm trying to test video in skype's preferences: cuse4bsd: Command = open, flags = 3, arg = 0x00000000, ptr = 0x00000000 uvcvideo: uvc_v4l2_open cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x40047601, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP) uvcvideo: Unknown ioctl 0x40047601 cuse4bsd: Command error = -3 cuse4bsd: Command = ioctl, flags = 7, arg = 0x403c7601, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP) uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000. uvcvideo: Using default frame interval 111111.1 us (9.0 fps). cuse4bsd: copy_out(0x7fffffffd4f0,0x10000,60), cmd = 5 cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x400e7606, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGPICT) cuse4bsd: copy_out(0x7fffff1f8cf0,0x10000,14), cmd = 5 cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x800e7607, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCSPICT) cuse4bsd: copy_in(0x10000,0x7ffffeff7cf0,14), cmd = 5 uvcvideo: Trying format 0x32315559 (YU12): 160x120. uvcvideo: Unsupported format 0x32315559. v4l1-compat: VIDIOCSPICT / VIDIOC_S_FMT: -22 uvcvideo: Unknown ioctl 0x4030560a v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 cuse4bsd: Command error = -3 cuse4bsd: Command = ioctl, flags = 7, arg = 0x800e7607, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCSPICT) cuse4bsd: copy_in(0x10000,0x7ffffebf5cf0,14), cmd = 5 uvcvideo: Unknown ioctl 0x4030560a v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x40287609, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCGWIN) v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22 cuse4bsd: copy_out(0x7ffffedf6cf0,0x10000,40), cmd = 5 cuse4bsd: Command error = 0 cuse4bsd: Command = ioctl, flags = 7, arg = 0x8028760a, ptr = 0x00010000 uvcvideo: uvc_v4l2_ioctl(VIDIOCSWIN) cuse4bsd: copy_in(0x10000,0x7fffffffd4f0,40), cmd = 5 uvcvideo: Trying format 0x56595559 (YUYV): 320x240. uvcvideo: Using default frame interval 33333.3 us (30.0 fps). v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22 cuse4bsd: Command error = 0 cuse4bsd: Command = poll, flags = 7, arg = 0x00000005, ptr = 0x00000000 uvcvideo: uvc_v4l2_poll cuse4bsd: Command error = 0 cuse4bsd: Command = poll, flags = 7, arg = 0x00000005, ptr = 0x00000000 uvcvideo: uvc_v4l2_poll cuse4bsd: Command error = 0 So, as you can see v4l1-compat code works by default. But camera does not. I looked to pwc driver code and try to reimplement VIDIOCSPICT and VIDIOCSWIN iocts. I just call v4l_compat_translate_ioctl and it it success i call uvc_video_enable(), with this changes skype is able to turn on webcam, but it still can not get any pictures. I need similar log from working camera to understand what is needed skype to work with webcam. -- WBR, Andrey V. Elsukov --------------030402030904060207030305 Content-Type: text/plain; name="patch-aa" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-aa" --- v4l-dvb/linux/drivers/media/video/uvc/uvc_driver.c 2011-03-20 02:12:1= 1.280845495 +0300 +++ v4l-dvb/linux/drivers/media/video/uvc/uvc_driver.c 2011-03-20 02:12:1= 5.917841538 +0300 @@ -47,7 +47,7 @@ unsigned int uvc_clock_param =3D CLOCK_MONOTONIC; unsigned int uvc_no_drop_param; static unsigned int uvc_quirks_param =3D -1; -unsigned int uvc_trace_param; +unsigned int uvc_trace_param =3D UVC_TRACE_FORMAT | UVC_TRACE_CALLS | UV= C_TRACE_IOCTL; unsigned int uvc_timeout_param =3D UVC_CTRL_STREAMING_TIMEOUT; =20 /* ---------------------------------------------------------------------= --- --------------030402030904060207030305 Content-Type: text/plain; name="patch-bb" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-bb" --- v4l-dvb/linux/drivers/media/video/v4l1-compat.c.orig 2011-03-20 02:13= :51.352845149 +0300 +++ v4l-dvb/linux/drivers/media/video/v4l1-compat.c 2011-03-20 02:14:00.6= 41842493 +0300 @@ -37,7 +37,7 @@ #include #include "compat.h" =20 -static unsigned int debug; +static unsigned int debug =3D 1; module_param(debug, int, 0644); MODULE_PARM_DESC(debug, "enable debug messages"); MODULE_AUTHOR("Bill Dirks"); --------------030402030904060207030305 Content-Type: text/plain; name="cuse4bsd_lib.c.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cuse4bsd_lib.c.diff" --- cuse4bsd_lib.c.orig 2010-05-07 14:33:51.000000000 +0400 +++ cuse4bsd_lib.c 2011-03-21 18:08:42.486322494 +0300 @@ -43,7 +43,7 @@ =20 #include "cuse4bsd.h" =20 -#if 0 +#if 1 #define CUSE4BSD_DEBUG #endif =20 @@ -409,8 +409,12 @@ cuse_wait_and_process(void) cuse_unlock(); =20 #ifdef CUSE4BSD_DEBUG - printf("Command =3D %d, flags =3D %d, arg =3D 0x%08x, ptr =3D 0x%08x\n"= , - (int)info.command, (int)info.fflags, + const char *cmd[CUSE_CMD_MAX] =3D { + "none", "open", "close", "read", "write", "ioctl", "poll", + "signal", "sync" + }; + printf("cuse4bsd: Command =3D %s, flags =3D %d, arg =3D 0x%08x, ptr =3D= 0x%08x\n", + cmd[info.command], (int)info.fflags, (int)info.argument, (int)info.data_pointer); #endif =20 @@ -475,7 +479,7 @@ cuse_wait_and_process(void) case CUSE_CMD_IOCTL: if (cdev->mtod->cm_ioctl !=3D NULL) { error =3D (cdev->mtod->cm_ioctl) (cdev, (int)info.fflags, - (unsigned long)info.argument, (void *)info.data_pointer); + (unsigned int)info.argument, (void *)info.data_pointer); } else { error =3D CUSE_ERR_INVALID; } @@ -506,7 +510,7 @@ cuse_wait_and_process(void) } =20 #ifdef CUSE4BSD_DEBUG - printf("Command error =3D %d\n", error); + printf("cuse4bsd: Command error =3D %d\n", error); #endif cuse_lock(); if (info.command < CUSE_CMD_MAX) { @@ -612,7 +616,7 @@ cuse_copy_out(const void *src, void *use return (CUSE_ERR_INVALID); =20 #ifdef CUSE4BSD_DEBUG - printf("copy_out(%p,%p,%d), cmd =3D %d\n", src, user_dst, len, cmd); + printf("cuse4bsd: copy_out(%p,%p,%d), cmd =3D %d\n", src, user_dst, len= , cmd); #endif if (cuse_dev_get_local(cdev, cmd)) { memcpy(user_dst, src, len); @@ -624,7 +628,7 @@ cuse_copy_out(const void *src, void *use error =3D ioctl(f_cuse, CUSE_IOCTL_WRITE_DATA, &info); if (error) { #ifdef CUSE4BSD_DEBUG - printf("copy_out() error =3D %d\n", errno); + printf("cuse4bsd: copy_out() error =3D %d\n", errno); #endif return (CUSE_ERR_FAULT); } @@ -649,7 +653,7 @@ cuse_copy_in(const void *user_src, void=20 return (CUSE_ERR_INVALID); =20 #ifdef CUSE4BSD_DEBUG - printf("copy_in(%p,%p,%d), cmd =3D %d\n", user_src, dst, len, cmd); + printf("cuse4bsd: copy_in(%p,%p,%d), cmd =3D %d\n", user_src, dst, len,= cmd); #endif if (cuse_dev_get_local(cdev, cmd)) { memcpy(dst, user_src, len); @@ -661,7 +665,7 @@ cuse_copy_in(const void *user_src, void=20 error =3D ioctl(f_cuse, CUSE_IOCTL_READ_DATA, &info); if (error) { #ifdef CUSE4BSD_DEBUG - printf("copy_in() error =3D %d\n", errno); + printf("cuse4bsd: copy_in() error =3D %d\n", errno); #endif return (CUSE_ERR_FAULT); } --------------030402030904060207030305-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 16:05:06 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 DC68F106566B for ; Mon, 21 Mar 2011 16:05:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 62FAC8FC19 for ; Mon, 21 Mar 2011 16:05:06 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wd7fLirDSts22yawIUsTeMUS9lsm8Llc0grT6RvpTjU= c=1 sm=1 a=IU0TiZmyZPMA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=qETQHCcSA8kxe6A8b4sA:9 a=KRAcZVjzN2viCbFUkUMda4y1laEA:4 a=PUjeQqilurYA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 102813775; Mon, 21 Mar 2011 17:05:04 +0100 From: Hans Petter Selasky To: "Andrey V. Elsukov" Date: Mon, 21 Mar 2011 17:04:24 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211301.36287.hselasky@c2i.net> <4D876D8B.6000103@yandex.ru> In-Reply-To: <4D876D8B.6000103@yandex.ru> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201103211704.24960.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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, 21 Mar 2011 16:05:06 -0000 On Monday 21 March 2011 16:23:55 Andrey V. Elsukov wrote: > "Andrey V. Elsukov" Hi, Thanks for your patch! Committed with some modifications: SVN r1782 make HAVE_DEBUG=YES Need to set cuse_debug_level to CUSE_DBG_FULL, or edit the default value in cuse4bsd_lib.c. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 16:08:35 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 11AC0106566B for ; Mon, 21 Mar 2011 16:08:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9138FC12 for ; Mon, 21 Mar 2011 16:08:34 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=uT2eYbU2dX-cNBly1fsA:9 a=l6Yw4pg8l6FuOZBBGwkl5kbwFm4A:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103406264; Mon, 21 Mar 2011 17:08:33 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Mon, 21 Mar 2011 17:07:53 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211227.55677.hselasky@c2i.net> <20110321120406.GA9296@sh4-5.1blu.de> In-Reply-To: <20110321120406.GA9296@sh4-5.1blu.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103211707.53869.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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, 21 Mar 2011 16:08:35 -0000 > > $ fgrep 0x0329 /usr/ports/multimedia/pwcbsd/work/pwcbsd/pwc.c > {USB_VPI(0x0471, 0x0329, 740)}, /* Philips SPC900NC */ > > i.e. the deviceID of SPC900NC is 0x0329 and not 0x0320 as your man page > says, it's just a typo in the man page, I think. Fixed. --HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 22:36:02 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 2D24B106564A for ; Mon, 21 Mar 2011 22:36:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id DB6FD8FC08 for ; Mon, 21 Mar 2011 22:36:01 +0000 (UTC) Received: from [88.217.28.186] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q1nhe-0005To-DZ; Mon, 21 Mar 2011 23:35:58 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p2LMZvnv007031; Mon, 21 Mar 2011 23:35:58 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p2LMZunO007030; Mon, 21 Mar 2011 23:35:57 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 21 Mar 2011 23:35:56 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110321223556.GA6982@tinyCurrent> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211301.36287.hselasky@c2i.net> <4D876D8B.6000103@yandex.ru> <201103211704.24960.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103211704.24960.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.28.186 Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 22:36:02 -0000 El día Monday, March 21, 2011 a las 05:04:24PM +0100, Hans Petter Selasky escribió: > On Monday 21 March 2011 16:23:55 Andrey V. Elsukov wrote: > > "Andrey V. Elsukov" > > Hi, > > Thanks for your patch! > > Committed with some modifications: > > SVN r1782 > > make HAVE_DEBUG=YES I compiled r1784 with HAVE_DEBUG=YES, but there are no messages when Skype starts using the cam: # ./webcamd ... USB Video Class driver (v0.1.0) IR JVC protocol handler initialized IR LIRC bridge handler initialized IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR Sony protocol handler initialized lirc_dev: IR Remote Control driver registered, major 13 Attached ugen4.2[0] to cuse unit 0 uvcvideo: Found UVC 1.00 device (0c45:62c0) Creating /dev/video0 (and ofc there is no picture in Skype :-)) What do I miss to get the debugging log? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 22:37:59 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 33C691065670 for ; Mon, 21 Mar 2011 22:37:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id B9F738FC13 for ; Mon, 21 Mar 2011 22:37:58 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=118a5bn0tGnRZbUa9ClBty6BTuM1bA5mUZqmf2RHYp4= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=cIytPo9xpUF-vT4KslEA:9 a=5qxKbtHJSx60px1_5uEA:7 a=ewRJQqEGGGtfFVQvUYB7XKWboxAA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103404618; Mon, 21 Mar 2011 23:37:56 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Mon, 21 Mar 2011 23:37:14 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211704.24960.hselasky@c2i.net> <20110321223556.GA6982@tinyCurrent> In-Reply-To: <20110321223556.GA6982@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201103212337.14833.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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, 21 Mar 2011 22:37:59 -0000 On Monday 21 March 2011 23:35:56 Matthias Apitz wrote: > El d=EDa Monday, March 21, 2011 a las 05:04:24PM +0100, Hans Petter Selas= ky=20 escribi=F3: > > On Monday 21 March 2011 16:23:55 Andrey V. Elsukov wrote: > > > "Andrey V. Elsukov" > >=20 > > Hi, > >=20 > > Thanks for your patch! > >=20 > > Committed with some modifications: > >=20 > > SVN r1782 > >=20 > > make HAVE_DEBUG=3DYES >=20 > I compiled r1784 with HAVE_DEBUG=3DYES, but there are no messages when > Skype starts using the cam: >=20 > # ./webcamd > ... > USB Video Class driver (v0.1.0) > IR JVC protocol handler initialized > IR LIRC bridge handler initialized > IR NEC protocol handler initialized > IR RC5(x) protocol handler initialized > IR RC6 protocol handler initialized > IR Sony protocol handler initialized > lirc_dev: IR Remote Control driver registered, major 13 > Attached ugen4.2[0] to cuse unit 0 > uvcvideo: Found UVC 1.00 device (0c45:62c0) > Creating /dev/video0 >=20 > (and ofc there is no picture in Skype :-)) >=20 > What do I miss to get the debugging log? webcamd -s Then use -m to set debug parameters. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 22:53:02 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 B67A11065672 for ; Mon, 21 Mar 2011 22:53:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 706D48FC12 for ; Mon, 21 Mar 2011 22:53:02 +0000 (UTC) Received: from [88.217.28.186] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q1ny7-0007vz-MN; Mon, 21 Mar 2011 23:52:59 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p2LMqxDk007109; Mon, 21 Mar 2011 23:52:59 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p2LMqwo8007108; Mon, 21 Mar 2011 23:52:58 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 21 Mar 2011 23:52:53 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110321225253.GA7054@tinyCurrent> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211704.24960.hselasky@c2i.net> <20110321223556.GA6982@tinyCurrent> <201103212337.14833.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103212337.14833.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.28.186 Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 22:53:02 -0000 El día Monday, March 21, 2011 a las 11:37:14PM +0100, Hans Petter Selasky escribió: > > What do I miss to get the debugging log? > > webcamd -s > > Then use -m to set debug parameters. > # ./webcamd -m v4l1-compat.debug=1 ... Attached ugen4.2[0] to cuse unit 0 uvcvideo: Found UVC 1.00 device (0c45:62c0) Creating /dev/video0 (now probing the cam in Skype) v4l1-compat: VIDIOCSPICT / VIDIOC_S_FMT: -22 v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22 v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22 nothing more... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 21 23:06:50 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 12A6E1065672 for ; Mon, 21 Mar 2011 23:06:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 953288FC08 for ; Mon, 21 Mar 2011 23:06:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=oR3+9dOmPeF3nZCt5Gxyvf/bIpfj8bfjGZkkfp/xES8= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=rl3uD2fT4gvRkQ_FOwgA:9 a=58XCYlIAaOZINKn7wxxIX0kOXJIA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103515268; Tue, 22 Mar 2011 00:06:47 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Tue, 22 Mar 2011 00:06:05 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20110321112141.GA23421@sh4-5.1blu.de> <201103212337.14833.hselasky@c2i.net> <20110321225253.GA7054@tinyCurrent> In-Reply-To: <20110321225253.GA7054@tinyCurrent> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201103220006.05449.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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, 21 Mar 2011 23:06:50 -0000 On Monday 21 March 2011 23:52:53 Matthias Apitz wrote: > El d=EDa Monday, March 21, 2011 a las 11:37:14PM +0100, Hans Petter Selas= ky=20 escribi=F3: > > > What do I miss to get the debugging log? > >=20 > > webcamd -s > >=20 > > Then use -m to set debug parameters. >=20 > # ./webcamd -m v4l1-compat.debug=3D1 > ... > Attached ugen4.2[0] to cuse unit 0 > uvcvideo: Found UVC 1.00 device (0c45:62c0) > Creating /dev/video0 >=20 > (now probing the cam in Skype) >=20 > v4l1-compat: VIDIOCSPICT / VIDIOC_S_FMT: -22 > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 > v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22 > v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22 >=20 Probably the format which skype is trying to set is not available? Then you= =20 maybe need to pre-load skype with libv4l for Linux. Maybe you could dump th= e=20 structure associated with the VIDIOC_S_FMT? =2D22 means: 22 EINVAL Invalid argument. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 06:52:59 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 9AB2A1065678 for ; Tue, 22 Mar 2011 06:52:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 573EE8FC1C for ; Tue, 22 Mar 2011 06:52:58 +0000 (UTC) Received: from [88.217.1.210] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q1vSY-0006MW-5p; Tue, 22 Mar 2011 07:52:54 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p2M6qpHZ008642; Tue, 22 Mar 2011 07:52:52 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p2M6qoch008636; Tue, 22 Mar 2011 07:52:50 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 22 Mar 2011 07:52:45 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20110322065245.GA2397@tinyCurrent> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103212337.14833.hselasky@c2i.net> <20110321225253.GA7054@tinyCurrent> <201103220006.05449.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201103220006.05449.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.1.210 Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 06:52:59 -0000 El día Tuesday, March 22, 2011 a las 12:06:05AM +0100, Hans Petter Selasky escribió: > > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 > > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513 > > v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22 > > v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22 > > > > Probably the format which skype is trying to set is not available? Then you > maybe need to pre-load skype with libv4l for Linux. $ LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so skype ERROR: ld.so: object '/usr/local/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored. I think, we can not preload our libs, or are you talking about some other (Linux) object? > Maybe you could dump the > structure associated with the VIDIOC_S_FMT? > > -22 means: > > 22 EINVAL Invalid argument. will insert printf's in linux/drivers/media/video/v4l1-compat.c; the -513 is ok? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 07:13:10 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 BDBC91065676 for ; Tue, 22 Mar 2011 07:13:10 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [77.88.46.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6B98FC13 for ; Tue, 22 Mar 2011 07:13:10 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward4.mail.yandex.net (Yandex) with ESMTP id 5D9A4501D5D; Tue, 22 Mar 2011 10:13:08 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1300777988; bh=/Y41wHSTFl73KTgWEk1UiZHgZv60oT4lSspA3Zwrz40=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=JHrpfObZXeX30k0/sXlRjs6xyK94rY0vmsuGS1bXY3FR/LSi2+/8hcMB1gPWDx4rD xRbrBIAUsc4LIVN+9lQRh/VlFmyYiemxAeWmEKrMfpCzomD9/Y3SZEhNtV03ZHap9j bP/4DWaKApTZqVPHW4n2v/MpVjL6oOvZLW1HG5P0= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp3.mail.yandex.net (Yandex) with ESMTPSA id 1490069800BC; Tue, 22 Mar 2011 10:13:08 +0300 (MSK) Message-ID: <4D884BFF.70206@yandex.ru> Date: Tue, 22 Mar 2011 10:13:03 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Matthias Apitz References: <20110321112141.GA23421@sh4-5.1blu.de> <201103212337.14833.hselasky@c2i.net> <20110321225253.GA7054@tinyCurrent> <201103220006.05449.hselasky@c2i.net> <20110322065245.GA2397@tinyCurrent> In-Reply-To: <20110322065245.GA2397@tinyCurrent> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig05A11FA15AE0EAE7D2DFFACF" Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam recommendations 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: Tue, 22 Mar 2011 07:13:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig05A11FA15AE0EAE7D2DFFACF Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 22.03.2011 9:52, Matthias Apitz wrote: >> Probably the format which skype is trying to set is not available? The= n you=20 >> maybe need to pre-load skype with libv4l for Linux.=20 >=20 > $ LD_PRELOAD=3D/usr/local/lib/libv4l/v4l1compat.so skype > ERROR: ld.so: object '/usr/local/lib/libv4l/v4l1compat.so' from > LD_PRELOAD cannot be preloaded: ignored. >=20 > I think, we can not preload our libs, or are you talking about some > other (Linux) object? Yes, you can not preload this library for linux binary, because it compil= ed for FreeBSD. You can install libv4l for linux from rpm, but it will not w= ork, because our linux.ko does not support V4L2. >> Maybe you could dump the=20 >> structure associated with the VIDIOC_S_FMT? >> >> -22 means: >> >> 22 EINVAL Invalid argument. >=20 > will insert printf's in linux/drivers/media/video/v4l1-compat.c; > the -513 is ok? You should enable cuse4bsd logging and uvc driver tracing. v4l1-compat layer contains several code paths, some of those can fail, and it is not fatal. --=20 WBR, Andrey V. Elsukov --------------enig05A11FA15AE0EAE7D2DFFACF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJNiEwDAAoJEAHF6gQQyKF6xz4H/1lBCFu/vnkHx5+988wQlnpS rTksbnUuDccbx47yUsIhBSscKusNN4BxULNV/x04ee3B8pMx13keu4KMNbTlwaFY t1zjFJpNhacoIpoclSEamqHjHR3dOgy2QdUkBF7YT6fF16cT0PMuHdcCj9/6esXO Qe2l1zF2IkRTOp+k+dZXFou9ROd4n3x1PzbSzQAS2MXYQd4gMwVK3oQOUvXzk3cY ez/uZF8MZnFA7vPdLKIbqYL4dPX18+yGkNszNv+wadL1j9rILStBLrF217/BUaIN KIYkU3JSigKeZNsA6t8acCaa1RAmPuFxO2w0PiyZDnI+H8KncGAtFvNlBZH56R4= =UwJC -----END PGP SIGNATURE----- --------------enig05A11FA15AE0EAE7D2DFFACF-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 07:23:33 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 33A421065677; Tue, 22 Mar 2011 07:23:33 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id DD9048FC15; Tue, 22 Mar 2011 07:23:32 +0000 (UTC) Received: from outgoing.leidinger.net (p5B155C6A.dip.t-dialin.net [91.21.92.106]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id DB8CC844015; Tue, 22 Mar 2011 08:04:24 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8074A11DE; Tue, 22 Mar 2011 08:04:21 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2M73t4P009940; Tue, 22 Mar 2011 08:03:55 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 22 Mar 2011 08:03:55 +0100 Message-ID: <20110322080355.1792365g00qbog00@webmail.leidinger.net> Date: Tue, 22 Mar 2011 08:03:55 +0100 From: Alexander Leidinger To: "Andrey V. Elsukov" , nox@FReeBSD.org References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> <4D876D8B.6000103@yandex.ru> In-Reply-To: <4D876D8B.6000103@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: DB8CC844015.A4772 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.601, required 6, autolearn=disabled, FSL_RU_URL 0.00, J_CHICKENPOX_52 0.60) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301382266.19251@GuJQSe0/x6mhC/rAn1Rrcw X-EBL-Spam-Status: No Cc: freebsd-multimedia@FReeBSD.org Subject: Re: Webcam recommendations 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: Tue, 22 Mar 2011 07:23:33 -0000 Quoting "Andrey V. Elsukov" (from Mon, 21 Mar 2011 18:23:55 +0300): > On 21.03.2011 15:01, Hans Petter Selasky wrote: >> Looks like I was too quick about that. Anyway, maybe you could bother to add >> some prints in: >> >> v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c >> >> Because the V4l1 -> V4L2 translation should already be in place. > > Hi, > > After some time of reading code i understand several things. > webcamd contains a bunch of linux kernel drivers. Also any freebsd's > application can use v4l1 and v4l2 with /dev/videoX, but linux's > binaries can not. They can only use v4l1, because linux.ko supports > only v4l1. Anyway webcamd has some v4l1 to v4l2 translation inside. > But it does not work for my UVC webcam (translation works, but camera > does not) :( nox@ has some patches to add v4l2 support to the linuxulator. Bye, Alexander. -- You cannot achieve the impossible without attempting the absurd. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 14:47:01 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 7EC6D106564A for ; Tue, 22 Mar 2011 14:47:01 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 381958FC1B for ; Tue, 22 Mar 2011 14:47:00 +0000 (UTC) Received: by gwb15 with SMTP id 15so3377845gwb.13 for ; Tue, 22 Mar 2011 07:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=yv4sGIiJbvMUzlK7gH09LxUHCJnmgIXlQmVpFwj8uMI=; b=WgJJxZ0dkaIOeG4UaXnbAJ/5CGIZ/5GySIDpocFKn6UcRoc3nuDdr/RLFnpNa9KvLe gd/9T0Qgdl8bnLZ/XRMt2TpZqx7qM8pnXiDcNGIFQeYkr4aTXU6lJdGMHW8aldk7j6EF ODQD64qnhzU/zt6Kbzp4XA2HQN9Ei1J8XPZWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=i+kDypqR17RjJtYpbXiKm9RJMqxZkPaII0abqdLn1YftOASz3oidQ7XkWC9FUYcORc V9SsqXGsRR+WshupOjVMG46kN595s3MKaFanWx8IKTZK8xxmHPhNoqjUambMlSnPHoSa YJ1MposyppSvmCsIQoYNLb0JS8si1IZjM/pYk= Received: by 10.151.43.15 with SMTP id v15mr5175892ybj.170.1300803421841; Tue, 22 Mar 2011 07:17:01 -0700 (PDT) Received: from jimmiejaz.org (bas9-toronto63-1128677805.dsl.bell.ca [67.70.65.173]) by mx.google.com with ESMTPS id t16sm1712743ybe.19.2011.03.22.07.16.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 07:16:59 -0700 (PDT) Message-ID: <4D88AF58.1080006@gmail.com> Date: Tue, 22 Mar 2011 10:16:56 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: vlc, webcam streaming X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 14:47:01 -0000 Camera works fine with skype, emesene work wonderfully, mplayer gives me an image, but it flashes between green screen and the actual images. Full vlc -vv output is here, http://pastebin.com/MaEP6f6R (highlights below) Anyone have a suggestion/hint/tip? VLC is unable to open the MRL 'v4l://'. Check the log for details. # [0x2899954c] qt4 interface debug: Initialization of Capture device panel # [0x2899954c] qt4 interface warning: Input option: input-slave=alsa:// # [0x2899954c] qt4 interface warning: Input option: v4l-norm=0 # [0x2899954c] qt4 interface warning: Input option: v4l-frequency=0 # [0x2899954c] qt4 interface warning: Input option: file-caching=300 # [0x288056bc] main playlist debug: adding item `v4l:///dev/video0' ( v4l:///dev/video0 ) # [0x2899954c] qt4 interface debug: Adding a new MRL to recent ones: v4l:///dev/video0 # [0x288056bc] main playlist debug: rebuilding array of current - root Playlist # [0x288056bc] main playlist debug: rebuild done - 1 items, index -1 # [0x288056bc] main playlist debug: processing request item v4l:///dev/video0 node null skip 0 # [0x288056bc] main playlist debug: resyncing on v4l:///dev/video0 # [0x288056bc] main playlist debug: v4l:///dev/video0 is at 0 # [0x288056bc] main playlist debug: starting new item # [0x288056bc] main playlist debug: creating new input thread # [0x2d820fdc] main input debug: Creating an input for 'v4l:///dev/video0' # [0x2d820fdc] main input debug: thread (input) created at priority 10 (input/input.c:214) # [0x2d820fdc] main input debug: thread started # [0x2d820fdc] main input debug: using timeshift granularity of 50 MiB # [0x2d820fdc] main input debug: using timeshift path '/tmp' # [0x2d820fdc] main input debug: `v4l:///dev/video0' gives access `v4l' demux `' path `/dev/video0' # [0x2d820fdc] main input debug: creating demux: access='v4l' demux='' path='/dev/video0' # [0x2e423f7c] main demux debug: looking for access_demux module: 1 candidate # [0x2e423f7c] v4l demux debug: opening device '/dev/video0' # [0x2899954c] qt4 interface debug: IM: Setting an input # [0x2e423f7c] v4l demux debug: V4L device Logitech QuickCam Pro 4000 1 channels 0 audios 160 < w < 640 120 < h < 480 # [0x2e423f7c] v4l demux debug: invalid width 0 # [0x2e423f7c] v4l demux debug: invalid height 0 # [0x2e423f7c] v4l demux debug: setting channel usb(0) 0 tuners flags=0x0 type=0x2 norm=0x0 # [0x2e423f7c] v4l demux error: cannot set channel (Invalid argument) # [0x2e423f7c] main demux debug: no access_demux module matching "v4l" could be loaded -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 14:56:03 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 B82B6106567A for ; Tue, 22 Mar 2011 14:56:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 231F48FC18 for ; Tue, 22 Mar 2011 14:56:02 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=0KkIQGagYCvnrzE3Z2Lmid87OPdbX6VLcZYwAuLMZ50= c=1 sm=1 a=IU0TiZmyZPMA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=fGO4tVQLAAAA:8 a=EIwWLcqJZ1boMC9ffqwA:9 a=6TG_8lzcY4KdoPKuw4IA:7 a=vITOKqmlmEJC_5f1DUVj2Sn0RdoA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 103922840; Tue, 22 Mar 2011 15:55:59 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, jimmiejaz@gmail.com Date: Tue, 22 Mar 2011 15:55:17 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <4D88AF58.1080006@gmail.com> In-Reply-To: <4D88AF58.1080006@gmail.com> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103221555.17815.hselasky@c2i.net> Cc: freebsd-questions@freebsd.org Subject: Re: vlc, webcam streaming 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: Tue, 22 Mar 2011 14:56:03 -0000 On Tuesday 22 March 2011 15:16:56 Jimmie James wrote: > Camera works fine with skype, emesene work wonderfully, mplayer gives me > an image, but it flashes between green screen and the actual images. > > Full vlc -vv output is here, http://pastebin.com/MaEP6f6R (highlights > below) Anyone have a suggestion/hint/tip? > > VLC is unable to open the MRL 'v4l://'. Check the log for details. Hi, I think VLC removed support for Webcams. Only video streaming devices and DVB- X devices are supported. Flickering pictures might be due to lack of buffering in webcamd. Could you dump the config descriptor with usbconfig for your device? Which version of webcamd are you using? --HPS From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 16:44:07 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 0DBFD106566C; Tue, 22 Mar 2011 16:44:07 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id C224B8FC1A; Tue, 22 Mar 2011 16:44:06 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 1A2E71E00184; Tue, 22 Mar 2011 17:44:04 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p2MGhAow072842; Tue, 22 Mar 2011 17:43:10 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p2MGhApt072841; Tue, 22 Mar 2011 17:43:10 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Tue, 22 Mar 2011 17:43:09 +0100 To: Alexander Leidinger Message-ID: <20110322164309.GB72610@triton8.kn-bremen.de> References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> <4D876D8B.6000103@yandex.ru> <20110322080355.1792365g00qbog00@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110322080355.1792365g00qbog00@webmail.leidinger.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@FReeBSD.org, nox@FReeBSD.org Subject: Re: Webcam recommendations 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: Tue, 22 Mar 2011 16:44:07 -0000 On Tue, Mar 22, 2011 at 08:03:55AM +0100, Alexander Leidinger wrote: > > Quoting "Andrey V. Elsukov" (from Mon, 21 Mar 2011 > 18:23:55 +0300): > > > On 21.03.2011 15:01, Hans Petter Selasky wrote: > >> Looks like I was too quick about that. Anyway, maybe you could bother to add > >> some prints in: > >> > >> v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c > >> > >> Because the V4l1 -> V4L2 translation should already be in place. > > > > Hi, > > > > After some time of reading code i understand several things. > > webcamd contains a bunch of linux kernel drivers. Also any freebsd's > > application can use v4l1 and v4l2 with /dev/videoX, but linux's > > binaries can not. They can only use v4l1, because linux.ko supports > > only v4l1. Anyway webcamd has some v4l1 to v4l2 translation inside. > > But it does not work for my UVC webcam (translation works, but camera > > does not) :( > > nox@ has some patches to add v4l2 support to the linuxulator. Unfortunately not, I only have linuxolator patches for dvb support. (and still no answer from the Linux guy wrt the header file license, I wonder if I ended up in his spamfilter twice...) :/, Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 22 23:03:50 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 45CC2106566C; Tue, 22 Mar 2011 23:03:50 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F17D88FC12; Tue, 22 Mar 2011 23:03:49 +0000 (UTC) Received: by iwn33 with SMTP id 33so9522233iwn.13 for ; Tue, 22 Mar 2011 16:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=JqIU4sxyKvm3/snBMG9xAcLktFmLu/rt1P4N1hYo8ao=; b=pGNhmWhZj8+3TClswgebkjeZarxctkSO0wBsWWUYXKzJaRZ86oa0ZRUFBJlpgSvJSs xY82LJ37+vD1HjXQZrT9yj0CCYyz9efR63tVthVg3yw0HHhegTqE4rz26972u40Phv9m g2Dl06BVwc0IqNVALNU9QParFYY7AlleyX0lw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=MCgTrSMvjxrDal5Cyw6jnzQAyzHUtoI8euYMnUQchAaFQe3StpGdc8NWADC9RlrFAb nMtEsW+Q9kJON1fMSHQ01+pg22u554zOSDgU00iLqUvCmE48Gl3FcAyurxZlIF7w4bDy UB2VDM+4IF1IaeqpO/GZkd0dTGUUCws1UMJqY= Received: by 10.231.21.150 with SMTP id j22mr20795ibb.178.1300835029322; Tue, 22 Mar 2011 16:03:49 -0700 (PDT) Received: from jimmiejaz.org (bas9-toronto63-1128677805.dsl.bell.ca [67.70.65.173]) by mx.google.com with ESMTPS id gy41sm3519037ibb.5.2011.03.22.16.03.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2011 16:03:47 -0700 (PDT) Message-ID: <4D892AD1.8060005@gmail.com> Date: Tue, 22 Mar 2011 19:03:45 -0400 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Fwd: Re: vlc, webcam streaming X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 23:03:50 -0000 (sorry, dropped the list off this) On 03/22/11 10:55, Hans Petter Selasky wrote: > On Tuesday 22 March 2011 15:16:56 Jimmie James wrote: >> Camera works fine with skype, emesene work wonderfully, mplayer gives me >> an image, but it flashes between green screen and the actual images. >> >> Full vlc -vv output is here, http://pastebin.com/MaEP6f6R (highlights >> below) Anyone have a suggestion/hint/tip? >> >> VLC is unable to open the MRL 'v4l://'. Check the log for details. > > Hi, > > I think VLC removed support for Webcams. Only video streaming devices and DVB- > X devices are supported. > > Flickering pictures might be due to lack of buffering in webcamd. > > Could you dump the config descriptor with usbconfig for your device? > > Which version of webcamd are you using? > > --HPS > That's interesting with VLC, googling around seems to suggest it works with V4L2 usbconfig -u 2 -a 2 dump_curr_config_desc is at the end of this message. webcamd-0.1.20_1 gstreamer-plugins-v4l2-0.10.27,3 Gstreamer Video 4 Linux 2 source plugin libv4l-0.8.1 Video4Linux library v4l_compat-1.0.20101027_1 Video4Linux IOCTL header files As for mplayer, I'm going to "assuME" it's more user error/command line options after playing a bit more with it. Mplayer called like mplayer tv:// -tv driver=v4l:device=/dev/video0 is clear. Playing tv://. TV file format detected. Selected driver: v4l name: Video 4 Linux input author: Alex Beregszaszi comment: under development ================================================================= WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!! As the V4L1 compatibility layer is broken, this may not work. If you encounter any problems, use driver=v4l2 instead. Bugreports on driver=v4l with v4l2 drivers will be ignored. ================================================================= Selected device: Logitech QuickCam Pro 4000 Capabilities: capture teletext overlay clipping frameram mjpeg-encoder Device type: 1917853805 Supported sizes: 160x120 => 640x480 Inputs: 1 0: usb: (tuner:0, norm:pal) Called like tv:// -tv driver=v4l2:device=/dev/video0 is all flickery. MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski comment: first try, more to come ;-) Selected device: Logitech QuickCam Pro 4000 Capabilities: video capture read/write streaming supported norms: 0 = webcam; inputs: 0 = usb; Current input: 0 Current format: YUV420 tv.c: norm_from_string(pal): Bogus norm parameter, setting default. Selected input hasn't got a tuner! v4l2: Cannot get fps v4l2: ioctl set mute failed: Invalid argument v4l2: ioctl query control failed: Invalid argument ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video Movie-Aspect is undefined - no prescaling applied. VO: [x11] 640x480 => 640x480 Planar YV12 [swscaler @ 0x2aa3f010] using unscaled yuv420p -> bgra special converter Selected video codec: [rawyv12] vfm: raw (RAW YV12) ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x01fd bNumInterfaces = 0x0003 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0000 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0001 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x00c4 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0002 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0124 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0003 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x01c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 4 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0004 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0250 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 5 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0005 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x02c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 6 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0006 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0308 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 7 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0007 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0348 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 8 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0008 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x0380 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 9 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0009 bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x03c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 10 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x000a bNumEndpoints = 0x0002 bInterfaceClass = 0x000a bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 bmAttributes = 0x0001 wMaxPacketSize = 0x03c0 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x09, 0x24, 0x01, 0x00, 0x01, 0x26, 0x00, 0x01, 0x08 | 0x02 Additional Descriptor bLength = 0x0c bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x01, 0x01, 0x02, 0x00, 0x01, 0x08 | 0x00, 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x08 bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x08, 0x24, 0x06, 0x02, 0x01, 0x01, 0x03, 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x03, 0x01, 0x01, 0x00, 0x02, 0x08 | 0x00 Interface 2 bLength = 0x000b bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0001 wMaxPacketSize = 0x0000 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 2 Alt 1 bLength = 0x000b bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x03, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x01, 0x02, 0x10, 0x01, 0x08 | 0x44, 0xac, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0001 wMaxPacketSize = 0x005a bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00 Interface 2 Alt 2 bLength = 0x000b bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0002 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x03, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x01, 0x02, 0x10, 0x01, 0x08 | 0x22, 0x56, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0001 wMaxPacketSize = 0x002e bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00 Interface 2 Alt 3 bLength = 0x000b bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0003 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x03, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x01, 0x02, 0x10, 0x01, 0x08 | 0x11, 0x2b, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0001 wMaxPacketSize = 0x0019 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00 Interface 2 Alt 4 bLength = 0x000b bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0004 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x03, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x01, 0x02, 0x10, 0x01, 0x08 | 0x40, 0x1f, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0001 wMaxPacketSize = 0x0010 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00 -- I am currently away on leave, traveling through time and will be returning last week. Life is tough, but it's tougher when you're stupid. From owner-freebsd-multimedia@FreeBSD.ORG Wed Mar 23 09:17:30 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 97F571065689; Wed, 23 Mar 2011 09:17:30 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 483018FC0C; Wed, 23 Mar 2011 09:17:30 +0000 (UTC) Received: from outgoing.leidinger.net (p5B15586F.dip.t-dialin.net [91.21.88.111]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id B4B2F844015; Wed, 23 Mar 2011 10:17:26 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id AC64212BD; Wed, 23 Mar 2011 10:17:23 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2N9HITM074121; Wed, 23 Mar 2011 10:17:18 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 23 Mar 2011 10:17:18 +0100 Message-ID: <20110323101718.92351kg3yj4mzr8g@webmail.leidinger.net> Date: Wed, 23 Mar 2011 10:17:18 +0100 From: Alexander Leidinger To: Juergen Lock References: <20110321112141.GA23421@sh4-5.1blu.de> <201103211242.15230.hselasky@c2i.net> <201103211301.36287.hselasky@c2i.net> <4D876D8B.6000103@yandex.ru> <20110322080355.1792365g00qbog00@webmail.leidinger.net> <20110322164309.GB72610@triton8.kn-bremen.de> In-Reply-To: <20110322164309.GB72610@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: B4B2F844015.A3DBC X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.077, required 6, autolearn=disabled, TW_DV 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301476647.13158@8dlzXcJZzIVB/RFzsjRu4A X-EBL-Spam-Status: No Cc: freebsd-multimedia@FReeBSD.org, nox@FReeBSD.org Subject: Re: Webcam recommendations 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, 23 Mar 2011 09:17:30 -0000 Quoting Juergen Lock (from Tue, 22 Mar 2011 17:43:09 +0100): > On Tue, Mar 22, 2011 at 08:03:55AM +0100, Alexander Leidinger wrote: >> nox@ has some patches to add v4l2 support to the linuxulator. > > Unfortunately not, I only have linuxolator patches for dvb support. Argh... this linux video thing is too fragmented to get your head around it when you are ill... Bye, Alexander. -- "He's bigger than one of your PEZZONOVANTES." -- Johnny Fantane, "Chapter 1", page 38 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 25 20:28:46 2011 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D02D1065676 for ; Fri, 25 Mar 2011 20:28:46 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from sup.oook.cz (sup.oook.cz [94.23.0.135]) by mx1.freebsd.org (Postfix) with ESMTP id 73A4C8FC15 for ; Fri, 25 Mar 2011 20:28:45 +0000 (UTC) Received: from [192.168.0.23] (ip-62-245-117-217.net.upcbroadband.cz [62.245.117.217]) (authenticated bits=0) by sup.oook.cz (8.14.4/8.14.4) with ESMTP id p2PKSxCI023592; Fri, 25 Mar 2011 21:29:01 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: multimedia@FreeBSD.org, martymac@FreeBSD.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-uBt5L7b9XhqWusfVnWXG" Date: Fri, 25 Mar 2011 21:28:41 +0100 Message-ID: <1301084921.33917.6.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Scanned-By: MIMEDefang 2.68 on 94.23.0.135 X-Milter: Spamilter (Reciever: sup.oook.cz; Sender-ip: 62.245.117.217; Sender-helo: [192.168.0.23]; ) Cc: Subject: [Fwd: gstreamer-plugins-opencv-0.10.21,3 failed on amd64 9-exp] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 20:28:46 -0000 --=-uBt5L7b9XhqWusfVnWXG Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable -------- P=F8eposlan=E1 zpr=E1va -------- > Od: User Ports-amd64 > Komu: cvs@oook.cz, itetcu@FreeBSD.org, linimon@FreeBSD.org > P=F8edm=ECt: gstreamer-plugins-opencv-0.10.21,3 failed on amd64 9-exp > Datum: Fri, 25 Mar 2011 06:48:14 GMT >=20 > You can also find this build log at >=20 > http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.9-exp.20110324= 212448/gstreamer-plugins-opencv-0.10.21,3.log >=20 > building gstreamer-plugins-opencv-0.10.21,3 on gohan11.freebsd.org > in directory /x/pkgbuild/9-exp/20110324212448/chroot/11 > building for: 9.0-CURRENT amd64 > maintained by: multimedia@FreeBSD.org > port directory: /usr/ports/graphics/gstreamer-plugins-opencv > Makefile ident: $FreeBSD: ports/graphics/gstreamer-plugins-opencv/Makefil= e,v 1.1 2011/02/25 10:58:40 kwm Exp $ > build started at Fri Mar 25 06:46:12 UTC 2011 > FETCH_DEPENDS=3D > PATCH_DEPENDS=3Dlibtool-2.4.tbz > EXTRACT_DEPENDS=3D > BUILD_DEPENDS=3Dbison-2.4.3,1.tbz cairo-1.10.2_1,1.tbz expat-2.0.1_1.tbz = fontconfig-2.8.0,1.tbz freetype2-2.4.4.tbz gamin-0.1.10_4.tbz gettext-0.18.= 1.1.tbz gio-fam-backend-2.26.1.tbz glib-2.26.1_1.tbz gmake-3.81_4.tbz gobje= ct-introspection-0.9.12_1.tbz gstreamer-0.10.32.tbz gstreamer-plugins-0.10.= 32,3.tbz gstreamer-plugins-bad-0.10.21,3.tbz jasper-1.900.1_9.tbz jbigkit-1= .6.tbz jpeg-8_3.tbz kbproto-1.0.5.tbz libX11-1.3.6,1.tbz libXau-1.0.6.tbz l= ibXdmcp-1.0.3.tbz libXext-1.1.2,1.tbz libXrender-0.9.5.tbz libXv-1.0.5,1.tb= z libffi-3.0.9.tbz libiconv-1.13.1_1.tbz libpthread-stubs-0.3_3.tbz libtool= -2.4.tbz libv4l-0.8.1.tbz libxcb-1.7.tbz libxml2-2.7.8_1.tbz m4-1.4.16,1.tb= z opencv-2.1.0_1.tbz orc-0.4.11.tbz pcre-8.12.tbz perl-5.10.1_3.tbz pixman-= 0.21.4.tbz pkg-config-0.25_1.tbz png-1.4.5.tbz python27-2.7.1_1.tbz renderp= roto-0.11.tbz tiff-4.0.0.tbz v4l_compat-1.0.20101027_1.tbz videoproto-2.3.0= .tbz xcb-util-0.3.6_1.tbz xextproto-7.1.1.tbz xproto-7.0.16.tbz > RUN_DEPENDS=3Dbison-2.4.3,1.tbz cairo-1.10.2_1,1.tbz expat-2.0.1_1.tbz fo= ntconfig-2.8.0,1.tbz freetype2-2.4.4.tbz gamin-0.1.10_4.tbz gettext-0.18.1.= 1.tbz gio-fam-backend-2.26.1.tbz glib-2.26.1_1.tbz gobject-introspection-0.= 9.12_1.tbz gstreamer-0.10.32.tbz gstreamer-plugins-0.10.32,3.tbz gstreamer-= plugins-bad-0.10.21,3.tbz jasper-1.900.1_9.tbz jbigkit-1.6.tbz jpeg-8_3.tbz= kbproto-1.0.5.tbz libX11-1.3.6,1.tbz libXau-1.0.6.tbz libXdmcp-1.0.3.tbz l= ibXext-1.1.2,1.tbz libXrender-0.9.5.tbz libXv-1.0.5,1.tbz libffi-3.0.9.tbz = libiconv-1.13.1_1.tbz libpthread-stubs-0.3_3.tbz libv4l-0.8.1.tbz libxcb-1.= 7.tbz libxml2-2.7.8_1.tbz m4-1.4.16,1.tbz opencv-2.1.0_1.tbz orc-0.4.11.tbz= pcre-8.12.tbz perl-5.10.1_3.tbz pixman-0.21.4.tbz pkg-config-0.25_1.tbz pn= g-1.4.5.tbz python27-2.7.1_1.tbz renderproto-0.11.tbz tiff-4.0.0.tbz videop= roto-2.3.0.tbz xcb-util-0.3.6_1.tbz xextproto-7.1.1.tbz xproto-7.0.16.tbz > prefixes: LOCALBASE=3Dusr/local > add_pkg > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> License check disabled, port has not defined LICENSE > =3D> gst-plugins-bad-0.10.21.tar.bz2 doesn't seem to exist in /tmp/distfi= les/. > =3D> Attempting to fetch ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/d= istfiles/gst-plugins-bad-0.10.21.tar.bz2 > gst-plugins-bad-0.10.21.tar.bz2 3348 kB 2484 kBps > =3D> SHA256 Checksum OK for gst-plugins-bad-0.10.21.tar.bz2. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > add_pkg > =3D=3D=3D> License check disabled, port has not defined LICENSE > =3D=3D=3D> Extracting for gstreamer-plugins-opencv-0.10.21,3 > =3D> SHA256 Checksum OK for gst-plugins-bad-0.10.21.tar.bz2. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > add_pkg libtool-2.4.tbz > adding dependencies > pkg_add libtool-2.4.tbz > =3D=3D=3D> Patching for gstreamer-plugins-opencv-0.10.21,3 > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: libto= ol>=3D2.4 - found > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: libto= ol>=3D2.4 - found > Deleting libtool-2.4 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > add_pkg bison-2.4.3,1.tbz cairo-1.10.2_1,1.tbz expat-2.0.1_1.tbz fontconf= ig-2.8.0,1.tbz freetype2-2.4.4.tbz gamin-0.1.10_4.tbz gettext-0.18.1.1.tbz = gio-fam-backend-2.26.1.tbz glib-2.26.1_1.tbz gmake-3.81_4.tbz gobject-intro= spection-0.9.12_1.tbz gstreamer-0.10.32.tbz gstreamer-plugins-0.10.32,3.tbz= gstreamer-plugins-bad-0.10.21,3.tbz jasper-1.900.1_9.tbz jbigkit-1.6.tbz j= peg-8_3.tbz kbproto-1.0.5.tbz libX11-1.3.6,1.tbz libXau-1.0.6.tbz libXdmcp-= 1.0.3.tbz libXext-1.1.2,1.tbz libXrender-0.9.5.tbz libXv-1.0.5,1.tbz libffi= -3.0.9.tbz libiconv-1.13.1_1.tbz libpthread-stubs-0.3_3.tbz libtool-2.4.tbz= libv4l-0.8.1.tbz libxcb-1.7.tbz libxml2-2.7.8_1.tbz m4-1.4.16,1.tbz opencv= -2.1.0_1.tbz orc-0.4.11.tbz pcre-8.12.tbz perl-5.10.1_3.tbz pixman-0.21.4.t= bz pkg-config-0.25_1.tbz png-1.4.5.tbz python27-2.7.1_1.tbz renderproto-0.1= 1.tbz tiff-4.0.0.tbz v4l_compat-1.0.20101027_1.tbz videoproto-2.3.0.tbz xcb= -util-0.3.6_1.tbz xextproto-7.1.1.tbz xproto-7.0.16.tbz > adding dependencies > pkg_add bison-2.4.3,1.tbz > pkg_add cairo-1.10.2_1,1.tbz >=20 > =3D=3D=3D=3D > Note that some of the standard modules are provided as separate > ports since they require extra dependencies: >=20 > bsddb databases/py-bsddb > gdbm databases/py-gdbm > sqlite3 databases/py-sqlite3 > tkinter x11-toolkits/py-tkinter >=20 > Install them as needed. > =3D=3D=3D=3D >=20 > Removing stale symlinks from /usr/bin... > Skipping /usr/bin/perl > Skipping /usr/bin/perl5 > Done. > Creating various symlinks in /usr/bin... > Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl > Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl5 > Done. > Cleaning up /etc/make.conf... Done. > Spamming /etc/make.conf... Done. > Running fc-cache to build fontconfig cache... > /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs > /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 d= irs > /root/.fonts: skipping, no such directory > /var/db/fontconfig: cleaning cache directory > /root/.fontconfig: not cleaning non-existent cache directory > fc-cache: succeeded >=20 >=20 > ***************************************************************** > Although libxcb can yield dramatic improvements in speed, > memory footprint, and responsiveness, and will probably > become the default Xlib for X.org/freedesktop.org, it is > still experimental software. Some broken callers will abort() > on locking assertion failures. As a temporary workaround, set > LIBXCB_ALLOW_SLOPPY_LOCK in your environment to skip the abort(). > This may result in noisy stacktrace printing. > ***************************************************************** >=20 > No schema files found: doing nothing. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > Gamin will only provide realtime notification of changes for at most n fi= les, > where n is the minimum value between (kern.maxfiles * 0.7) and > (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. >=20 > If you often open several large folders with Nautilus, you might want to > increase the kern.maxfiles tunable (you do not need to set > kern.maxfilesperproc, since it is computed at boot time from kern.maxfile= s). >=20 > For a typical desktop, add the following line to /boot/loader.conf, then > reboot the system: >=20 > kern.maxfiles=3D"25000" >=20 > The behavior of gamin can be controlled via the various gaminrc files. > See http://www.gnome.org/~veillard/gamin/config.html on how to create > these files. In particular, if you find gam_server is taking up too much > CPU time polling for changes, something like the following may help > in one of the gaminrc files: >=20 > # reduce polling frequency to once per 10 seconds > # for UFS file systems in order to lower CPU load > fsset ufs poll 10 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > pkg_add expat-2.0.1_1.tbz > skipping expat-2.0.1_1, already added > pkg_add fontconfig-2.8.0,1.tbz > skipping fontconfig-2.8.0,1, already added > pkg_add freetype2-2.4.4.tbz > skipping freetype2-2.4.4, already added > pkg_add gamin-0.1.10_4.tbz > skipping gamin-0.1.10_4, already added > pkg_add gettext-0.18.1.1.tbz > skipping gettext-0.18.1.1, already added > pkg_add gio-fam-backend-2.26.1.tbz > skipping gio-fam-backend-2.26.1, already added > pkg_add glib-2.26.1_1.tbz > skipping glib-2.26.1_1, already added > pkg_add gmake-3.81_4.tbz > pkg_add gobject-introspection-0.9.12_1.tbz > pkg_add gstreamer-0.10.32.tbz > pkg_add gstreamer-plugins-0.10.32,3.tbz > pkg_add gstreamer-plugins-bad-0.10.21,3.tbz > pkg_add jasper-1.900.1_9.tbz > pkg_add jbigkit-1.6.tbz > pkg_add jpeg-8_3.tbz > skipping jpeg-8_3, already added > pkg_add kbproto-1.0.5.tbz > skipping kbproto-1.0.5, already added > pkg_add libX11-1.3.6,1.tbz > skipping libX11-1.3.6,1, already added > pkg_add libXau-1.0.6.tbz > skipping libXau-1.0.6, already added > pkg_add libXdmcp-1.0.3.tbz > skipping libXdmcp-1.0.3, already added > pkg_add libXext-1.1.2,1.tbz > skipping libXext-1.1.2,1, already added > pkg_add libXrender-0.9.5.tbz > skipping libXrender-0.9.5, already added > pkg_add libXv-1.0.5,1.tbz > skipping libXv-1.0.5,1, already added > pkg_add libffi-3.0.9.tbz > skipping libffi-3.0.9, already added > pkg_add libiconv-1.13.1_1.tbz > skipping libiconv-1.13.1_1, already added > pkg_add libpthread-stubs-0.3_3.tbz > skipping libpthread-stubs-0.3_3, already added > pkg_add libtool-2.4.tbz > pkg_add libv4l-0.8.1.tbz > pkg_add libxcb-1.7.tbz > skipping libxcb-1.7, already added > pkg_add libxml2-2.7.8_1.tbz > skipping libxml2-2.7.8_1, already added > pkg_add m4-1.4.16,1.tbz > skipping m4-1.4.16,1, already added > pkg_add opencv-2.1.0_1.tbz > pkg_add orc-0.4.11.tbz > skipping orc-0.4.11, already added > pkg_add pcre-8.12.tbz > skipping pcre-8.12, already added > pkg_add perl-5.10.1_3.tbz > skipping perl-5.10.1_3, already added > pkg_add pixman-0.21.4.tbz > skipping pixman-0.21.4, already added > pkg_add pkg-config-0.25_1.tbz > skipping pkg-config-0.25_1, already added > pkg_add png-1.4.5.tbz > skipping png-1.4.5, already added > pkg_add python27-2.7.1_1.tbz > skipping python27-2.7.1_1, already added > pkg_add renderproto-0.11.tbz > skipping renderproto-0.11, already added > pkg_add tiff-4.0.0.tbz > skipping tiff-4.0.0, already added > pkg_add v4l_compat-1.0.20101027_1.tbz > pkg_add videoproto-2.3.0.tbz > skipping videoproto-2.3.0, already added > pkg_add xcb-util-0.3.6_1.tbz > skipping xcb-util-0.3.6_1, already added > pkg_add xextproto-7.1.1.tbz > skipping xextproto-7.1.1, already added > pkg_add xproto-7.0.16.tbz > skipping xproto-7.0.16, already added > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: v4l_c= ompat>=3D1.0.20100321 - found > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: gstre= amer>=3D0.10.32 - found > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: orc>= =3D0.4.11 - found > =3D=3D=3D> gstreamer-plugins-opencv-0.10.21,3 depends on package: openc= v<=3D2.1 - not found > =3D=3D=3D> Found opencv-2.1.0_1, but you need to upgrade to opencv<=3D2= .1. > *** Error code 1 >=20 > Stop in /a/ports/graphics/gstreamer-plugins-opencv. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > build of /usr/ports/graphics/gstreamer-plugins-opencv ended at Fri Mar 25= 06:48:09 UTC 2011 --=20 --=20 Pav Lucistnik /usr/src scares me. I'm just not man enough to commit there. --=-uBt5L7b9XhqWusfVnWXG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk2M+vkACgkQntdYP8FOsoKLDgCbBhzEh++xslmlOfgBMxlfZ4rc HwwAoITzfzvikHzzrIbxeYRyMWbjJ9yt =rnnx -----END PGP SIGNATURE----- --=-uBt5L7b9XhqWusfVnWXG-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 26 16:38:40 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 4697A106566B for ; Sat, 26 Mar 2011 16:38:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id A7FFE8FC16 for ; Sat, 26 Mar 2011 16:38:39 +0000 (UTC) Received: from [88.217.14.30] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Q3WVZ-0002MM-PZ for freebsd-multimedia@freebsd.org; Sat, 26 Mar 2011 17:38:38 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p2QGccW2008048 for ; Sat, 26 Mar 2011 17:38:38 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p2QGcchs008047 for freebsd-multimedia@freebsd.org; Sat, 26 Mar 2011 17:38:38 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 26 Mar 2011 17:38:38 +0100 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Message-ID: <20110326163837.GA8010@tinyCurrent> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX" Content-Disposition: inline X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.14.30 Subject: 9-CURRENT && snd_hda(4): very low recording level X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 16:38:40 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I'm struggling since some weeks with the snd_hda(4) configuration in one of my laptops; the snd_hda(4) gives me 3 pcm devices: $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default pcm1: (rec) pcm2: (rec) and I can only do recording from the 3rd one, i.e. from /dev/dsp2 which is the microfone jack; I have as well three /dev/mixer? devices and for the 3rd it says only: $ mixer -f /dev/mixer2 Recording source: monitor $ mixer -f /dev/mixer2 bla mixer: unknown device: bla usage: mixer [-f device] [-s | -S] [dev [+|-][voll[:[+|-]volr]] ... mixer [-f device] [-s | -S] recsrc ... mixer [-f device] [-s | -S] {^|+|-|=}rec rdev ... rec devices: monitor I don't see how to higher the volume of recording after having tried all the values in device.hints(5), like: hint.hdac.0.cad1.nid20.config="as=1 seq=15 device=Headphones" hint.hdac.0.cad1.nid28.config="as=2 seq=0 device=Speaker" # default logs in messages: # hdac0: FG config/quirks: gpio0 forcestereo ivref50 ivref80 ivref100 # tested: # ivref, gpio1, ... # hint.hdac.0.config="ivref100 ovref100" # hint.hdac.0.config="gpio3 gpio4 gpio5 gpio6 gpio7" # hint.hdac.0.config="softpcmvol" # hint.hdac.0.config="senseinv" # "senseinv" mutes the mic-Jack completely hint.hdac.0.config="vref" nothing of the above options helped. Any hints are higly welcome. Thanks in advance I'm attaching 'dmesg | fgrep pcm' matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pcm.txt" hdac0: OSS: pcm (pcm) hdac0: OSS: pcm (pcm) hdac0: OSS: pcm (pcm) hdac0: OSS: pcm (pcm) hdac0: OSS: pcm (pcm) hdac0: OSS: pcm, speaker, line, mic, monitor hdac0: OSS: pcm, speaker, line, mic, monitor hdac0: OSS: pcm, speaker, line, mic, monitor hdac0: OSS: pcm, speaker, line, mic, monitor pcm0: at cad 1 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e0160 pcm0: 16 20 24 bits, 44 48 96 KHz pcm0: DAC: 4 3 5 6 2 pcm0: pcm0: Record: pcm0: pcm0: Stream cap: 0x00000005 pcm0: AC3 PCM pcm0: PCM cap: 0x001e0160 pcm0: 16 20 24 32 bits, 44 48 96 KHz pcm0: ADC: 10 pcm0: pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: nid=22 [pin: Line-out (Orange Jack)] pcm0: | pcm0: + <- nid=14 [audio mixer] [src: pcm, speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=4 [audio output] [src: pcm] pcm0: + <- nid=11 [audio mixer] [src: speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=24 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor] pcm0: + <- nid=26 [pin: Line-in (Blue Jack)] [src: line] pcm0: + <- nid=29 [beep widget] [src: speaker] pcm0: pcm0: nid=21 [pin: Line-out (Black Jack)] pcm0: | pcm0: + <- nid=13 [audio mixer] [src: pcm, speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=3 [audio output] [src: pcm] pcm0: + <- nid=11 [audio mixer] [src: speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=24 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor] pcm0: + <- nid=26 [pin: Line-in (Blue Jack)] [src: line] pcm0: + <- nid=29 [beep widget] [src: speaker] pcm0: pcm0: nid=23 [pin: Line-out (Grey Jack)] pcm0: | pcm0: + <- nid=15 [audio mixer] [src: pcm, speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=5 [audio output] [src: pcm] pcm0: + <- nid=11 [audio mixer] [src: speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=24 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor] pcm0: + <- nid=26 [pin: Line-in (Blue Jack)] [src: line] pcm0: + <- nid=29 [beep widget] [src: speaker] pcm0: pcm0: nid=30 [pin: SPDIF-out (Black Jack)] pcm0: | pcm0: + <- nid=6 [audio output] [src: pcm] pcm0: pcm0: nid=20 [pin: Headphones (Green Jack)] pcm0: | pcm0: + <- nid=12 [audio mixer] [src: pcm, speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=2 [audio output] [src: pcm] pcm0: + <- nid=11 [audio mixer] [src: speaker, line, mic, monitor] pcm0: | pcm0: + <- nid=24 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor] pcm0: + <- nid=26 [pin: Line-in (Blue Jack)] [src: line] pcm0: + <- nid=29 [beep widget] [src: speaker] pcm0: pcm0: Record: pcm0: pcm0: nid=10 [audio input] pcm0: | pcm0: + <- nid=31 [pin: SPDIF-in (Orange Jack)] [src: dig1] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 12 (nid 12 out): -64/0dB (65 steps) pcm0: +- ctl 13 (nid 12 in 0): mute pcm0: +- ctl 14 (nid 12 in 1): mute pcm0: +- ctl 15 (nid 13 out): -64/0dB (65 steps) pcm0: +- ctl 16 (nid 13 in 0): mute pcm0: +- ctl 17 (nid 13 in 1): mute pcm0: +- ctl 18 (nid 14 out): -64/0dB (65 steps) pcm0: +- ctl 19 (nid 14 in 0): mute pcm0: +- ctl 20 (nid 14 in 1): mute pcm0: +- ctl 21 (nid 15 out): -64/0dB (65 steps) pcm0: +- ctl 22 (nid 15 in 0): mute pcm0: +- ctl 23 (nid 15 in 1): mute pcm0: +- ctl 24 (nid 20 in ): mute pcm0: +- ctl 25 (nid 21 in ): mute pcm0: +- ctl 26 (nid 22 in ): mute pcm0: +- ctl 27 (nid 23 in ): mute pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 13 (nid 12 in 0): mute pcm0: +- ctl 16 (nid 13 in 0): mute pcm0: +- ctl 19 (nid 14 in 0): mute pcm0: +- ctl 22 (nid 15 in 0): mute pcm0: pcm0: Microphone Volume (OSS: mic) pcm0: | pcm0: +- ctl 4 (nid 11 in 0): -35/30dB (66 steps) + mute pcm0: pcm0: Microphone2 Volume (OSS: monitor) pcm0: | pcm0: +- ctl 5 (nid 11 in 1): -35/30dB (66 steps) + mute pcm0: pcm0: Line-in Volume (OSS: line) pcm0: | pcm0: +- ctl 6 (nid 11 in 2): -35/30dB (66 steps) + mute pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 9 (nid 11 in 5): -35/30dB (66 steps) + mute pcm0: pcm0: Input Monitoring Level (OSS: igain) pcm0: | pcm0: +- ctl 14 (nid 12 in 1): mute pcm0: +- ctl 17 (nid 13 in 1): mute pcm0: +- ctl 20 (nid 14 in 1): mute pcm0: +- ctl 23 (nid 15 in 1): mute pcm0: pcm0: Enabling Soft PCM volume pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "line": pcm0: Mixer "mic": pcm0: Mixer "igain": pcm0: Mixer "monitor": pcm0: Soft PCM mixer ENABLED pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 3ec60000, 4000; 0xe46f6000 -> 3ec60000 pcm0: sndbuf_setmap 3ec70000, 4000; 0xe4706000 -> 3ec70000 pcm1: at cad 1 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: Stream cap: 0x00000001 pcm1: PCM pcm1: PCM cap: 0x00060160 pcm1: 16 20 bits, 44 48 96 KHz pcm1: ADC: 7 pcm1: pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1: pcm1: Record: pcm1: pcm1: nid=7 [audio input] pcm1: | pcm1: + <- nid=24 [pin: Mic (Pink Jack)] [src: mic] pcm1: + <- nid=26 [pin: Line-in (Blue Jack)] [src: line] pcm1: pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1: pcm1: Microphone Volume (OSS: mic) pcm1: | pcm1: +- ctl 1 (nid 7 in 0): 0/35dB (36 steps) + mute pcm1: pcm1: Recording Level (OSS: rec) pcm1: | pcm1: +- ctl 1 (nid 7 in 0): 0/35dB (36 steps) + mute pcm1: pcm1: Mixer "mic": pcm1: Mixer "rec": pcm1: clone manager: deadline=750ms flags=0x8000001e pcm1: sndbuf_setmap 3ec80000, 4000; 0xe4716000 -> 3ec80000 pcm2: at cad 1 nid 1 on hdac0 pcm2: +--------------------------------------+ pcm2: | DUMPING PCM Playback/Record Channels | pcm2: +--------------------------------------+ pcm2: pcm2: Record: pcm2: pcm2: Stream cap: 0x00000001 pcm2: PCM pcm2: PCM cap: 0x00060160 pcm2: 16 20 bits, 44 48 96 KHz pcm2: ADC: 8 pcm2: pcm2: +-------------------------------+ pcm2: | DUMPING Playback/Record Paths | pcm2: +-------------------------------+ pcm2: pcm2: Record: pcm2: pcm2: nid=8 [audio input] pcm2: | pcm2: + <- nid=25 [pin: Mic (Pink Jack)] [src: monitor] pcm2: pcm2: +-------------------------+ pcm2: | DUMPING Volume Controls | pcm2: +-------------------------+ pcm2: pcm2: clone manager: deadline=750ms flags=0x8000001e pcm2: sndbuf_setmap 3ec90000, 4000; 0xe4726000 -> 3ec90000 --huq684BweRXVnRxX-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 26 19:36:29 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 A0F5C1065670; Sat, 26 Mar 2011 19:36:29 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 23CD18FC16; Sat, 26 Mar 2011 19:36:28 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 99C091E0024E; Sat, 26 Mar 2011 20:36:27 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p2QJSdPV068186; Sat, 26 Mar 2011 20:28:39 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p2QJScuW068185; Sat, 26 Mar 2011 20:28:38 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 26 Mar 2011 20:28:38 +0100 To: freebsd-multimedia@FreeBSD.org Message-ID: <20110326192838.GA68179@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: lme@FreeBSD.org, Alexander Leidinger , freebsd-ports@FreeBSD.org Subject: some vdr intro/installation notes (watch/record/stream tv) 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: Sat, 26 Mar 2011 19:36:29 -0000 Hi, now that the vdr ports are finally committed here are some updated notes: So what is vdr? It's something like a luxury settop box/pvr on a pc to receive/watch/record/stream digital tv channels with epg (electronic program guide), timers, client/server networking, webinterface etc pp. So if you have a FreeBSD (or Linux, but that's not covered here :) server you can add one or more dvb/atsc tuner(s) connected to a satellite dish, cable tv or just a dvb-t antenna (or receive iptv streams without a tuner if your isp provides those tho I don't know if anyone tested `real' iptv on FreeBSD yet), browse/search epg, set timers for automated or manual recordings, and watch the streams/recordings elsewhere on your lan. Or if you have a FreeBSD desktop you can also connect a tuner there and do it all on one box - or just run a vdr client like vdr-sxfe (installed by the multimedia/vdr-plugin-xineliboutput port) or a client vdr instance using the streamdev-client plugin connected to a (possibly Linux) vdr server elsewhere on your lan. So if your isp doesn't provide iptv, https://secure.wikimedia.org/wikipedia/en/wiki/IPTV (german info page: http://www.iptv-anbieter.info/ ) then you'll need a dvb tuner (or atsc, tho I have no idea if anyone tested that with vdr on FreeBSD yet) with corresponding v4l/dvb (`v4b') drivers, in most cases that means an usb tuner supported by the webcamd port: http://www.freshports.org/multimedia/webcamd And finally, if you want to compare vdr to other existing ports, it's a bit like mythtv - only most Linux users _I_ know prefer vdr over mythtv. :) (and vdr also doesn't use a rdbms so you don't have to worry about mysql etc.) ----snip---previous-notes-with-minor-updates:------- I started with jpulz' vdr 1.7.14 patches: (now updated to 1.7.17) ftp://ftp.frm2.tum.de/pub/jpulz/VDR/ ftp://ftp.frm2.tum.de/pub/jpulz/pictures/ and made q&d ports of those and of a few more plugins and two webinterfaces so I can now use FreeBSD as a pc hdtv dvb-s2 and also dvb-t dvr. Note: vdr 1.7.17 is the development branch so expect bugs! (I mostly used it because the stable branch (1.6) doesn't support dvb-s2 and h264...) FreeBSD notes: 0. See my earlier threads on the freebsd-multimedia list about webcamd and the usb dvb-s2 and dvb-t tuners I tested; the relevant webcamd ports and frieds have been updated now so you _should_ be able to just use those. (dvb-c or atsc(?) tuners should also work as long as webcamd supports them and there aren't other bugs.) Links to the more important posts are also here: http://people.freebsd.org/~nox/dvb/ 1. Before you start installing these ports either mount an extra fs with enough space for the recordings on /video or create a video dir elsewhere where there is space, symlink it to /video and make it writable for the vdr user. (or if you do have one big / then you can create the dir on there too of course, I just disabled the mkdir in the port to avoid inadvertently filling up ppl's small / fs.) Or if you don't like a symlink you can also add your video dir as -v to vdr's startup args, see below. 2. There is a multimedia/vdr-plugins metaport that allows you to select and install the plugins you want (and vdr itself as a dependency), so you don't have to install numerous vdr/plugin ports individually. 3. I have rc.d scripts for vdr and vdradmin-am but even if you use those you still need to add plugins and their options similar to this to your /etc/rc.conf: ---snip---- # vdr vdr_flags="'-Pxineliboutput --local=none --remote=127.1:37890' \ -Pskinenigmang -Pfemon -Posdpip \ '-Posdteletext --cache-system=packed --max-cache=128' \ -Pstreamdev-server '-Plive -i127.1' -Pepgsearch -Pcontrol \ -Pinfosatepg -Piptv '-Pupnp -i lo0'" ---snip---- look in the README.s of the individual plugin ports for any needed options. (should get installed below /usr/local/share/doc/vdr*) And if you want vdr to start at boot (instead of just manually by doing: /usr/local/etc/rc.d/vdr onestart ) you need to set: vdr_enable="YES" too of course. And for vdradmin_am its: vdradmind_enable="YES" If you want to start vdr manually in the foreground instead you need to be root (or the vdr user but vdr also drops to the vdr uid itself if started as root), and then run it like: vdr '-Pxineliboutput --local=none --remote=127.1:37890' -Pskinenigmang -Pfemon -Posdpip '-Posdteletext --cache-system=packed --max-cache=128' -Pstreamdev-server '-Plive -i127.1' -Pepgsearch -Pcontrol -Pinfosatepg -Piptv '-Pupnp -i lo0' 4. Of all the video output methods only xineliboutput and streamdev seem to work (and the vdr-live webinterface browser streaming which also uses streamdev), jpulz also has patches for softdevice so I made a port for that too but it only gave me a black screen... streamdev doesn't have an osd so you probably want xineliboutput at least for the first setup. I only very recently was able to test xineliboutput's vdpau/vaapi support and it turned out I had to add patches to the libxine port, so if you want to use that make sure it and ffmpeg are up to date and built with the VDPAU and VAAPI knobs on. To test vdpau you can try something like: (vdr-sxfe gets installed by the xineliboutput plugin port) vdr-sxfe --hotkeys --video=vdpau --post tvtime:method=use_vo_driver,use_progressive_frame_flag=1 --audio=oss --reconnect xvdr+tcp://127.1 if that looks jerky or doesn't work with hd material maybe your card cannot handle the default vdpau deinterlacing method, you can change that in ~/.xine/config_xineliboutput, for an `old' ION I use: video.output.vdpau_deinterlace_method:half temporal And vaapi is used via xv, just for nvidia this needs the multimedia/vdpau-video port installed (other cards I think we don't have support for yet), and in ~/.xine/config_xineliboutput video.processing.ffmpeg_enable_vaapi should not be set to 0: vdr-sxfe --hotkeys --video=xv --post=tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 --audio=oss --reconnect xvdr+tcp://127.1:37890 An overview of which nvidia cards support which vdpau feature is here: http://www.mythtv.org/wiki/VDPAU On the radeon here using xorg 7.4's video-ati driver with the same xineliboutput xv settings but without vaapi vdr-sxfe as well as all other players I tested that knew the xvdr protocol (xineliboutput with osd) can also play h264 hd channels on this PhenomII box after the ffmpeg updates last year(?), with the only exception of kaffeine that still has issues with h264 1080i streams when deinterlacing is enabled: xine "xvdr://127.0.0.1#nocache" kaffeine "xvdr+tcp://127.0.0.1:37890" /usr/local/kde4/bin/kaffeine "xvdr+tcp://127.0.0.1:37890" (kaffeine also has no provision for vdr keyboard control...) If you don't use vdpau (I think that conflicts with compositing) you can now also try compositing and running vdr-sxfe with --hud for a somewhat nicer rendered osd, --video opengl (and vdpau as mentioned) support is now also in the build. Btw I use software volume control with xineliboutput (Setup -> Plugins -> xineliboutput -> Volume control in the osd) because selecting `hardware' there doesn't work so well with snd(4)'s volume-per-channel feature (hint.pcm.X.vpc, which also in fact is software) that I want to keep enabled for other apps... And in case you didn't know about this snd(4) feature you can read more here: http://people.freebsd.org/~ariff/SOUND_4.TXT.html You can also use other players like mplayer or totem/gstreamer (incluing the totem browser plugin invoked by the vdr-live webinterface), only those don't know the xvdr protocol and thus wont display an osd: mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:37890/ totem http://127.0.0.1:37890/ (or using streamdev: mplayer -mc 10 -cache 8192 -demuxer lavf http://127.0.0.1:3000/302 totem http://127.0.0.1:3000/302 - channel 302 is arte hd in my channels.conf.) 5. And if you want to try out the xbmc port that recently has been committed with live tv via vdr you can do that too even tho it is not the pvr-testing2 branch, you just won't get the fast channel switching etc you'd get via the vnsi protocol (that I also ported the plugin for but couldn't test it) - watching live channels and recordings done by vdr (possibly scheduled via webinterface) is still possible. Just make sure you run vdr with the streamdev-server plugin enabled and that it is listening on the vdr-to-vdr server port (thats 2004 and may be disabled by default, see in the osd under Setup -> Plugins -> streamdev-server.) Then in xbmc you can add vdr streamdev as a video source either via the gui or manually by putting something like this in ~/.xbmc/userdata/mediasources.xml: vtp://127.0.0.1:2004/ Note you'll have to add the /video dir to xbmc seperately via the filesystem (possibly using nfs when remote) if you want to be able to play recordings from xbmc (or test the upnp plugin with xbmc but that is still alpha and at least atm also cannot stream h264 recordings.) 6. Unless you want to get lirc or the (experimental) FreeBSD uhid(4) patches in the vdr remote plugin working first (and your remote has enough buttons for vdr, some of those coming with dvb tuners are really quite `minimal', see below), you probably will at least initially want to use keyboard control. I have included an example remote.conf for vdr-sxfe and the multimedia/vdr-plugin-control plugin that you can access by telnet (default port is 2002), I have put the menu button on the tab and insert keys and OK on the return key, see /usr/local/etc/vdr/remote.conf for the full keybindings list. (If you start vdr in the foreground and keep that shell open you should be able to use that for keyboard control also, the control plugin just gives you an osd too over telnet.) And if you use xine xine "xvdr://127.0.0.1#nocache" instead of vdr-sxfe vdr-sxfe --video=xv --hotkeys --audio=oss xvdr+tcp://127.0.0.1:37890 you probably want to use a ~/.xine/keymap that includes vdr controls, I've put mine here: http://people.freebsd.org/~nox/dvb/xine/keymap and the xineliboutput plugin port now also installs it under: /usr/local/share/examples/vdr-plugin-xineliboutput/xine/keymap Oh and the webinterfaces have point-and-click remotes too but those are pretty clunky to use... 7. And for those that want to use lirc: See the comms/lirc port's pkg-message for its setup notes, they can be shown like this: pkg_info -D lirc\* |less Once you have verified that irw correctly reports buttons pressed on the remote you can start vdr with --lirc, if the osd then doesn't prompt you to assign buttons on the remote stop vdr and do: touch /usr/local/etc/vdr/channels.conf and/or remove previous lirc-related entries out of /usr/local/etc/vdr/remote.conf . I think the minimal buttons you need to assign for vdr are menu, back, ok, the cursor buttons (up, down, left, right), the digits (0-9), and the colours (red, green, yellow, blue) - and you probably also want at least volume up/down/mute and buttons to invoke the audio channel and subtitle submenus. (and next on the list are record, play, pause, stop, fast forward, rewind.) See /usr/local/share/doc/vdr/MANUAL for more info. Once the remote.conf is setup for lirc you can also start vdr-sxfe with --lirc instead of passing --lirc to vdr itself so you can use the remote to control other apps when vdr-sxfe isn't running (like xbmc), otherwise vdr would be interpreting the buttons all the time. Or you can disable lirc control temporarily in vdr by invoking: svdrpsend.pl remo off and enable it again by: svdrpsend.pl remo on - see here for some other things you can control that way: http://www.linuxtv.org/vdrwiki/index.php/SVDRP 8. The example /usr/local/etc/vdr/channels.conf is the one that comes with the vdr sources, its for Astra 19.2E and a little outdated (also doesn't have hd channels yet), if you receive something else and don't want to go hunting for a suitable channels.conf on the web you can use the multimedia/w_scan port. Remember to use -o7 for vdr 1.7.x, see the w_scan(1) manpage and its homepage for options and examples: http://wirbel.htpc-forum.de/w_scan/index_en.html (the w_scan start script hasn't been ported to FreeBSD yet.) Also note you probably will only need to use w_scan once initially, this vdr version by default should look for new transponders itself when it does its epg scan during idle times unles you disable that feature. And if you install the iptv plugin and want to test it with some internet streams if your isp dosn't provide `real' iptv (or you just want to be able to press `r'ecord while watching web streams like nasatv), you can merge example /usr/local/etc/vdr/channels.conf entries from here: /usr/local/share/examples/vdr-plugin-iptv/channels.conf.iptv (I don't have `real' iptv here so that's all I can test. Also don't expect 100% performance with these examples, live transcoding streams to mpeg-ts that vdr expects still is kinda fragile and sometimes needs to be manually restarted by e.g. hitting OK (return) in the channel list (c) before it works, and startup is usually slow too... Transcoding uses vlc with those examples, you can see vlc's messages if you start vdr in the foreground instead of via the rc.d script as explained above. Also see /usr/local/etc/vdr/plugins/iptv and /usr/local/etc/vdr/plugins/iptv/vlcinput and the plugin homepage: http://www.saunalahti.fi/~rahrenbe/vdr/iptv/ for configurations. And there seems to be a `feature' that sometimes causes vdr to start receiving streams without anyone watching/recording just because the iptv plugin is enabled, the `fix' for that is the IPTVPATCH option in the vdr port.) 9. I ported two webinterfaces because I only learned about vdr-live later which seems to be faster and uses fewer resources meaning you could probably turn a pretty wimpy box into a vdr server as long as you keep the actual watching (especially of h264 hd) to a faster box connected over the network. (or use something like vdpau.) The vdr-plugin-live webinterface by default listens on port 8008: http://127.1:8008/ Default login/pw is admin/live as also mentioned in: /usr/local/share/doc/vdr-plugin-live/README vdradmin_am listens on 8001: http://127.1:8001/ Default login/pw for that is vdr/vdr. And the streamdev-server plugin has a (simple) webinterface too if you point a browser at it: (instead of a player) http://127.1:3000/ 10.I may have forgot some other manual installation steps, if you notice something just post a followup... Most of vdr's own configuration including plugins should be available in the osd under `Setup', some things like allowed hosts/subnets for network plugins need to be manually configured under /usr/local/etc/vdr/plugins tho. And here are some links about vdr and the plugins and webinterfaces I made ports for: 0. vdr 1.7.17: http://www.tvdr.de/ http://www.linuxtv.org/vdrwiki/index.php/Main_Page See also /usr/local/share/doc/vdr/MANUAL and the vdr(1) manpage. 1. xineliboutput-1.0.90s20110308.2305 cvs snapshot: http://sourceforge.net/projects/xineliboutput/ http://www.linuxtv.org/vdrwiki/index.php/Xineliboutput-plugin /usr/local/share/doc/vdr-plugin-xineliboutput/README 2. streamdev-0.5.1: http://streamdev.vdr-developer.org/ http://www.linuxtv.org/vdrwiki/index.php/Streamdev-plugin /usr/local/share/doc/vdr-plugin-streamdev/README 3. live-0.2.0s20110303 git snapshot: http://live.vdr-developer.org/ /usr/local/share/doc/vdr-plugin-live/README 4. live also depends on cxxtools and tntnet which I also had to port: http://www.tntnet.org/cxxtools.html http://www.tntnet.org/index.html 5. epgsearch-0.9.25b20s20110221 git snapshot: http://winni.vdr-developer.org/epgsearch/index_eng.html http://www.linuxtv.org/vdrwiki/index.php/Epgsearch-plugin 6. femon-1.7.7: http://www.saunalahti.fi/~rahrenbe/vdr/femon/ http://www.linuxtv.org/vdrwiki/index.php/Femon-plugin /usr/local/share/doc/vdr-plugin-femon/README 7. osdpip-0.1.0: http://projects.vdr-developer.org/projects/show/plg-osdpip http://www.linuxtv.org/vdrwiki/index.php/Osdpip-plugin /usr/local/share/doc/vdr-plugin-osdpip/README 8. osdteletext-0.9.0: http://projects.vdr-developer.org/projects/show/plg-osdteletext http://www.linuxtv.org/vdrwiki/index.php/Osdteletext-plugin /usr/local/share/doc/vdr-plugin-osdteletext/README 9. skinenigmang-0.1.1: http://andreas.vdr-developer.org/enigmang/index.html http://www.vdr-wiki.de/wiki/index.php/Skinenigmang-plugin (sorry for de in the second link but at least there are pics...) /usr/local/share/doc/vdr-plugin-skinenigmang/README 10. softdevice 0.5.0 cvs snapshot from 20100414: http://softdevice.berlios.de/ http://www.linuxtv.org/vdrwiki/index.php/Softdevice-plugin /usr/local/share/doc/vdr-plugin-softdevice/README 11. control-0.0.2a-45yavdr1 with ubuntu yavdr patches: (and a patch by me to fix a segfault on vdr exit) http://ricomp.de/vdr/down_en.html http://www.linuxtv.org/vdrwiki/index.php/Control-plugin /usr/local/share/doc/vdr-plugin-control/README 12. vdradmin_am-3.6.7: http://andreas.vdr-developer.org/vdradmin-am/ /usr/local/share/doc/vdradmin-am/README 13. infosatepg-0.0.11: http://projects.vdr-developer.org/projects/show/plg-infosatepg http://vdr-wiki.de/wiki/index.php/Infosatepg-plugin My post including notes about how I got it receiving and using the infosat epg data quickly: http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-July/011158.html 14. remote-0.4.0: (with experimental FreeBSD uhid(4) support, some notes are in the port's pkg-descr) http://escape-edv.de/endriss/vdr http://www.linuxtv.org/vdrwiki/index.php/Remote-plugin /usr/local/share/doc/vdr-plugin-remote/README 15. iptv-0.4.2: http://www.saunalahti.fi/~rahrenbe/vdr/iptv/ /usr/local/share/doc/vdr-plugin-iptv/README 16. vnsiserver-0.0.2s20100808.0952: http://www.vdr-wiki.de/wiki/index.php/Vnsi-server-plugin http://www.vdr-portal.de/board/thread.php?threadid=95292 (sorry about the german but as I said this is only useful with the xbmc pvr-testing2 branch anyway and its untested too.) /usr/local/share/doc/vdr-plugin-vnsiserver/README 17. upnp-0.0.2a2 (alpha!) with a few bugfixes done by me: http://upnp.vdr-developer.org/ http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-January/011531.html /usr/local/share/doc/vdr-plugin-upnp/README TROUBLESHOOTING: - If vdr behaves strangely check syslog (/var/log/messages) for hints as to what might be the problem. - If vdr crashes/exits at start check permissions of files/dirs it needs write access to (below /usr/local/etc/vdr, /var/cache/vdr, /video) - If you want to stop vdr exiting when e.g. it can't tune a channel scheduled for recording change the osd setting `Setup -> Miscellaneous -> Emergency exit'. - Small bug: if playback of a recording doesn't start try pressing Green. (or F6 with my example remote.conf keyboard mapping.) - More help is available e.g. at the vdr wiki: http://www.linuxtv.org/vdrwiki/ the vdr mailinglist: http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr (I think you need to be subscribed to be able to post) and a (nicer) archive of it: http://dir.gmane.org/gmane.linux.vdr And there also is the mostly german-language vdr portal: http://vdr-portal.de/ and I think I saw at least a russian-language vdr webforum too. (tho I don't speak russian.) TODO: (Help highly welcome!) - The ports still could use quite some cleanup work, also to make upgrading them or adding new plugins easier. (I just didn't want to delay committing them any longer...) - Submit the rest of the non-hacky FreeBSD patches back to the individual upstream maintainers (that should be pretty much all of the patches for *.[ch] source files, only Makefile/configure scripts patches less so.) - Someone(tm) may want to write a `real' step-by-step guide how to get a FreeBSD vdr going... (preferably someone who has never used vdr before to make sure important stuff I never think about isn't left out.) - Port more plugins that people might want to use... Enjoy, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 26 21:55:15 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 7801A106564A for ; Sat, 26 Mar 2011 21:55:15 +0000 (UTC) (envelope-from user.vdr@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3192D8FC0C for ; Sat, 26 Mar 2011 21:55:15 +0000 (UTC) Received: by iyj12 with SMTP id 12so2862869iyj.13 for ; Sat, 26 Mar 2011 14:55:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=nvxv917rcGhXm4n+LaP9ntbLX0FeawsO2fKMQpvO7K4=; b=nDH26qlngDuTU9am/KEhq+0cT6tKt+2Qkl/wsiniYNGxxRPJQZ8eLWC4hyFTyEgvj5 ovstQtEX27mk/2cyeGKC5Eb6B6bufFDBcgwLOTXFsB/ozIAABxBRChEEayvmhDs1RAew 4zGivhI5vV+9WDSOl1SP5XFEC+4Th0ms1fn/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UXA1xVpTq0oyhNI7cDbnZwVCu0YDHci10y2uagHiLewR040QNEKawv3WUoSfXCP9/+ COBWuTKb+nHvzSxaiOe+mIYbqzl18sngjGfkz3pOL3HhFqGhpU5RCgskeHMaHN8knPhB Zjoh6Nb/xqODq6EempRzlrWzLn19iylJGRzZY= MIME-Version: 1.0 Received: by 10.231.61.18 with SMTP id r18mr2329806ibh.71.1301176512885; Sat, 26 Mar 2011 14:55:12 -0700 (PDT) Received: by 10.231.206.82 with HTTP; Sat, 26 Mar 2011 14:55:12 -0700 (PDT) In-Reply-To: <20110326192838.GA68179@triton8.kn-bremen.de> References: <20110326192838.GA68179@triton8.kn-bremen.de> Date: Sat, 26 Mar 2011 14:55:12 -0700 Message-ID: From: VDR User To: Juergen Lock Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, lme@freebsd.org, freebsd-ports@freebsd.org, Alexander Leidinger Subject: Re: some vdr intro/installation notes (watch/record/stream tv) 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: Sat, 26 Mar 2011 21:55:15 -0000 There are a few things I'd like to comment on..... On Sat, Mar 26, 2011 at 12:28 PM, Juergen Lock wro= te: > =C2=A0So what is vdr? =C2=A0It's something like a luxury settop box/pvr o= n a pc > to receive/watch/record/stream digital tv channels with epg (electronic > program guide), timers, client/server networking, webinterface etc pp. > So if you have a FreeBSD (or Linux, but that's not covered here :) > server you can add one or more dvb/atsc tuner(s) connected to a > satellite dish, cable tv or just a dvb-t antenna (or receive iptv > streams without a tuner if your isp provides those tho I don't know > if anyone tested `real' iptv on FreeBSD yet), browse/search epg, > set timers for automated or manual recordings, and watch the > streams/recordings elsewhere on your lan. =C2=A0Or if you have a FreeBSD > desktop you can also connect a tuner there and do it all on one > box - or just run a vdr client like vdr-sxfe (installed by the > multimedia/vdr-plugin-xineliboutput port) or a client vdr instance > using the streamdev-client plugin connected to a (possibly Linux) > vdr server elsewhere on your lan. It should be noted that VDR was not designed to be a server/client system. While it's technically possible to use it that way, keep in mind that each client will not have it's own access to OSD, timers, etc. Although server/client systems are widely popular these days, I wouldn't expect this kind of major change to happen to VDR any time soon. When and if it ever does, it's going to take a lot of work. Unfortunately I don't recall VDR's author (Klaus Schmidinger) ever expressing interest in this. > =C2=A0Note: vdr 1.7.17 is the development branch so expect bugs! > (I mostly used it because the stable branch (1.6) doesn't support > dvb-s2 and h264...) There are patches for the latest "stable" branch (1.6.x) which add support for dvb-s2 and h264. The 1.6.x was considered final a long time ago and hasn't/won't receive any updates. All development is done in the current 1.7.x branch. Although VDR has both a "stable" and "developer" branch, users should be aware that the developer branch is easily as stable as the stable branch. It's by far the users preferred branch of choice. Nobody should have any worries about running a developer version. The only time I personally run the stable branch is inbetween the closure of the last developer branch and beginning of the next. In other words, I've always ran the newest version and in all the years of doing this, I can count on one finger how many times there was a stability issue. > 1. Before you start installing these ports either mount an extra > =C2=A0 fs with enough space for the recordings on /video or create a > =C2=A0 video dir elsewhere where there is space, symlink it to /video > =C2=A0 and make it writable for the vdr user. =C2=A0(or if you do have on= e > =C2=A0 big / then you can create the dir on there too of course, I just > =C2=A0 disabled the mkdir in the port to avoid inadvertently filling > =C2=A0 up ppl's small / fs.) > > =C2=A0 Or if you don't like a symlink you can also add your video dir > =C2=A0 as -v to vdr's startup args, see below. You can create the default dirs and using them directly, use symlinks to map the default dirs to dirs elsewhere, remap the defaults by editing Makefile, or simply override the defaults using command line options as you've mentioned. I've set my system up so everything VDR/dvb-related goes into /dvb. This makes it very convenient and easy to maintain and archive. Additionally I make use of symlinks such as /vdr which is always linked to the latest VDR version, /pluginsrc which always takes me to /vdr/PLUGINS/src, and so on. If you're a run-and-forget user then it may not matter much but if you tinker a lot then you might consider a similar setup -- you'll have a much easier time navigating around the dirs. > 3. I have rc.d scripts for vdr and vdradmin-am but even if you > =C2=A0 use those you still need to add plugins and their options similar > =C2=A0 to this to your /etc/rc.conf: You can automate most of the stuff required to run VDR, and everything else can be put in a .conf somewhere for the stuff that can't. I've found this extremely useful and worth looking into for any level user. > 4. Of all the video output methods only xineliboutput and streamdev > =C2=A0 seem to work (and the vdr-live webinterface browser streaming whic= h > =C2=A0 also uses streamdev), jpulz also has patches for softdevice so I m= ade > =C2=A0 a port for that too but it only gave me a black screen... =C2=A0st= reamdev > =C2=A0 doesn't have an osd so you probably want xineliboutput at least fo= r > =C2=A0 the first setup. Users also have the option of using vdr-xine, which is an alternative to xineliboutput. I'm only aware of a few differences between them, none of which have any real significance to me but the vdr-xine author, Reinhard Nissl, is an active developer of xine-lib's vdpau support as well. I've never used xineliboutput myself because of Rnissl's accessibility and status as a xine-lib vdpau contributor. The user bases for both vdr-xine and xineliboutput seem to be pretty evenly matched from what I've seen. > =C2=A0 I only very recently was able to test xineliboutput's vdpau/vaapi > =C2=A0 support and it turned out I had to add patches to the libxine > =C2=A0 port, so if you want to use that make sure it and ffmpeg are up > =C2=A0 to date and built with the VDPAU and VAAPI knobs on. =C2=A0To test > =C2=A0 vdpau you can try something like: (vdr-sxfe gets installed by > =C2=A0 the xineliboutput plugin port) With vdr-xine no patching is necessary as long as you using xine-lib-1.2 hg revision 11658 (hash 3501e0a6f75c) or newer. I recommend using this regardless as it contains items necessary for VDR-1.7.17's new truecolor OSD support. > =C2=A0 =C2=A0 =C2=A0 =C2=A0vdr-sxfe --hotkeys --video=3Dvdpau --post tvti= me:method=3Duse_vo_driver,use_progressive_frame_flag=3D1 --audio=3Doss --re= connect xvdr+tcp://127.1 > > =C2=A0 if that looks jerky or doesn't work with hd material maybe your > =C2=A0 card cannot handle the default vdpau deinterlacing method, you > =C2=A0 can change that in ~/.xine/config_xineliboutput, for an `old' > =C2=A0 ION I use: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0video.output.vdpau_deinterlace_method:half tem= poral Your ion1 should be able to handle temporal, as mine does. Using half temporal shouldn't be necessary. > =C2=A0 If you don't use vdpau (I think that conflicts with compositing) > =C2=A0 you can now also try compositing and running vdr-sxfe with --hud IIRC, the compositing issue was resolved some nvidia driver versions ago. You may want to confirm this however at: www.nvnews.net > 7. And for those that want to use lirc: =C2=A0See the comms/lirc port's Note: LIRC users do _not_ need the remote plugin. > - If vdr crashes/exits at start check permissions of files/dirs it > =C2=A0needs write access to (below /usr/local/etc/vdr, /var/cache/vdr, /v= ideo) If you've remapped the defaults, then those dirs, which may not be the ones you've mentioned, need to be writable. > - Small bug: =C2=A0if playback of a recording doesn't start try pressing = Green. > =C2=A0(or F6 with my example remote.conf keyboard mapping.) I've never heard of this bug. Could you elaborate? > - Someone(tm) may want to write a `real' step-by-step guide how to > =C2=A0get a FreeBSD vdr going... =C2=A0(preferably someone who has never > =C2=A0used vdr before to make sure important stuff I never think about > =C2=A0isn't left out.) I haven't gotten around to giving freebsd+vdr a try yet but when I do I'll definitely be writing a howto which I'll be more then happy to share. It will however be geared towards a vdpau based system unless for some reason I decide to change from that, which isn't likely. And lastly I would like to point out that a small patch is required to VDR's core to get North American dvb-s AC3 audio working. From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 26 23:49:51 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 C8B5C106566B; Sat, 26 Mar 2011 23:49:51 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 492298FC13; Sat, 26 Mar 2011 23:49:51 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2FBF01E000C9; Sun, 27 Mar 2011 00:49:50 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p2QNi73Y088231; Sun, 27 Mar 2011 00:44:07 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p2QNi6r7088230; Sun, 27 Mar 2011 00:44:06 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 27 Mar 2011 00:44:06 +0100 To: VDR User Message-ID: <20110326234406.GB73041@triton8.kn-bremen.de> References: <20110326192838.GA68179@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, lme@freebsd.org, Juergen Lock , freebsd-ports@freebsd.org, Alexander Leidinger Subject: Re: some vdr intro/installation notes (watch/record/stream tv) 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: Sat, 26 Mar 2011 23:49:52 -0000 On Sat, Mar 26, 2011 at 02:55:12PM -0700, VDR User wrote: > There are a few things I'd like to comment on..... > > On Sat, Mar 26, 2011 at 12:28 PM, Juergen Lock wrote: > >  So what is vdr?  It's something like a luxury settop box/pvr on a pc > > to receive/watch/record/stream digital tv channels with epg (electronic > > program guide), timers, client/server networking, webinterface etc pp. > > So if you have a FreeBSD (or Linux, but that's not covered here :) > > server you can add one or more dvb/atsc tuner(s) connected to a > > satellite dish, cable tv or just a dvb-t antenna (or receive iptv > > streams without a tuner if your isp provides those tho I don't know > > if anyone tested `real' iptv on FreeBSD yet), browse/search epg, > > set timers for automated or manual recordings, and watch the > > streams/recordings elsewhere on your lan.  Or if you have a FreeBSD > > desktop you can also connect a tuner there and do it all on one > > box - or just run a vdr client like vdr-sxfe (installed by the > > multimedia/vdr-plugin-xineliboutput port) or a client vdr instance > > using the streamdev-client plugin connected to a (possibly Linux) > > vdr server elsewhere on your lan. > > It should be noted that VDR was not designed to be a server/client > system. While it's technically possible to use it that way, keep in > mind that each client will not have it's own access to OSD, timers, > etc. Although server/client systems are widely popular these days, I > wouldn't expect this kind of major change to happen to VDR any time > soon. When and if it ever does, it's going to take a lot of work. > Unfortunately I don't recall VDR's author (Klaus Schmidinger) ever > expressing interest in this. > Hm well yeah it could still be better but what is there is not soo bad. > >  Note: vdr 1.7.17 is the development branch so expect bugs! > > (I mostly used it because the stable branch (1.6) doesn't support > > dvb-s2 and h264...) > > There are patches for the latest "stable" branch (1.6.x) which add > support for dvb-s2 and h264. The 1.6.x was considered final a long > time ago and hasn't/won't receive any updates. All development is > done in the current 1.7.x branch. Although VDR has both a "stable" > and "developer" branch, users should be aware that the developer > branch is easily as stable as the stable branch. It's by far the > users preferred branch of choice. Nobody should have any worries > about running a developer version. The only time I personally run the > stable branch is inbetween the closure of the last developer branch > and beginning of the next. In other words, I've always ran the newest > version and in all the years of doing this, I can count on one finger > how many times there was a stability issue. > Well thats even better then. :) (I also had few issues.) > > 1. Before you start installing these ports either mount an extra > >   fs with enough space for the recordings on /video or create a > >   video dir elsewhere where there is space, symlink it to /video > >   and make it writable for the vdr user.  (or if you do have one > >   big / then you can create the dir on there too of course, I just > >   disabled the mkdir in the port to avoid inadvertently filling > >   up ppl's small / fs.) > > > >   Or if you don't like a symlink you can also add your video dir > >   as -v to vdr's startup args, see below. > > You can create the default dirs and using them directly, use symlinks > to map the default dirs to dirs elsewhere, remap the defaults by > editing Makefile, or simply override the defaults using command line > options as you've mentioned. I've set my system up so everything > VDR/dvb-related goes into /dvb. This makes it very convenient and > easy to maintain and archive. Additionally I make use of symlinks > such as /vdr which is always linked to the latest VDR version, > /pluginsrc which always takes me to /vdr/PLUGINS/src, and so on. If > you're a run-and-forget user then it may not matter much but if you > tinker a lot then you might consider a similar setup -- you'll have a > much easier time navigating around the dirs. > Well I tried to at least somewhat adhere to hier(7)... > > 3. I have rc.d scripts for vdr and vdradmin-am but even if you > >   use those you still need to add plugins and their options similar > >   to this to your /etc/rc.conf: > > You can automate most of the stuff required to run VDR, and everything > else can be put in a .conf somewhere for the stuff that can't. I've > found this extremely useful and worth looking into for any level user. > Well passing plugin args is automated on Linux often but I didn't try to port those scripts, wanted to keep things simple... (editing rc.conf I think is easy enough?) > > 4. Of all the video output methods only xineliboutput and streamdev > >   seem to work (and the vdr-live webinterface browser streaming which > >   also uses streamdev), jpulz also has patches for softdevice so I made > >   a port for that too but it only gave me a black screen...  streamdev > >   doesn't have an osd so you probably want xineliboutput at least for > >   the first setup. > > Users also have the option of using vdr-xine, which is an alternative > to xineliboutput. I'm only aware of a few differences between them, > none of which have any real significance to me but the vdr-xine > author, Reinhard Nissl, is an active developer of xine-lib's vdpau > support as well. I've never used xineliboutput myself because of > Rnissl's accessibility and status as a xine-lib vdpau contributor. > The user bases for both vdr-xine and xineliboutput seem to be pretty > evenly matched from what I've seen. > I actually tried to port vdr-xine too more out of curiosity but only got netvdr:// `working' at all, and it was a slow slideshow. Probably some linuxism that I missed... Yeah I should shar that up so others can take a look. Ok just did: http://people.freebsd.org/~nox/dvb/xine/vdr-plugin-xine-slideshow.shar > >   I only very recently was able to test xineliboutput's vdpau/vaapi > >   support and it turned out I had to add patches to the libxine > >   port, so if you want to use that make sure it and ffmpeg are up > >   to date and built with the VDPAU and VAAPI knobs on.  To test > >   vdpau you can try something like: (vdr-sxfe gets installed by > >   the xineliboutput plugin port) > > With vdr-xine no patching is necessary as long as you using > xine-lib-1.2 hg revision 11658 (hash 3501e0a6f75c) or newer. I > recommend using this regardless as it contains items necessary for > VDR-1.7.17's new truecolor OSD support. > So xine-lib 1.2 is recommendable yet? I was so far trying to stick to 1.1.19 release + patches since other FreeBSD ports use libxine too and I know nothing at all about the 1.2 branch and how stable it is... :) > >        vdr-sxfe --hotkeys --video=vdpau --post tvtime:method=use_vo_driver,use_progressive_frame_flag=1 --audio=oss --reconnect xvdr+tcp://127.1 > > > >   if that looks jerky or doesn't work with hd material maybe your > >   card cannot handle the default vdpau deinterlacing method, you > >   can change that in ~/.xine/config_xineliboutput, for an `old' > >   ION I use: > > > >        video.output.vdpau_deinterlace_method:half temporal > > Your ion1 should be able to handle temporal, as mine does. Using half > temporal shouldn't be necessary. > Ok I should check that. Hmm no, a 1080i recording of `Servus TV Hockey night' I did for testing deinterlacing looks `jumpy' with temporal when there is more motion. Maybe things have improved in libxine 1.2? > >   If you don't use vdpau (I think that conflicts with compositing) > >   you can now also try compositing and running vdr-sxfe with --hud > > IIRC, the compositing issue was resolved some nvidia driver versions > ago. You may want to confirm this however at: www.nvnews.net > Oh, well I think I only got a black window when I tried --hud, guess I should look again. (Atm I disabled compositing because it interfered with hd video playback too.) > > 7. And for those that want to use lirc:  See the comms/lirc port's > > Note: LIRC users do _not_ need the remote plugin. > Yes. > > - If vdr crashes/exits at start check permissions of files/dirs it > >  needs write access to (below /usr/local/etc/vdr, /var/cache/vdr, /video) > > If you've remapped the defaults, then those dirs, which may not be the > ones you've mentioned, need to be writable. > True, tho if you install from ports may want to stick to the hier(7)-compatible defaults? > > - Small bug:  if playback of a recording doesn't start try pressing Green. > >  (or F6 with my example remote.conf keyboard mapping.) > > I've never heard of this bug. Could you elaborate? > It mostly happens with short recordings that were already played before... I think. (Tho I also yesterday saw it with vdpau on a longer recording, for the first time.) > > - Someone(tm) may want to write a `real' step-by-step guide how to > >  get a FreeBSD vdr going...  (preferably someone who has never > >  used vdr before to make sure important stuff I never think about > >  isn't left out.) > > I haven't gotten around to giving freebsd+vdr a try yet but when I do > I'll definitely be writing a howto which I'll be more then happy to > share. It will however be geared towards a vdpau based system unless > for some reason I decide to change from that, which isn't likely. > That would be nice. > And lastly I would like to point out that a small patch is required to > VDR's core to get North American dvb-s AC3 audio working. > Oh, if you have a link for that... :) Thanx! Juergen