From owner-freebsd-questions@FreeBSD.ORG Wed Mar 14 23:14:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BE8A1065670 for ; Wed, 14 Mar 2012 23:14:30 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9D6678FC08 for ; Wed, 14 Mar 2012 23:14:29 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 83E715C28 for ; Thu, 15 Mar 2012 09:28:00 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 356AD5C22 for ; Thu, 15 Mar 2012 09:28:00 +1000 (EST) Message-ID: <4F612515.3080803@herveybayaustralia.com.au> Date: Thu, 15 Mar 2012 09:09:09 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120311202816.GA7754@thought.org> <20120311221958.37717d66.freebsd@edvax.de> <4F5D3954.1090807@herveybayaustralia.com.au> <4F5EB08D.7090407@ShaneWare.Biz> <4F5EB36A.4090609@herveybayaustralia.com.au> <20120313210636.GD10311@thought.org> <4F5FB8CC.8080303@puresimplicity.net> <20120314021946.GA7043@thought.org> <20120314040930.8e1c3d02.freebsd@edvax.de> <4F602576.4070501@herveybayaustralia.com.au> <20120314193008.GA19731@thought.org> In-Reply-To: <20120314193008.GA19731@thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: oops, now: bsd question: how to record a tv stream? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 23:14:30 -0000 On 03/15/12 05:30, Gary Kline wrote: > On Wed, Mar 14, 2012 at 02:58:30PM +1000, Da Rock wrote: >> Date: Wed, 14 Mar 2012 14:58:30 +1000 >> From: Da Rock >> Subject: Re: oops, now: bsd question: how to record a tv stream? >> To: freebsd-questions@freebsd.org >> >> On 03/14/12 13:09, Polytropon wrote: >>> On Tue, 13 Mar 2012 19:19:46 -0700, Gary Kline wrote: >>>> i have heard about the "848" or whatever cards for years. >>>> should i have my sister's technician add one? i understood >>>> everything but your last paragraph. please do send me the >>>> links....offline i f you think it wise to spare the >>>> bandwidth. >>> Just to make a note: This is the card I'm using. The model >>> name is "Haupauge WinTV" and the tuner chip is Brooktree 878. >>> It is well supported by FreeBSD (and has been for many years). >>> A "problem" may be that it is a PCI card. >>> >>> The programs mplayer and mencoder can be used to address the >>> tuner and video-in functions of that card, as well as displaying >>> and storing the received content. You need a HF line to the >>> card (or an antenna maybe), except you provide the video feed >> >from a satelite receiver via video-in. In that case, you also >>> need to provide the audio signal from the receiver to your >>> sound card's line-in. With mencoder, both sources can be >>> "combined" and the result can be stored as a video file in >>> any format and container you want. >>> >>> This is the card: >>> >>> bktr0@pci0:0:9:0: class=0x040000 card=0x13eb0070 >>> chip=0x036e109e rev=0x11 hdr=0x00 >>> vendor = 'Conexant (Was: Brooktree Corp)' >>> device = 'Bt878/Fusion 878A Mediastream Controller' >>> class = multimedia >>> subclass = video >>> >>> The card provides HF-in both for TV and radio, video-in, >>> audio-out and... not sure what it is. :-) >>> >>> You need the kernel modules loaded per >>> >>> bktr_load="YES" >>> >>> in /boot/loader.conf, and the card will work out of the box. >>> No need to manually and interactively install a "driver". :-) >>> >>> The player command is something like >>> >>> % mplayer tv://1 -vo x11 -ao sdl -tv driver=bsdbt848:device=/dev/bktr0 >>> >>> and similarly mencoder can be used (-ovc and -oac need to be >>> adjusted accordingly) to encode to a file. >>> >>> I'm not sure how to handle TV ("antenna") input as I've always >>> been using a raw video feed (from VTR or camera). However, there's >>> documentation that may help: >>> >>> http://www.mplayerhq.hu/DOCS/HTML/en/tv-input.html >>> >>> It also contains an example to "record to file", which will >>> implement the "software video tape recoder" functionality. >> Brooktrees would be nice - if you could find them. Given the move to >> DVB is nearly over, there aren't many analog cards available - or >> need for them. >> >> The new cards use incompatible chipsets (learnt the hard way), >> including analog and especially DVB; you have to use the cx88 port >> to use them. Or if you come across a different chipset ensure the >> card is USB based and use webcamd. >> >> Following all that, FBSD works beautifully as a HTPC. > > GAAWK! This is far, far out of my comfort zone thst i wsill > just skip it for now. i have my feed from my local telco, > not an antenna.... > > thanks for all the datapoints, guys, but i can vedry well > live without the card. > > gary Sorry Gary; It wasn't entirely for your sake that this came up. For your instance I'd suggest becoming very familiar with mplayer/mencoder and friends. You can then pick up the stream and re-encode to your liking. There are some addons in web browser that can help grab the video as well.