From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 27 18:01:11 2010 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 10B58106566B for ; Tue, 27 Apr 2010 18:01:11 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 85E978FC19 for ; Tue, 27 Apr 2010 18:01:10 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1O6p5o-0005q3-SY; Tue, 27 Apr 2010 20:01:09 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Tue, 27 Apr 2010 20:01:09 +0200 From: Bernhard Froehlich To: Torfinn Ingolfsen In-Reply-To: <20100408030227.ea2637b7.torfinn.ingolfsen@broadpark.no> References: <1e534313b60b351c2e3c9e07023391d9@bluelife.at> <20100408030227.ea2637b7.torfinn.ingolfsen@broadpark.no> Message-ID: X-Sender: decke@FreeBSD.org User-Agent: RoundCube Webmail/0.4-beta X-Spam-Score: 4.2 (++++) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen wrote: > Hi, > > Ok, I have tried the mythtv 0.23 port now. The port compiles and > installs fine. > The programs mythtv-setup, mythfilldatabase and mythfrontend works > ("works" in this specific paragraph means that the program can be > started, and that navigating the menus works). [...] Content analysis details: (4.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 3.4 FH_DATE_PAST_20XX The date is grossly in the future. 2.4 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org. -0.2 AWL AWL: From: address is in the auto white-list Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Call for Testers: MythTV 0.23 for FreeBSD 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: Tue, 27 Apr 2010 18:01:11 -0000 On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen wrote: > Hi, > > Ok, I have tried the mythtv 0.23 port now. The port compiles and > installs fine. > The programs mythtv-setup, mythfilldatabase and mythfrontend works > ("works" in this specific paragraph means that the program can be > started, and that navigating the menus works). It took me a few weeks to have a closer look at the problems but I do have made progress so here I am again with some news. > General comments: > mythtv-setup: the channel scanner doesn't work with my PVR-500 card; it > tries to use "traditional" channel numbers (E5, E2, etc) for tuning, > but the driver (pvrxxx by usleep) only accepts frequencies. I've had a look at this and the driver definitely supports setting frequencies because I've found the following code in the setchannel binary of the pvrxxx driver. ioctl( tfd, TVTUNER_SETFREQ, &freq ) I currently don't know how mythtv detects the prvxxx driver but probably it is not doing it correctly and this is why it does not use the frequencies. > mythfilldatabase: works, but needs a newer version of p5-xmltv than the > one in ports for the grabber I am using (tv_grab_no_gfeed) to work. > > So you will have to set up everything manually, this time > too. p5-xmltv was already updated from sylvio@ to 0.5.53 and i've also talked to him about updating it to the latest version 0.5.57 so this will also happen in the future. Does 0.5.53 already work for you? > After configuring everything, I tried "watch TV" in mythfrontend. It > didn't work. Here are the relevant parts of /var/log/mythbackend.log: > 2010-04-08 02:45:34.621 MainServer::ANN Playback > 2010-04-08 02:45:34.621 adding: kg-fil.kg4.no as a client (events: 0) > 2010-04-08 02:45:34.623 TVRec(3): Changing from None to WatchingLiveTV > 2010-04-08 02:45:34.629 TVRec(3): HW Tuner: 3->3 > 2010-04-08 02:45:35.285 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:35.293 > > Not ivtv or pvrusb2 or hdpvr driver > > > 2010-04-08 02:45:35.293 MPEGRec(/dev/cxm0) Warning: Unable to set audio > mode > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.294 mpegrecorder.cpp:set_ctrls(): Could not set Audio > Sampling Frequency to 2 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.305 mpegrecorder.cpp:set_ctrls(): Could not set Video > Aspect ratio to 1 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.306 mpegrecorder.cpp:set_ctrls(): Could not set Audio > Encoding to 1 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.306 mpegrecorder.cpp:set_ctrls(): Could not set Audio > L2 Bitrate to 13 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.307 mpegrecorder.cpp:set_ctrls(): Could not set MPEG > Stream type to 0 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.308 mpegrecorder.cpp:set_ctrls(): Could not set Video > Average Bitrate to 4500000 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.308 mpegrecorder.cpp:set_ctrls(): Could not set Video > Peak Bitrate to 6000000 > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.309 MPEGRec(/dev/cxm0) Warning: Can't enable VBI > recording (5) > eno: Inappropriate ioctl for device (25) > 2010-04-08 02:45:35.312 AutoExpire: CalcParams(): Max required Free Space: > 2.0 GB w/freq: 15 min > 2010-04-08 02:45:35.436 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:35.439 ProgramInfo(): Updated pathname '':'' -> > '1000_20100408024535.mpg' > 2010-04-08 02:45:37.948 DevRdB(/dev/cxm0) Error: Poll giving up > > Hmm, didn't we see the same error "Not ivtv or pvrusb2 or hdpvr driver" in > the initial days of the 0.22 port too? I'm not sure yet what is going wrong there because the mythtv code in that files did not change significantly since 0.22. From the output is looks like mythtv misdetected the driver and does nonsense. I've added a patch to the mythtv port to output a few more debugging infos about the driver right after the "Not ivtv or pvrusb2 or hdpvr driver" message. So please recompile mythtv and send me the output again so that I can hopefully get a clue what is going wrong with pvrxxx. VDPAU support should already work fine since the last nvidia-driver update and I have also patched mythtv to compile with enabled v4l support now. Why? Because finally I decided to buy a Pinnacle PCTV 452e (USB) device that supports DVB-S2 and play around with webcamd to get it working in mythtv. I'll let you all know as soon as I have success. That's it for now! Happy testing. http://home.bluelife.at/ports/mythtv-cft-20100427.tar.gz -- Bernhard Froehlich http://www.bluelife.at/