<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
I am setting up mythtv.&nbsp; I can get clearQam channels to work fairly reliably with mythbackend and mythfrontend.&nbsp; There are a few channels that are encrypted that I need to tune with the analog tuner through the comcast DTA box.&nbsp; mplayer always works tuning the analog tuner.&nbsp; mythfrontend however rarely works.&nbsp; It works maybe 1 in 20 tries.&nbsp; Most of the time, I get the following in the log:<BR>
<BR>
2013-01-25 21:43:56.964778 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.270612 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.576202 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.881750 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.187309 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.253183 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.260630 E&nbsp; Player(0): Couldn't find an A/V decoder for: '/var/video/1003_20130126024355.mpg'<BR>
2013-01-25 21:43:58.260686 E&nbsp; Player(0): JumpToProgram failed.<BR>
2013-01-25 21:43:58.260711 E&nbsp; Player(0): Unknown recorder error, exiting decoder<BR>
<BR>
The few times that it actually worked, I can make not changes to anything at all and the next time it won't work.<BR>
<BR>
here is my frontend log:<BR>
$ mythfrontend -v<BR>
2013-01-25 21:43:47.761806 I&nbsp; Setup Interrupt handler<BR>
2013-01-25 21:43:47.761832 I&nbsp; Setup Terminated handler<BR>
2013-01-25 21:43:47.761840 I&nbsp; Setup Segmentation fault handler<BR>
2013-01-25 21:43:47.761848 I&nbsp; Setup Aborted handler<BR>
2013-01-25 21:43:47.761856 I&nbsp; Setup Bus error handler<BR>
2013-01-25 21:43:47.761864 I&nbsp; Setup Floating point exception handler<BR>
2013-01-25 21:43:47.761873 I&nbsp; Setup Illegal instruction handler<BR>
2013-01-25 21:43:47.761883 I&nbsp; Setup Real-time signal 0 handler<BR>
2013-01-25 21:43:47.761893 I&nbsp; Setup User defined signal 1 handler<BR>
2013-01-25 21:43:47.761901 I&nbsp; Setup User defined signal 2 handler<BR>
2013-01-25 21:43:47.762021 C&nbsp; mythfrontend version:&nbsp; [v0.26.0] <A HREF="http://www.mythtv.org">www.mythtv.org</A><BR>
2013-01-25 21:43:47.762029 C&nbsp; Qt version: compile: 4.8.2, runtime: 4.8.2<BR>
2013-01-25 21:43:47.762035 N&nbsp; Enabled verbose msgs:&nbsp; general<BR>
2013-01-25 21:43:47.762049 N&nbsp; Setting Log Level to LOG_INFO<BR>
2013-01-25 21:43:47.762326 N&nbsp; Using runtime prefix = /usr<BR>
2013-01-25 21:43:47.762353 N&nbsp; Using configuration directory = /home/brent/.mythtv<BR>
2013-01-25 21:43:47.762599 I&nbsp; Added logging to the console<BR>
2013-01-25 21:43:47.762558 I&nbsp; Assumed character encoding: en_US.utf8<BR>
2013-01-25 21:43:47.762656 W&nbsp; This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').<BR>
2013-01-25 21:43:47.763262 N&nbsp; Empty LocalHostName.<BR>
2013-01-25 21:43:47.763274 I&nbsp; Using localhost value of webe3<BR>
2013-01-25 21:43:47.782061 N&nbsp; Setting QT default locale to en_US<BR>
2013-01-25 21:43:47.782142 I&nbsp; Current locale en_US<BR>
2013-01-25 21:43:47.782216 N&nbsp; Reading locale defaults from /usr/share/mythtv//locales/en_us.xml<BR>
2013-01-25 21:43:47.790607 I&nbsp; Starting process manager<BR>
2013-01-25 21:43:47.790689 I&nbsp; Starting IO manager (write)<BR>
2013-01-25 21:43:47.793205 I&nbsp; Starting IO manager (read)<BR>
2013-01-25 21:43:47.793328 I&nbsp; Starting process signal handler<BR>
2013-01-25 21:43:47.894559 I&nbsp; ScreenSaverX11Private: DPMS is disabled.<BR>
2013-01-25 21:43:47.909090 N&nbsp; Desktop video mode: 1280x1024 60.020 Hz<BR>
2013-01-25 21:43:47.989207 I&nbsp; Added logging to mythlogserver at TCP:35327<BR>
2013-01-25 21:43:48.075034 I&nbsp; Listening on TCP 127.0.0.1:6547<BR>
2013-01-25 21:43:48.075141 I&nbsp; Listening on TCP 192.168.1.67:6547<BR>
2013-01-25 21:43:48.075272 I&nbsp; Listening on TCP [::1]:6547<BR>
2013-01-25 21:43:48.075377 I&nbsp; Listening on TCP [fe80::219:21ff:fe56:9680%eth0]:6547<BR>
2013-01-25 21:43:48.588169 I&nbsp; Loading en_us translation for module mythfrontend<BR>
libcec.so.1: cannot open shared object file: No such file or directory<BR>
2013-01-25 21:43:48.602828 E&nbsp; LIRC: Failed to read config file '/home/brent/.lircrc'<BR>
2013-01-25 21:43:48.606489 E&nbsp; JoystickMenuThread: Joystick disabled - Failed to read /home/brent/.mythtv/joystickmenurc<BR>
2013-01-25 21:43:48.623683 E&nbsp; CECAdapter: Failed to load libcec.<BR>
2013-01-25 21:43:48.623756 I&nbsp; UDPListener: Enabling<BR>
2013-01-25 21:43:48.626476 I&nbsp; Binding to UDP 127.0.0.1:6948<BR>
2013-01-25 21:43:48.626630 I&nbsp; Binding to UDP 192.168.1.67:6948<BR>
2013-01-25 21:43:48.626820 I&nbsp; Binding to UDP [::1]:6948<BR>
2013-01-25 21:43:48.626984 I&nbsp; Binding to UDP [fe80::219:21ff:fe56:9680%eth0]:6948<BR>
2013-01-25 21:43:48.627135 I&nbsp; Binding to UDP 192.168.1.255:6948<BR>
2013-01-25 21:43:48.678979 I&nbsp; Using Frameless Window<BR>
2013-01-25 21:43:48.679118 I&nbsp; Using Full Screen Window<BR>
2013-01-25 21:43:48.708250 I&nbsp; Using the Qt painter<BR>
2013-01-25 21:43:49.063939 I&nbsp; Current MythTV Schema Version (DBSchemaVer): 1307<BR>
2013-01-25 21:43:49.179716 E&nbsp; RAOP Conn: Failed to read key from: /home/brent/.mythtv/RAOPKey.rsa<BR>
2013-01-25 21:43:49.255650 N&nbsp; Registering Internal as a media playback plugin.<BR>
2013-01-25 21:43:49.314057 I&nbsp; Loading en_us translation for module mythweather<BR>
2013-01-25 21:43:49.433308 N&nbsp; Found mainmenu.xml for theme 'Terra'<BR>
2013-01-25 21:43:49.781814 I&nbsp; Bonjour: Service registration complete: name 'Mythfrontend on webe3' type '_mythfrontend._tcp.' domain: 'local.'<BR>
2013-01-25 21:43:52.803301 I&nbsp; MythCoreContext: Connecting to backend server: 192.168.1.67:6543 (try 1 of 1)<BR>
2013-01-25 21:43:52.805281 I&nbsp; Using protocol version 75<BR>
2013-01-25 21:43:52.808798 I&nbsp; TV: Creating TV object<BR>
2013-01-25 21:43:52.842307 N&nbsp; Suspending idle timer<BR>
2013-01-25 21:43:52.853852 I&nbsp; TV: Created TvPlayWindow.<BR>
2013-01-25 21:43:53.013238 I&nbsp; TV: Attempting to change from None to WatchingLiveTV<BR>
2013-01-25 21:43:53.013310 I&nbsp; MythCoreContext: Connecting to backend server: 192.168.1.67:6543 (try 1 of 1)<BR>
2013-01-25 21:43:53.016403 I&nbsp; Using protocol version 75<BR>
2013-01-25 21:43:53.028128 N&nbsp; TV: Spawning LiveTV Recorder -- begin<BR>
2013-01-25 21:43:53.733905 N&nbsp; TV: Spawning LiveTV Recorder -- end<BR>
2013-01-25 21:43:53.744869 I&nbsp; TV: playbackURL(/var/video/1003_20130126024353.mpg) cardtype(DUMMY)<BR>
2013-01-25 21:43:53.887507 E&nbsp; ALSA: snd_pcm_info_get_card: Operation not permitted<BR>
2013-01-25 21:43:53.899987 N&nbsp; AudioPlayer: Enabling Audio<BR>
2013-01-25 21:43:53.918435 I&nbsp; Setup Interrupt handler<BR>
2013-01-25 21:43:53.918446 I&nbsp; Setup Terminated handler<BR>
2013-01-25 21:43:53.918584 I&nbsp; VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'<BR>
2013-01-25 21:43:53.970046 I&nbsp; OSD: Base theme size: 1280x720<BR>
2013-01-25 21:43:53.970156 I&nbsp; OSD: Scaling factors: 0.5625x0.8<BR>
greedyhdeint: size changed from 0 x 0 -&gt; 720 x 576<BR>
2013-01-25 21:43:54.027978 I&nbsp; OSD: Base theme size: 1280x720<BR>
2013-01-25 21:43:54.028001 I&nbsp; OSD: Scaling factors: 0.5625x0.8<BR>
2013-01-25 21:43:54.036602 I&nbsp; Player(0): Video timing method: USleep with busy wait<BR>
2013-01-25 21:43:54.036988 I&nbsp; TV: Created player.<BR>
2013-01-25 21:43:54.037020 I&nbsp; TV: Changing from None to WatchingLiveTV<BR>
2013-01-25 21:43:54.037029 I&nbsp; TV: State is LiveTV &amp; mctx == ctx<BR>
2013-01-25 21:43:54.037988 I&nbsp; TV: UpdateOSDInput done<BR>
2013-01-25 21:43:54.038011 I&nbsp; TV: UpdateLCD done<BR>
2013-01-25 21:43:54.038684 I&nbsp; TV: ITVRestart done<BR>
2013-01-25 21:43:54.047880 I&nbsp; TV: Main UI disabled.<BR>
2013-01-25 21:43:54.050035 I&nbsp; TV: Entering main playback loop.<BR>
2013-01-25 21:43:54.131980 I&nbsp; VideoOutput: Created YV12 OSD.<BR>
2013-01-25 21:43:56.964778 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.270612 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.576202 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:57.881750 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.187309 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.253183 W&nbsp; RingBuf(/var/video/1003_20130126024355.mpg): Taking too long to be allowed to read..<BR>
2013-01-25 21:43:58.260630 E&nbsp; Player(0): Couldn't find an A/V decoder for: '/var/video/1003_20130126024355.mpg'<BR>
2013-01-25 21:43:58.260686 E&nbsp; Player(0): JumpToProgram failed.<BR>
2013-01-25 21:43:58.260711 E&nbsp; Player(0): Unknown recorder error, exiting decoder<BR>
2013-01-25 21:43:58.312767 I&nbsp; TV: Attempting to change from WatchingLiveTV to None<BR>
2013-01-25 21:43:58.318466 I&nbsp; Setup Interrupt handler<BR>
2013-01-25 21:43:58.318508 I&nbsp; Setup Terminated handler<BR>
2013-01-25 21:43:58.990478 I&nbsp; TV: Changing from WatchingLiveTV to None<BR>
2013-01-25 21:43:58.990987 I&nbsp; TV: Exiting main playback loop.<BR>
2013-01-25 21:43:58.997700 I&nbsp; TV: Attempting to change from None to WatchingLiveTV<BR>
2013-01-25 21:43:58.997866 I&nbsp; MythCoreContext: Connecting to backend server: 192.168.1.67:6543 (try 1 of 1)<BR>
2013-01-25 21:43:58.999234 I&nbsp; Using protocol version 75<BR>
2013-01-25 21:43:59.007985 N&nbsp; TV: Spawning LiveTV Recorder -- begin<BR>
2013-01-25 21:43:59.698548 N&nbsp; TV: Spawning LiveTV Recorder -- end<BR>
2013-01-25 21:43:59.708704 I&nbsp; TV: playbackURL(/var/video/1003_20130126024359.mpg) cardtype(DUMMY)<BR>
2013-01-25 21:43:59.710958 E&nbsp; TV: LiveTV not successfully started<BR>
2013-01-25 21:43:59.711616 I&nbsp; TV: Main UI disabled.<BR>
2013-01-25 21:43:59.711638 I&nbsp; TV: Entering main playback loop.<BR>
2013-01-25 21:43:59.713923 I&nbsp; TV: Exiting main playback loop.<BR>
2013-01-25 21:43:59.786132 N&nbsp; Resuming idle timer<BR>
2013-01-25 21:44:04.507476 I&nbsp; Using protocol version 75<BR>
2013-01-25 21:44:04.510172 I&nbsp; Using protocol version 75<BR>
2013-01-25 21:44:05.517582 I&nbsp; Bonjour: De-registering service '_mythfrontend._tcp.' on 'Mythfrontend on webe3'<BR>
2013-01-25 21:44:05.518135 I&nbsp; RAOP Device: Cleaning up.<BR>
2013-01-25 21:44:05.518167 I&nbsp; AirPlay: Cleaning up.<BR>
2013-01-25 21:44:05.518208 I&nbsp; Deleting UPnP client...<BR>
2013-01-25 21:44:06.201037 I&nbsp; Waiting for threads to exit.<BR>
<A HREF="mailto:brent@webe3">brent@webe3</A>:~$ <BR>
<BR>
<BR>
here is the backend log section during that time period:<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Monitor<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: webe3 as a client (events: 0)<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Monitor<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: webe3 as a client (events: 1)<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: webe3 as a client (events: 0)<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from None to WatchingLiveTV<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:3562 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1-&gt;1<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: I TVRecEvent v4lchannel.cpp:661 (SetInputAndFormat) V4LChannel(/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1<BR>
Jan 25 21:43:53 webe3&nbsp; mythbackend[8979]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min<BR>
Jan 25 21:43:55 webe3&nbsp; mythbackend[8979]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min<BR>
Jan 25 21:43:58 webe3&nbsp; mythbackend[8979]: W DeviceReadBuffer DeviceReadBuffer.cpp:530 (Poll) DevRdB(/dev/video0): Poll took an unusually long time 2502 ms<BR>
Jan 25 21:43:58 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from WatchingLiveTV to None<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: webe3 as a client (events: 0)<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from None to WatchingLiveTV<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:3562 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1-&gt;1<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I TVRecEvent v4lchannel.cpp:661 (SetInputAndFormat) V4LChannel(/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min<BR>
Jan 25 21:43:59 webe3&nbsp; mythbackend[8979]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from WatchingLiveTV to None<BR>
Jan 25 21:44:04 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback<BR>
Jan 25 21:44:04 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: webe3 as a client (events: 0)<BR>
Jan 25 21:44:04 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer<BR>
Jan 25 21:44:04 webe3&nbsp; mythbackend[8979]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: webe3 as a remote file transfer<BR>
Jan 25 21:44:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 0 MB for 1003 at 2013-01-26T02:41:48Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:44:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 1 MB for 1003 at 2013-01-26T02:41:49Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:44:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 0 MB for 1003 at 2013-01-26T02:41:54Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:44:33 webe3&nbsp; mythbackend[8979]: I HouseKeeping housekeeper.cpp:221 (RunHouseKeeping) Running housekeeping thread<BR>
Jan 25 21:46:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 0 MB for 1003 at 2013-01-26T02:43:53Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:46:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 1 MB for 1003 at 2013-01-26T02:43:55Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:46:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:641 (SendDeleteMessages) Expiring 0 MB for 1003 at 2013-01-26T02:43:59Z =&gt; &quot;CSI: NY&quot;:Reignited<BR>
Jan 25 21:47:21 webe3&nbsp; mythbackend[8979]: N Expire autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min<BR>
Jan 25 21:49:33 webe3&nbsp; mythbackend[8979]: I HouseKeeping housekeeper.cpp:221 (RunHouseKeeping) Running housekeeping thread<BR>
Jan 25 21:54:34 webe3&nbsp; mythbackend[8979]: I HouseKeeping housekeeper.cpp:221 (RunHouseKeeping) Running housekeeping thread<BR>
<BR>
Does anyone have any ideas?&nbsp; This is driving me crazy.&nbsp; I am trying to start as simple as possible.&nbsp; I have only channel 3 set up because that is the channel the DTA box is set to.&nbsp; I have mythbackend fixed to tune channel 3.&nbsp; Like I said.&nbsp; I have seen it work a few times without changing anything.<BR>
<BR>
<BR>
</BODY>
</HTML>