From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 05:51:45 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C463716A41F for ; Sat, 26 Nov 2005 05:51:45 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by mx1.FreeBSD.org (Postfix) with SMTP id DCB0043D45 for ; Sat, 26 Nov 2005 05:51:41 +0000 (GMT) (envelope-from jakemsr@jakemsr.com) Received: (qmail 24808 invoked from network); 26 Nov 2005 05:52:10 -0000 Received: from unknown (HELO puff.jakemsr.gom) (63.111.27.87) by mail231.csoft.net with SMTP; 26 Nov 2005 05:52:10 -0000 Received: (from jakemsr@jakemsr.com) by puff.jakemsr.gom (mini_sendmail/1.3.5 16nov2003); Fri, 25 Nov 2005 21:51:40 PST (sender jakemsr@puff.jakemsr.gom) Date: Fri, 25 Nov 2005 21:51:40 -0800 From: Jacob Meuser To: freebsd-multimedia@freebsd.org Message-ID: <20051126055139.GA27863@puff.jakemsr.gom> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <200511241929.39061.nb_root@videotron.ca> <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051125131831.enpwpeysggcgkc04@netchild.homeip.net> User-Agent: Mutt/1.4.2i Subject: Re: Transcode with bktr+oss problem 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 Nov 2005 05:51:45 -0000 On Fri, Nov 25, 2005 at 01:18:31PM +0100, Alexander Leidinger wrote: > Nicolas Blais wrote: > > >Hi, > > > >With the recent upgrade to transcode-1.0.1_1 with oss support, I tried to > >record a tv show like so: > > > >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,null ^^ ^^^^ > >-g > >640x480 -y ffmpeg -F mpeg4 -o out > > > >It correctly records the video but no sound (yet I can hear it). > >(asource=external/internal tested too). yes, because you are telling transcode to ignore audio input. > >So I also tried this: > > > >transcode -i /dev/bktr0 -x bktr=norm=ntsc:vsource=tuner:asource=tuner,oss > >-g > >640x480 -y ffmpeg -F mpeg4 -o out > > > >which will correctly load the import_oss.so module but exit(1) on me. > > > >transcode v1.0.1 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg > >SNDCTL_DSP_SETFMT: Inappropriate ioctl for device > >[transcode] auto-probing source /dev/bktr0 (failed) > > I don't have a bktr card, but it looks to me as transcode tries to open the > vide input as an audio device. This seems to be wrong if I understand the > handling of bktr correctly. yes, that's what it does, because the only input defined is /dev/bktr0. you have to use the -p switch to specify an alternate audio input file. > >My bktr's sound-out is connected to my sound card's Line In (as with most > >WinTVs like mine). > > I assume you have to specify your soundcard instead of the tuner in > "asource". no, this is right, assuming the OP wants to record both video and audio from the tuner. --