From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 27 18:11:58 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 526DD106564A; Tue, 27 Apr 2010 18:11:58 +0000 (UTC) (envelope-from scjamorim@bsd.com.br) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id AE3C08FC13; Tue, 27 Apr 2010 18:11:57 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id l26so1001196fgb.13 for ; Tue, 27 Apr 2010 11:11:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.127.212 with SMTP id h20mr96791fas.89.1272391908698; Tue, 27 Apr 2010 11:11:48 -0700 (PDT) Sender: scjamorim@bsd.com.br Received: by 10.223.122.135 with HTTP; Tue, 27 Apr 2010 11:11:48 -0700 (PDT) In-Reply-To: References: <1e534313b60b351c2e3c9e07023391d9@bluelife.at> <20100408030227.ea2637b7.torfinn.ingolfsen@broadpark.no> Date: Tue, 27 Apr 2010 15:11:48 -0300 X-Google-Sender-Auth: 88a67ae075a8dc01 Message-ID: From: Sylvio Cesar Teixeira To: Bernhard Froehlich Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:11:58 -0000 2010/4/27 Bernhard Froehlich : > 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 hav= e > 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 binar= y > 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? In soon, I'll go update to version 0.5.57. > >> 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 eno: Inappropriate ioctl= for device (25) >> 2010-04-08 02:45:35.306 mpegrecorder.cpp:set_ctrls(): Could not set > Audio >> Encoding to 1 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 eno: Inappropriate ioctl= for device (25) >> 2010-04-08 02:45:35.309 MPEGRec(/dev/cxm0) Warning: Can't enable VBI >> recording (5) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 tha= t > 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 rig= ht > 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 updat= e > 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/ > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" >