[mythtv-users] Please help a newb! DVB / Prebuffer time out / mythfrontend dies

Jon Whitear mythtv at whitear.org
Thu Mar 11 20:04:49 EST 2004


I'm using MythTV 0.14, installed from the gentoo ebuild. When I watch live
TV or a recording, mythfrontend immediately dies - I get returned to the
console, with a 'killed' response. The mythfrontend log shows many
'prebuffer timed out' errors (mythfrontend log attached below.)

Mythbackend seems quite happy, and recordings work OK (I see a preview in
the 'watch a recording' screen, albeit rather slow and jerky.) I get the
same behaviour with live TV and recordings.

I am using a Via EPIA M1000 board with a VisionPlus (TwinHan) DVB-T card
and Gentoo 2004.0 with the 2.6.1-epia kernel. I can capture a stream using
dvbstream and play it in mplayer (using ALSA) just fine. My display
manager is KDE 3.2, and I have tried disabling artsd with no effect. I
have tried disabling (within MythTV) the CLE266 hardware MPEG decoder,
also with no effect. I have both native ALSA support and native arts
support uncommented in my settings.pro file (along with DVB and CLE266
support.)

Has anyone seen this before? If not, what's the best way to proceed.
Should I recompile and run it throught the debugger? My apologies for the
repeat post - I'm so close to getting it running after two months!


2004-03-12 08:50:05 Registering Internal as a media playback plugin.
2004-03-12 08:50:05 generating cache image for:
/usr/share/mythtv/themes/default/blank.png
2004-03-12 08:51:30 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
2004-03-12 08:51:30 20      MYTH_PROTO_VERSION 1
2004-03-12 08:51:30 Using protocol version 1
2004-03-12 08:51:30 24      ANN Playback teleputer 0
2004-03-12 08:51:30 21      QUERY_RECORDINGS Play
2004-03-12 08:51:30 20      MYTH_PROTO_VERSION 1
2004-03-12 08:51:30 Using protocol version 1
2004-03-12 08:51:30 24      ANN Playback teleputer 1
2004-03-12 08:51:32 Estimated bitrate = 256000
Input #0, mpeg, from
'/var/media/captures/2_20040311203000_20040311210000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2004-03-12 08:51:32 waiting for prebuffer...
2004-03-12 08:51:32 prebuffer wait timed out..
2004-03-12 08:51:32 waiting for prebuffer...
2004-03-12 08:51:32 prebuffer wait timed out..
2004-03-12 08:51:32 Estimated bitrate = 256000
Input #0, mpeg, from
'/var/media/captures/2_20040311203000_20040311210000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2004-03-12 08:51:32 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:33 prebuffer wait timed out..
2004-03-12 08:51:33 waiting for prebuffer...
2004-03-12 08:51:34 Estimated bitrate = 256000
2004-03-12 08:51:34 prebuffer wait timed out..
2004-03-12 08:51:34 waiting for prebuffer...
Input #0, mpeg, from
'/var/media/captures/2_20040311203000_20040311210000.nuv':
  Stream #0.0: Video: mpegvideo_via, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2004-03-12 08:51:34 Position map found
2004-03-12 08:51:34 Opening OSS audio device '/dev/dsp'.
2004-03-12 08:51:34 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2004-03-12 08:51:34 prebuffer wait timed out..
2004-03-12 08:51:34 waiting for prebuffer...


