Call for Testers: MythTV 0.23 for FreeBSD

Sylvio Cesar Teixeira sylvio at FreeBSD.org
Tue Apr 27 18:11:58 UTC 2010


2010/4/27 Bernhard Froehlich <decke at freebsd.org>:
> On Thu, 08 Apr 2010 03:02:27 +0200, Torfinn Ingolfsen
> <torfinn.ingolfsen at broadpark.no> 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?

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
>>                         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/
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe at freebsd.org"
>


More information about the freebsd-multimedia mailing list