From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 20 17:07:05 2007 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 B872516A500 for ; Thu, 20 Dec 2007 17:07:05 +0000 (UTC) (envelope-from mathew.kanner@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5C86713C447 for ; Thu, 20 Dec 2007 17:07:02 +0000 (UTC) (envelope-from mathew.kanner@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so304568pyb.3 for ; Thu, 20 Dec 2007 09:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:from; bh=Xl7iYa2H4ngtpABcgs/gIRQoKTwtVTiz9sYRntRUAb4=; b=cpzvTVNui+mzNUpYIyilQ3sluRVGsWQVxJvcPSU0aolzzsYPMx0CtBvmrHpj3bVOOJJwjgAKR9EG0nMyCqEX5aS2SqdwozkZKjZxeU3iULEnd5a6rdJsEIInhws2xkc9leGDXO4msWybva4IU/XG/Jhwx4v0g30OsULh4EVjdag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:organization:from; b=CmoT+37ycwmaUeVCMelaRn2frv6X0c2qFUOAfmhWiKwzUNefKn6CNaRE+NnOGrpupoqFnroMAErppx6/Pu8NP8zwiKFNcE3pfc18ycsD526glXKecGA6dlQZmbwvugoI9y5VGIZsRZF523mI0pvR9dYa45xPtZ6o55wNBhNAZB8= Received: by 10.65.61.5 with SMTP id o5mr360789qbk.50.1198168851573; Thu, 20 Dec 2007 08:40:51 -0800 (PST) Received: from localhost ( [74.57.16.159]) by mx.google.com with ESMTPS id f14sm4494323qba.2007.12.20.08.40.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Dec 2007 08:40:49 -0800 (PST) Date: Thu, 20 Dec 2007 11:40:47 -0500 To: Danny Pansters Message-ID: <20071220164047.GD52400@tube5.mine.nu> References: <200712191659.28032.danny@ricin.com> <20071219230002.GC52400@tube5.mine.nu> <200712200324.13345.danny@ricin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712200324.13345.danny@ricin.com> User-Agent: Mutt/1.4.2.3i Organization: I speak for myself, operating in Montreal, CANADA From: User Mat Cc: freebsd-multimedia@freebsd.org, User Mat Subject: Re: PVR-150 on 6-STABLE: success and mini HOWTO 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: Thu, 20 Dec 2007 17:07:05 -0000 On Dec 19, Danny Pansters wrote: > On Thursday 20 December 2007 00:00:02 you wrote: > > On Dec 19, Danny Pansters wrote: > > > I just completed setting up my brand new Hauppauge PVR-150 (MCE I think) > > > on 6.2-STABLE using the newish port from usleep. All this info can be > > > found, but it is scattered, so I thought it might be useful to put > > > together a short step by step guide: > > > > (I'm becoming active again). > > > > It also works on 7 and 8 with the attached patch. Tuning works > > best by frequency. Once I choose s-video or composite input, I > > can't switch back to the tuner. > > I get that too (reload of kernel module needed), and using -m panics the > kernel. I didn't see my own reply to the thread, maybe because it had an attachment. Another easy way to panic the system is to open a second instance of the device, it will play for a couple of seconds and then panic, I've always been in X so I miss the error message. I'm not sure what the best fix is, I mean, concurrent access at the device level is nice, but mutual exclusion will probably by much easier to implement. > > > I'm also kinda working on mythtv, I've got the latest built, but > > it's failing at probing the inputs of the card (the version in the > > ports works at that part, but fails to get schedules). I've never > > used mythtv so I don't have reference to a working version. > > I'm mostly interested in integrating pvr support into kbtv, with embedded > mplayer if need to (12% wcpu). I have not heard of ktv. I'll take a look tonight. I made a little progress on mythtv, it now download the tv listings from schedules direct but the backend refuses to start-up the capture card. I think I've located the problem to the some autoprobing of the cards inputs, I have some hacks that I will try tonight. > > > For now, I'm using a slightly hacked version of the devel version > > of mpegcat (multimedia/gopchop) to split the mpeg stream on the > > hour. I intend to send those patches to the author, they are > > trivial. > > > > --Mat > > For (video) viewing, mpeg2dec (over sdl) also works, but that's without any > audio stream playing yet. I record to a file, and split every hour, I use a script to softlink the current file to a file called NOW. I play using 'tail -F NOW | mplayer -vf pp=lb -cache 5000 -'. Or playing the file directly makes fastfowrard-rewind works, however, when playing a file directly it's exists at EOF instead of pausing like it does when reading from stdin. I wonder how hard it would be hack that in... PVR-150 (and 250) interlace the video, so the de-interlacer is required for nice looking output. --Mat