[mythtv] DBOX2 LiveTV troubles (latest SVN)

John C cold at confusi0n.net
Thu Jan 12 21:56:49 UTC 2006


Thanks for that i'll give it a go. Just having trouble now with certain
channels and the following error:

2006-01-12 17:48:39.620 AFD: Opened codec 0x8b64390, id(MPEG2VIDEO)
type(Video) 2006-01-12 17:48:39.621 AFD: Opened codec 0x8b2f5b0,
id(MP3) type(Audio) 2006-01-12 17:48:39.621 AFD: Audio Track #1 is A/V
stream #0 and has 0 channels in the English language(6647399).

Repeated over and over again. Crazy stuff.

Cheers again,

John



On Wed, 11 Jan 2006 23:06:59 -0000
"Tim" <tim at gibberish.me.uk> wrote:

> You also might be interested in this change in dbox2recorder.cpp.
> 
> If there is a partial read of a TS packet the recorder spins hard
> using much more CPU than it needs.
> 
> Here is a temporary fix, but I guess a poll would be better.
> 
> @@ -517,30 +543,39 @@
>  
>         // Check if enough data is available to process complete TS
> packet.
>         if ((stream->bufferIndex - readIndex - tsPos) < 188) {
> -           //        VERBOSE(VB_IMPORTANT, QString("DBOX#%1: TS
> header at %2 b
> t packet not yet complete.").arg(m_cardid).arg(tsPos));
> -         break;
> -       }
> +           //        VERBOSE(VB_IMPORTANT, QString("DBOX#%1: TS
> header at %2 b
> t packet not yet complete.").arg(m_cardid).arg(tsPos)); 
> +                       // lets be nice to the cpu
> +                       usleep(100);
> +                       break;
> +                       }
> 
> Once done the recorder uses about 1% of cpu on my system when
> recording instead of 20-30%.
> 
> Oh and yes I have already found the startchannel problem but I thought
> it was just my database was wrong, I had been hacking around with it
> for a while.
> 
> Tim
> 
> -----Original Message-----
> From: mythtv-dev-bounces at mythtv.org
> [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Buechler, Mark R
> Sent: 11 January 2006 21:08
> To: 'Development of mythtv'
> Subject: Re: [mythtv] DBOX2 LiveTV troubles (latest SVN)
> 
> 
> There has to be a row in cardinput where cardinput.inputname ==
> capturecard.defaultinput otherwise Myth is unable to find
> cardinput.startchan.
> 
> - Mark.
> 
> -----Original Message-----
> From: John C [mailto:cold at confusi0n.net] 
> Sent: Wednesday, January 11, 2006 10:11 AM
> To: Development of mythtv
> Subject: Re: [mythtv] DBOX2 LiveTV troubles (latest SVN)
> 
> On Tue, 10 Jan 2006 19:35:00 +0000
> John C <cold at confusi0n.net> wrote:
> 
> If anyones interested i managed to fix this by changing
> cardinput.inputname from MPEG2TS to DBOX2 for cardinputid='1'.
> 
> Dont know if this is a bug or anything but no amount of settings
> changes in mythtv-setup changed this for me, and i had to do it by
> hand.
> 
> Will post more once i get channel change to cooperate.
> 
> Cheers,
> 
> John
> 
> > Hi, just wondered if anyone has been having trouble getting LiveTV
> > to work with a dbox2 as the source. backend is changing the
> > channels on the dbox fine, and recording is also working, but
> > whenever i switch to
> 
> > livetv i get the following error:
> > 
> > 2006-01-10 19:23:27.260 TVRec(1) Error: Channel: '1' was not found
> > in the database. Most likely, your DefaultTVChannel setting is
> > wrong. Could not start livetv.
> > 
> > 
> > This is despite the fact that DefaultTVChannel actually contains
> > the value '2'. I've also tried a plethora of other values to no
> > avail.
> > 
> > If this is a problem across the board then thats fine; i'll just
> > wait until a later svn release. But if its just me, does anybody
> > have any idea what might be going wrong? Mythtv grabs the feed fine
> > for recording, it just doesn't like livetv.
> > 
> > Any input would be greatly appreciated.
> > 
> > Cheers,
> > 
> > John
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at mythtv.org 
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> 
> 
> 
> EMAIL DISCLAIMER 
> 
> Please Note: The information contained in this message may be
> privileged and confidential, protected from disclosure, and/or
> intended only for the use of the individual or entity named above. If
> the reader of this message is not the intended recipient, or an
> employee or agent responsible for delivering this message to the
> intended recipient, you are hereby notified that any disclosure,
> distribution, copying or other dissemination of this communication is
> strictly prohibited. If you received this communication in error,
> please immediately reply to the sender, delete the message and
> destroy all copies of it.
> 
> Thank You
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


More information about the mythtv-dev mailing list