> I've got MythTV 0.14 installed using the gentoo ebuild. When I try to
> watch live TV, or a recorded show, I just get a blank screen. Usually
> mythfrontend dies. Shows seem to record OK (i.e. the files are large.) I
> can play MPEG files (captured using dvbstream) using mplayer without
> problems. I don't know where to start troubleshooting this, as I can't see
> any obvious errors.
>
> Mythbackend shows this:-
>
> Starting up as the master server.
> 2004-03-11 08:44:37 DVB#0 Using DVB card 0, with frontend DST TERR.
> 2004-03-11 08:44:37 DVB#0 Trying to tune to channel 10.
> 2004-03-11 08:44:37 DVB#0 WARNING - Unsupported constellation parameter.
> 2004-03-11 08:44:37 DVB#0 Frequency: 219500000. BW:7Mhz HP:Auto LP:Auto
> C:64 TM:8K H:None GI:1/16
> 2004-03-11 08:44:39 DVB#0 Waiting for frontend event after tune.
> 2004-03-11 08:44:39 DVB#0 Status: CARRIER | VITERBI | SIGNAL | SYNC |
> LOCK.
> 2004-03-11 08:44:39 DVB#0 Successfully tuned to channel 10.
> 2004-03-11 08:44:39 mythbackend version: 0.14.20040123-1 www.mythtv.org
> 2004-03-11 08:44:39 Enabled verbose msgs :all
> --- print list start ---
> Title                 Chan  ChID  StartTime       S I C  C R O N Priority
> Total
> ---  print list end  ---
> 2004-03-11 08:44:41 Found changes in the todo list.
> 2004-03-11 08:47:02 12      ACCEPT[]:[]1
> 2004-03-11 08:47:02 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:02 adding: teleputer as a client (events: 0)
> 2004-03-11 08:47:02 2       OK
> 2004-03-11 08:47:02 24      5[]:[]127.0.0.1[]:[]6543
> 2004-03-11 08:47:02 12      ACCEPT[]:[]1
> 2004-03-11 08:47:02 12      ACCEPT[]:[]1
> 2004-03-11 08:47:02 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:02 adding: teleputer as a client (events: 1)
> 2004-03-11 08:47:02 2       OK
> 2004-03-11 08:47:02 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:02 adding: teleputer as a client (events: 0)
> 2004-03-11 08:47:02 2       OK
> 2004-03-11 08:47:02 91
> rbuf://127.0.0.1:6543/var/media/buffer/ringbuf5...
> 2004-03-11 08:47:02 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:02 adding: teleputer as a client (events: 0)
> 2004-03-11 08:47:02 2       OK
> 2004-03-11 08:47:02 adding: teleputer as a remote ringbuffer
> 2004-03-11 08:47:02 2       OK
> 2004-03-11 08:47:02 Changing from None to WatchingLiveTV
> 2004-03-11 08:47:02 Using profile 'Live TV' to record
> 2004-03-11 08:47:02 DVB#0 Recorder: Card opened successfully.
> 2004-03-11 08:47:02 DVB#0 Adding pid 650, type 0
> 2004-03-11 08:47:02 2       ok
> 2004-03-11 08:47:02 DVB#0 Adding pid 512, type 1
> 2004-03-11 08:47:02 1       1
> 2004-03-11 08:47:02 5       29.97
> Videostream: ASPECT: 16:9  Size = 704x576  FRate: 25 fps  BRate: 15.00
> Mbit/s
> Audiostream: Layer: 1  BRate: 224 kb/s  Freq: 32.0 kHz
> 2004-03-11 08:47:02 6       128000
> 2004-03-11 08:47:02 7       0[]:[]0
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:03 6       128000
> 2004-03-11 08:47:04 6       128000
> 2004-03-11 08:47:04 8       0[]:[]35
> 2004-03-11 08:47:04 79
> 0[]:[]0[]:[]0[]:[]0[]:[]0[]:[]14[]:[]0[]:[]4302...
> 2004-03-11 08:47:04 Changing from WatchingLiveTV to None
> Unable to write to client socket, as it's no longer there
> 2004-03-11 08:47:30 12      ACCEPT[]:[]1
> 2004-03-11 08:47:30 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:30 adding: teleputer as a client (events: 0)
> 2004-03-11 08:47:30 2       OK
> 2004-03-11 08:47:30 1337    4[]:[]Le Journal[]:[] []:[] []:[]
> []:[]11[]:[]1...
> 2004-03-11 08:47:31 12      ACCEPT[]:[]1
> 2004-03-11 08:47:31 MainServer::HandleAnnounce Playback
> 2004-03-11 08:47:31 adding: teleputer as a client (events: 1)
> 2004-03-11 08:47:31 2       OK
>
> Mythfrontend shows this:-
>
> 2004-03-11 08:47:23 mythfrontend version: 0.14.20040123-1 www.mythtv.org
> 2004-03-11 08:47:23 Enabled verbose msgs :all
> mythtv: could not connect to socket
> mythtv: Connection refused
> lirc_init failed for mythtv, see preceding messages
> 2004-03-11 08:47:24 Registering Internal as a media playback plugin.
> 2004-03-11 08:47:24 generating cache image for:
> /usr/share/mythtv/themes/default/blank.png
> 2004-03-11 08:47:30 Connecting to backend server: 127.0.0.1:6543 (try 1 of
> 5)
> 2004-03-11 08:47:30 20      MYTH_PROTO_VERSION 1
> 2004-03-11 08:47:30 Using protocol version 1
> 2004-03-11 08:47:30 24      ANN Playback teleputer 0
> 2004-03-11 08:47:30 21      QUERY_RECORDINGS Play
> 2004-03-11 08:47:31 20      MYTH_PROTO_VERSION 1
> 2004-03-11 08:47:31 Using protocol version 1
> 2004-03-11 08:47:31 24      ANN Playback teleputer 1
> 2004-03-11 08:47:33 Estimated bitrate = 256000
> Input #0, mpeg, from
> '/var/media/captures/10_20040310200000_20040310203000.nuv':
>   Stream #0.0: Video: mpeg2video, 704x576, 25.00 fps
>   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
> 2004-03-11 08:47:33 waiting for prebuffer...
> 2004-03-11 08:47:34 Estimated bitrate = 256000
> 2004-03-11 08:47:34 prebuffer wait timed out..
> 2004-03-11 08:47:34 waiting for prebuffer...
> 2004-03-11 08:47:34 prebuffer wait timed out..
> Input #0, mpeg, from
> '/var/media/captures/10_20040310200000_20040310203000.nuv':
>   Stream #0.0: Video: mpegvideo_via, 704x576, 25.00 fps
>   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
> 2004-03-11 08:47:34 Position map found
> 2004-03-11 08:47:34 Opening OSS audio device '/dev/dsp'.
> 2004-03-11 08:47:34 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
>
> The lirc errors are there becuase I haven't got as far as configuring lirc
> yet. I'm using an EPIA M10000 with Gentoo and KDE3.2. I have compiled in
> support for the CLE266 hardware MPEG decoder, but I get the same results
> whether it is enabled or not. As always, any help is greatly appreciated.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>



More information about the mythtv-users mailing list