[mythtv-users] LiveTV Fails To Start Because of Recordings? How Do I Resolve?

Bruce Perryman bperryman_us at yahoo.com
Wed Nov 28 14:14:46 UTC 2007


Thanks for the response.

I deleted all capture cards, then re-added my capture card, scanned for channels,  then attempted to watch tv. 

I'm using a Hauppauge PVR-150 and I set it as MPEG-2. I can't tell which version of ivtv is installed or if it is installed. I have no IVTV tools. I installed mythtv from packages and did not install ivtv separately. Looking in my package manager, it doesn't appear that ivtv is installed. Is that possible? In my package manager I only see ivtv source and ivtv utils versions 1.0.2-2. Should I try to manually install ivtv?

If I capture the video from the device and save it in a file, I can view the file with totem movie player. 

No channel change scripts installed that I'm aware of.

Here is the output again from my frontend and backend:

 mythfrontend -v audio,playback
2007-11-28 08:39:37.811 Using runtime prefix = /usr
2007-11-28 08:39:37.818 Gnome-Screensaver support enabled
2007-11-28 08:39:37.818 DPMS is active.
2007-11-28 08:39:37.827 New DB connection, total: 1
2007-11-28 08:39:37.831 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:39:37.831 Total desktop dim: 1680x1050, with 1 screen[s].
2007-11-28 08:39:37.833 Using all screens (currently 1)
2007-11-28 08:39:37.833 Total width = 1680, height = 1050
2007-11-28 08:39:37.838 user: 1000 effective user: 1000 before privileged thread
2007-11-28 08:39:37.838 user: 1000 effective user: 1000 after privileged thread
2007-11-28 08:39:37.838 user: 1000 effective user: 1000 run_priv_thread
2007-11-28 08:39:37.839 Current Schema Version: 1160
2007-11-28 08:39:37.839 mythfrontend version: 0.20.20070821-1 www.mythtv.org
2007-11-28 08:39:37.839 Enabled verbose msgs:  important general audio playback
2007-11-28 08:39:37.920 max_width: 1680 max_height: 1050
2007-11-28 08:39:37.984 Total desktop dim: 1680x1050, with 1 screen[s].
2007-11-28 08:39:37.985 Using all screens (currently 1)
2007-11-28 08:39:37.985 Total width = 1680, height = 1050
2007-11-28 08:39:37.985 Switching to square mode (G.A.N.T.)
2007-11-28 08:39:38.001 Using the Qt painter
2007-11-28 08:39:38.633 Joystick disabled.
2007-11-28 08:39:39.366 Loading from: /usr/share/mythtv/themes/G.A.N.T./base.xml
2007-11-28 08:39:39.380 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-11-28 08:39:39.414 Registering Internal as a media playback plugin.
2007-11-28 08:39:41.646 New DB connection, total: 2
2007-11-28 08:39:41.646 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:39:41.667 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2007-11-28 08:39:41.668 Using protocol version 31
2007-11-28 08:39:41.712 TV: Attempting to change from None to WatchingLiveTV
2007-11-28 08:39:41.712 Using protocol version 31
2007-11-28 08:39:42.002 LiveTVChain(live-Hosana-2007-11-28T08:39:41): ReloadAll(): Added new recording
2007-11-28 08:39:42.003 RingBuf(/var/lib/mythtv/recordings/1001_20071128083941.mpg): OpenFile(/var/lib/mythtv/recordings/1001_20071128083941.mpg, 12)
2007-11-28 08:39:48.503 RingBuf(/var/lib/mythtv/recordings/1001_20071128083941.mpg): Invalid file (fd -1) when opening '/var/lib/mythtv/recordings/1001_20071128083941.mpg'.
2007-11-28 08:39:48.503 RingBuf(/var/lib/mythtv/recordings/1001_20071128083941.mpg): CalcReadAheadThresh(1 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2007-11-28 08:39:48.519 DPMS Deactivated 
2007-11-28 08:40:28.506 TV Error: StartRecorder() -- timed out waiting for recorder to start
2007-11-28 08:40:28.506 TV Error: LiveTV not successfully started
2007-11-28 08:40:28.530 TV: Deleting TV Chain in destructor
2007-11-28 08:40:28.531 DPMS Reactivated.

more mythbackend.log
2007-11-28 08:38:55.476 Using runtime prefix = /usr
2007-11-28 08:38:55.492 New DB connection, total: 1
2007-11-28 08:38:55.518 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:38:55.520 Current Schema Version: 1160
Starting up as the master server.
2007-11-28 08:38:55.567 New DB connection, total: 2
2007-11-28 08:38:55.580 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:38:55.582 EITHelper: localtime offset -5:00:00 
2007-11-28 08:38:55.600 New DB connection, total: 3
2007-11-28 08:38:55.601 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:38:55.740 New DB scheduler connection
2007-11-28 08:38:55.741 Connected to database 'mythconverg' at host: localhost
2007-11-28 08:38:57.121 Main::Registering HttpStatus Extension
2007-11-28 08:38:57.122 mythbackend version: 0.20.20070821-1 www.mythtv.org
2007-11-28 08:38:57.123 Enabled verbose msgs:  important general
2007-11-28 08:38:57.123 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-11-28 08:38:57.124 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-11-28 08:38:57.773 Reschedule requested for id -1.
2007-11-28 08:38:57.810 Scheduled 0 items in 0.0 = 0.03 match + 0.01 place
2007-11-28 08:38:57.836 Seem to be woken up by USER
2007-11-28 08:39:25.299 MainServer::HandleAnnounce Monitor
2007-11-28 08:39:25.305 adding: Hosana as a client (events: 0)
2007-11-28 08:39:25.305 MainServer::HandleAnnounce Monitor
2007-11-28 08:39:25.306 adding: Hosana as a client (events: 1)
2007-11-28 08:39:41.668 MainServer::HandleAnnounce Monitor
2007-11-28 08:39:41.679 adding: Hosana as a client (events: 0)
2007-11-28 08:39:41.681 MainServer::HandleAnnounce Monitor
2007-11-28 08:39:41.684 adding: Hosana as a client (events: 1)
2007-11-28 08:39:41.712 MainServer::HandleAnnounce Playback
2007-11-28 08:39:41.720 adding: Hosana as a client (events: 0)
2007-11-28 08:39:41.746 TVRec(1): Changing from None to WatchingLiveTV
2007-11-28 08:39:41.752 TVRec(1): HW Tuner: 1->1
2007-11-28 08:39:42.015 MPEGRec(/dev/video0) Error: Error getting codec params u
sing old IVTV ioctl
                        eno: Bad address (14)
2007-11-28 08:39:42.022 MPEGRec(/dev/video0) Warning: MPEG Layer1 does not work 
properly with ivtv driver. 
                        Using MPEG layer 2 audio instead.
2007-11-28 08:39:42.022 MPEGRec(/dev/video0) Error: Could not set MPEG controls 
2 through 0.
                        eno: Numerical result out of range (34)
2007-11-28 08:40:28.507 TVRec(1): Changing from WatchingLiveTV to None
2007-11-28 08:40:28.516 Finished recording Unknown: channel 1001




Nick Morrott <knowledgejunkie at gmail.com> wrote: On 26/11/2007, Bruce Perryman  wrote:
> My apologies for the lack of information and thank you for responding.
>
> I'm running a combined backend/frontend mythbuntu installation from packages
> contained within ubuntu 7.10 based on mythtv 0.20.
>
> It was previously running. It may have something to do with audio settings
> in recording. I have included some more information below from a post that I
> made before which contains some information from the backend log file.
> Thanks again for your help and for responding!
>
> 2007-11-22 07:23:07.702 MainServer::HandleAnnounce Monitor
> 2007-11-22 07:23:07.717 adding: Hosana as a client (events: 0)
> 2007-11-22 07:23:07.718 MainServer::HandleAnnounce Monitor
> 2007-11-22 07:23:07.718 adding: Hosana as a client (events: 1)
> 2007-11-22 07:23:07.762 MainServer::HandleAnnounce Playback
> 2007-11-22 07:23:07.772 adding: Hosana as a client (events: 0)
> 2007-11-22 07:23:07.781 TVRec(1): Changing from None to WatchingLiveTV
> 2007-11-22 07:23:07.788 TVRec(1): HW Tuner: 1->1
> 2007-11-22 07:23:08.156 MPEGRec(/dev/video0) Error: Error getting codec
> params u
> sing old IVTV ioctl
>                         eno: Bad address (14)
> 2007-11-22 07:23:08.165 MPEGRec(/dev/video0) Warning: MPEG Layer1 does not
> work
> properly with ivtv driver.
>                         Using MPEG layer 2 audio instead.
> 2007-11-22 07:23:08.166 MPEGRec(/dev/video0) Error: Could not set MPEG
> controls
> 2 through 0.
>                         eno: Numerical result out of range (34)
> 2007-11-22 07:23:17.914 TVRec(1): Changing from WatchingLiveTV to None

My suggestion would be to go back into mythtvsetup and select 'Delete
all capture cards' on the Capture Cards page. Re-add your card(s)
making sure your ivtv-based PVR card is configured as a hardware
MPEG-2 card (and leave the audio settings alone).

If this doesn't help, please list the capture cards you have in the
machine and the version of ivtv that you are using.

Do you have any channel-change/capture card scripts being called when
recordings start that may be interfering with the ivtv driver?

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071128/3980a4d4/attachment.htm 


More information about the mythtv-users mailing list