[mythtv-users] problems with live TV (at program boundary)

Cal Collins cal.collins at gmail.com
Fri Jan 7 03:47:01 UTC 2011


Yuri (or anyone else),

I am having the same problem you reported -  at the end of every program in
LiveTV I get 'Error opening switch program buffer' and mythtv quits from
livetv back to the main menu. Did you ever find a resolution? Is anyone else
experiencing this problem?

I had not had this problem until upgrading to 0.24 (mythbuntu 10.10) a few
weeks ago (actually I had to do a full reinstall then restore the database).
The input is firewire from a motorola DCX-3200. Frontend and backend are
same machine, a PowerSpec V100 Celeron ® D Processor 356, 3.33 GHz and 2GB
RAM.

The only other reference I found to this problem is here, but it doesn't
really provide an answer:
http://www.gossamer-threads.com/lists/mythtv/commits/416842

My mythbackend log is very similar to yours. The mythfrontend log is as
follows:

2011-01-06 22:00:02.758 ALSA, Error: WriteAudio: buffer underrun
2011-01-06 22:00:03.772 Player(0), Warning: Waited 100ms for decoder to
pause
2011-01-06 22:00:03.872 Player(0), Warning: Waited 100ms for decoder to
pause
2011-01-06 22:00:03.923 [ac3 @ 0x7fc557f345e0]incomplete frame
2011-01-06 22:00:06.068
RingBuf(/media/mythtv/recordings/7621_20110106220000.mpg
) Error: OpenFile(): File too small (0B).
2011-01-06 22:00:06.068 Player(0), Error: SwitchToProgram's OpenFile failed
(car
d type: FIREWIRE).
2011-01-06 22:00:06.069
LiveTVChain has 2 entries
* FIREWIRE: 7621 (21:32:24 to 22:00:01) discontinuous
  FIREWIRE: 7621 (22:00:00 to 23:00:00)

2011-01-06 22:00:06.123 Player(0), Error: Unknown recorder error, exiting
decode
r
2011-01-06 22:00:06.377 TV: Attempting to change from WatchingLiveTV to None
2011-01-06 22:00:06.882 Trying 1360x768 0.000 Hz
2011-01-06 22:00:06.888 SwitchToGUI: Switched to 1360x768 0.000 Hz
2011-01-06 22:00:07.326 TV: Changing from WatchingLiveTV to None
2011-01-06 22:00:07.369 TV: Attempting to change from None to None
2011-01-06 22:00:07.420 TV: Attempting to change from None to WatchingLiveTV
2011-01-06 22:00:07.421 MythCoreContext: Connecting to backend server:
192.168.2
.160:6543 (try 1 of 1)
2011-01-06 22:00:07.422 Using protocol version 63
2011-01-06 22:00:07.470 Spawning LiveTV Recorder -- begin
2011-01-06 22:00:07.603 Spawning LiveTV Recorder -- end
2011-01-06 22:00:07.612 We have a
playbackURL(/media/mythtv/recordings/7621_2011
0106220007.mpg) & cardtype(DUMMY)
2011-01-06 22:00:07.612 We have a RingBuffer
2011-01-06 22:00:07.614 playCtx, Error: Attempting to setup a player, but it
already exists.
2011-01-06 22:00:07.614 TV Error: LiveTV not successfully started



Thanks,
Cal



  12. problems with live TV (at program boundary) (Yuri Shirman)
> ------------------------------
>
> Message: 12
> Date: Fri, 24 Sep 2010 18:19:35 -0700
> From: Yuri Shirman <yshirman at gmail.com>
> Subject: [mythtv-users] problems with live TV (at program boundary)
> To: mythtv-users at mythtv.org
> Message-ID: <201009241819.35678.yshirman at gmail.com>
> Content-Type: Text/Plain;  charset="us-ascii"
>
> Hi,
> I am running mythtv with backend and frontend on the same machine using
> firewire input. Everything works great except for a weird problem with Live
> TV
> when a TV program ends. Myth attempts to switch to the following program on
> the same channel and then quits. The frontend gives me "Error opening
> switch
> program buffer". In the meantime, mythbackend creates two mpg files in the
> recorinds directory however, the file sizes remain zero.
>
> In the log I see messages like
> 2010-09-24 00:00:06.416 LFireDev(001E5AFFFEACA5D5), Warning: No Input in
> 1050
> msec...
> 2010-09-24 00:00:06.441 LFireDev(001E5AFFFEACA5D5): ResetBus() -- begin
> 2010-09-24 00:00:06.495 LFireDev(001E5AFFFEACA5D5): ResetBus() -- end
> 2010-09-24 00:00:06.525 LFireDev(001E5AFFFEACA5D5): SignalReset(6->7)
> 2010-09-24 00:00:06.559 LFireDev(001E5AFFFEACA5D5): SignalReset(6->7):
> Updating device \
> list -- begin
> 2010-09-24 00:00:07.269 LFireDev(001E5AFFFEACA5D5): SignalReset(6->7):
> Updating device \
> list -- end
>
> But also messages to the effect that "external tuner program exited with no
> errors" (in attempts to fix it I tried used firewire priming scripts to
> change
> the program).
>
> If, instead, the next program is scheduled for recording (instead of me
> simply
> watching it as live TV), mythbackend switches without any problem and
> allows
> me to continue watching.
>
> Any help with fixing this would be appreciated.
>
> Thanks,
> Yuri
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> End of mythtv-users Digest, Vol 90, Issue 89
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110106/8d037983/attachment.htm>


More information about the mythtv-users mailing list