Project

General

Profile

hdhomerun & nsa320

Added by Simon Goodall over 11 years ago

I'm looking at setting up TVHeadend (v3.4 tag in git repo) on an NSA-320 running arch linux using an hdhomerun network tuner. I've managed to compile both the hdhomerun software and tvheadend and can make recordings / watch tv.

Unfortunately the tv content is unusable with a large number of "Continuity counter error" messages and occasional EOVERFLOW errors. Bumping up my network buffer limits helped a little, but generally results in all my free ram being used up for the buffers, then once all used I hit the continuity errors again.

I have tried changing the buffer size in dvb_adapter.c from the default 188 * 10 to 188 * 30. This resolves my continuity and EOVERFLOW messages and avoids the ram being used up for the buffers. However, my image is still largely corrupted. The first few seconds are ok, but then the image degrades. At the same time I start to see "DTS discontinuity" errors and audio stops after the first message. Increasing the buffer size further in dvb_adapter does not help with this problem.

Any suggestions on where to look next?

One odd thing I have noticed is there is consistent write activity to my root filesystem (currently on a usb key) while recording. However my recordings dir is on the internal disks. Could it be related?

Thanks,

Simon


Replies (1)

RE: hdhomerun & nsa320 - Added by Simon Goodall over 11 years ago

After coming across [[Bug 1766]https://tvheadend.org/issues/1766] I realised I am streaming the full multiplex from both tuners across a network link which cannot handle that much data.
Switching full mux reception from auto to off resolves my issues.

    (1-1/1)