From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 27 11:52:06 2015 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6651664 for ; Fri, 27 Feb 2015 11:52:06 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9537CF29 for ; Fri, 27 Feb 2015 11:52:05 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 463161FE022; Fri, 27 Feb 2015 12:52:02 +0100 (CET) Message-ID: <54F05A91.2090901@selasky.org> Date: Fri, 27 Feb 2015 12:52:49 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Da Rock , freebsd-multimedia@freebsd.org Subject: Re: webcamd, dvb, v4l2-ctl: "device not configured" References: <54E7EDB8.9000008@herveybayaustralia.com.au> In-Reply-To: <54E7EDB8.9000008@herveybayaustralia.com.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 11:52:06 -0000 On 02/21/15 03:30, Da Rock wrote: > I'm trying to get something happening with ffmpeg and using the v4l > input to access a dvb card - which may well be trail blazing mind, but > there are points worth testing. However, it keeps coming back to me that > the device is not configured. Mplayer as such will work using dvb:// > > I'll be the first to admit that I'm not exactly an expert in the v4l > field (which is why I'm here). What I want to know is how I can tune the > card so that ffmpeg can then play with the stream. I know that it use > the v4l libraries and as such based on what I have read in the man and > docs says that "in theory" I should be able to control the card using > this. So I'm playing around and trying various tricks, but nothing is > working. > > I tried v4l2-ctl and it shows up my webcam just fine, but it shows > nothing else. If I then go -d /dev/dvb/adaptor0/frontend0 and use --all > or -D all I get is: > > VIDIOC_QUERYCAP: failed: Device not configured > Driver Info (not using libv4l2): > Driver name : > Card type : > Bus info : > Driver version: 0.0.0 > Capabilities : 0x00000000 > > So I'm mystified. Is this supposed to work? Or is it a loose thread on > the linux compat side like notify? > > Aside from attempting to get a tzap built (could anyone explain how to > adjust the szap Makefile in ports to do this? Change the name from > szap_s2 to something else maybe?) is there any other way to tune the > card? Preferably using perl, which would ultimately be the tool I'd use > to setup my system. > > I've tried near all the media systems, but frankly none meet my > satisfaction. Too complex, too unstable, (too lumpy, too bumpy - sound > like a Suess story :) ) just not light enough or suitable for the > environment. So I'd like to build my own without all the cruft - one > I've had in mind for some time now. Hence this endeavour. Prior there > was no ffmpeg with v4l, ffserver had faults, went to avserver but it > needed rebuilding from scratch. Now ffmpeg has v4l I thought I'd kick it > in the guts again and see... > Hi, I think libv4l2 is not used for DVB access. --HPS