Continuity counter error after a few (5-ish) minutes
Added by mathijs asdf over 10 years ago
Hello,
I've set up tvheadend on my synology nas via the synocommunity packages.
I bought a usb dvb-t receiver and installed it.
I use openELEC on my rasp-pi as a client.
I've noticed that after watching for a few minutes (about 5 or so) the quality of the feed starts to decrease and tvheadend starts showing:
Mar 07 14:55:33.294 TS: ITE 9135 Generic_1/Digitenne: 482,000 kHz/Nederland 1: Transport error indicator
Mar 07 14:55:33.294 TS: ITE 9135 Generic_1/Digitenne: 482,000 kHz/Nederland 1: MPEG2VIDEO @ #7011: Continuity counter error
Mar 07 14:55:34.943 TS: ITE 9135 Generic_1/Digitenne: 482,000 kHz/Nederland 1: Transport error indicator, 4 duplicate log lines suppressed
Mar 07 14:55:36.660 TS: ITE 9135 Generic_1/Digitenne: 482,000 kHz/Nederland 1: Transport error indicator, 6 duplicate log lines suppressed
(etc)
At first the feed shows just some minor blocks and keeps going but the longer I stay tuned in the worse it gets.
Recordings show the same behavior. Fine for about 5 minutes, but after that the quality goes down to a point where it's pretty much unwatchable. Longer recordings (over an hour or so) break to a point where VLC can't really play it properly (and VLC says it's a 28 hour recording).
If I stop the stream and start again everything seems fine, for about 5 minutes.
I've turned off full mux reception and idle scanning.
What can I do to fix it?
Replies (4)
RE: Continuity counter error after a few (5-ish) minutes - Added by Prof Yaffle over 10 years ago
Any use?
http://forum.xbmc.org/showthread.php?tid=137864
I'm sure I've seen some other tweaks that help Synology installations as well...
RE: Continuity counter error after a few (5-ish) minutes - Added by mathijs asdf over 10 years ago
Thanks for the reply!
The only thing I could find that might help in that topic was the advice to put:
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
in /etc/sysctl.conf, which I did, but to no avail.
The thread mentions that linux might upload the firmware every 60 seconds, which might cause trouble but I couldn't find how to change that behavior, nor how to check whether that is actually happening in my case.
Do you have any thoughts on how I could figure that out?
I couldn't really find any synology topics that seem related to my problem, I hope I don't just suck at searching.
Do you have any other ideas as to what might be happening? I have a hard time understanding what's going wrong, especially since the stream seems stable and fine for the first few minutes. Even after the first few minutes, turning it off briefly and turning it back on fixes the stream for a few minutes again.
Oh, I guess I forgot to mention, I run it on a DS212j.
RE: Continuity counter error after a few (5-ish) minutes - Added by Prof Yaffle over 10 years ago
You could try VLC or something directly to the tuner - that would eliminate tvheadend, at least.
The common consensus seems to be that continuity counter errors are as likely to be cabling/aerial as anything else.
The firmware reload... not sure. It's in the link, but the OP just changed his card ...
I'll see if I can find the Syno tweaks.
RE: Continuity counter error after a few (5-ish) minutes - Added by mathijs asdf over 10 years ago
I've tested the tuner with my laptop and VLC and found the same problem. After buying a new usb dvb-t tuner everything seems fixed and stable. Thanks for the help!