[mythtv] dvb zero length record

Tom Hughes tom at compton.nu
Sat May 28 12:01:18 UTC 2005


In message <42983ACF.4040407 at treblid.dyndns.org>
          Tj NG <htpc at treblid.dyndns.org> wrote:

> Tj NG wrote:
> 
> > If you still get the above mythbackend messages after applying this
> > patch, please edit the file dvbchannel.cpp, go to line 810 and change
> > the "3000" to some larger number (maybe change it to TUNER_INTERVAL?
> > ).. I've run this patch for around 6 hrs now with 3000 and it  seems
> > to work fine for me, recordings that in theory should fail previously
> > are now recorded properly. Please tell me if this works for you, thanks.
> 
> BTW, now I'm not sure if this patch will help at all, it doesn't seem to
> be that simple, but it takes abit of time for me to get a zero byte
> recording.. Can somebody please apply the zero_dvb_test.patch, run
> mythbackend with the "-v all" option, and try to make some recordings?
> I'm still waiting for one to turn up (7 hrs of random recording is
> probably not enough), if you got one before me, please post the relevant
> section of the logs.....

I don't see how that patch will help anything either. You've moved
the Reset call that stops the SIParser to after tuning is complete
which shouldn't help - if anything it will makes things worse.

The problem (assuming you have the same problem as me) is picking up
the PMT from the old multiplex - do you have a siparser log of it
going wrong? Because that should prove whether it is getting the PMT
from the old multiplex.

Given that you need to make sure that tuning is complete before
restarting the SIParser, but the code already seems to do that
assuming that the lock detection is correct. My theory was that
the lock detection was broken which is what my patch attempted
to fix.

I've been running with my patch for two weeks now and haven't lost
anything yet...

> For me, it's easier to get a zero byte recording if you use a single
> card to record shows on different channels (i.e. 0300-0330 on channel A,
> 0330-0430 on channel B, and so on)... Set your recordings to end abit
> late also.. Thanks....

They need to be channels on different multiplexes as well so the
card has to retune to a new frequency.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/


More information about the mythtv-dev mailing list