From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 27 19:06:12 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 7BD562D3 for ; Fri, 27 Feb 2015 19:06:12 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 521159E0 for ; Fri, 27 Feb 2015 19:06:12 +0000 (UTC) Received: by iecrd18 with SMTP id rd18so33277237iec.8 for ; Fri, 27 Feb 2015 11:06:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dzt+1UINmwKuJEZnfuGc/aCj1IUbAGKW1pLqe/lT3Ds=; b=JWTtmvXwnqmU2txnJzH6reGPsMff0yPPU1jYzr7QbUA3o2vsbu1YvoLr9opSSe353e oMIXGD0xetJBNihKLcOdeFw2n2FnUCPetiCMjksCORdrF0FMoQbcskgNSeit2N4r0I33 bNmWyYdQbyC3SUX+gOmQGmjvh/YfwyVUl+MBQSoMkl8yzY2TTh7qLHG4RtyDfDOCB9N3 M3BQO7AsTPXWEC7SMnvTfnvCWLl8f2K9UR/4lMwq9Y+heRcH6M0EB9SkXGr7vnUN4Ehe APrASOmYSwashHfWODGG2wEtUgdxwkZF57enV5iMHDebbj4Ecyp/PuBZ22XL+nh4xHKG lMRw== MIME-Version: 1.0 X-Received: by 10.107.15.96 with SMTP id x93mr20709442ioi.75.1425063971543; Fri, 27 Feb 2015 11:06:11 -0800 (PST) Received: by 10.107.0.8 with HTTP; Fri, 27 Feb 2015 11:06:11 -0800 (PST) In-Reply-To: <54E7EDB8.9000008@herveybayaustralia.com.au> References: <54E7EDB8.9000008@herveybayaustralia.com.au> Date: Fri, 27 Feb 2015 19:06:11 +0000 Message-ID: Subject: Re: webcamd, dvb, v4l2-ctl: "device not configured" From: Tom Evans To: Da Rock Content-Type: text/plain; charset=UTF-8 Cc: freebsd-multimedia 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 19:06:12 -0000 On Sat, Feb 21, 2015 at 2:30 AM, 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:// If you're there, why go further? mplayer -dumpfile bbc1hd.ts -dumpstream -dvbin file=/path/to/channels.conf dvb://BBC1HD (I'm a little further down the "just schedule recordings and let me watch them with mplayer" DVR route ;) If you wish to feed the input directly in to ffmpeg, you need to use [stc]zap to tune the card and then read it from the frontend: ffmpeg -f mpegts -i /dev/dvb/adapter0/dvr0 -c copy out.ts I have definitely built tzap on freebsd before, but currently I'm using DVB-S2 tuners. I just tried building the zap (its now unified) from the tip of dvb-utils, but this fails now, they've added some GNU extensions... Before, it was literally: fetch ..../linuxtv-dvb-apps-tip.tar.gz tar zxf ... cd dvb-utils-*/utils/zap CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib gmake So if piqued, you could dig a little further.. Cheers Tom PS: ffmpeg is perfectly happy operating on a TS file on disk that keeps growing, use the -re (realtime) option so it chases the recording (in fact, it slows it down to process input frames in the input frame rate - same difference?)