Project

General

Profile

wrong lenght of recording

Added by Johann Wittenborg almost 6 years ago

In some recordings Kodi shows a wrong length of the recording. The correct is e.g. 2 hours, but Kodi says it is 19 hours. The recording is not really that long, if you skip forward, the playback stops at the estimated time. I think only recordings of Vox HD (but not all) are affected.

my setup:
tvheadend 4.2.7-17~g45cc65a03
Oscam with HD02-Card
Kodi (Libreelec 8.x) as client


Replies (1)

RE: wrong lenght of recording - Added by K Shea almost 6 years ago

I don't know what a HD-02 card is but assuming it appears as a tuner in Tvheadend there are two things I would try:

First, under TV adapters click on the name of the tuner (not the line that begins with /dev/whatever, but usually the line under it) and find the Skip initial bytes: setting, and put a value in there that is between 1 and 1000 times the Input buffer (bytes): value and click Save. I would start with 18800000 but if you find that it takes too long for channels to start streaming (more than 3 to 4 seconds) then try 1880000 and if it's still too long try 188000, etc. Usually the 18800000 works, but not if you are receiving any channels with a very low symbol rate (for example audio-only channels or some standard def TV channels) on the tuner. The reason is that some cards or whatever is upstream of the cards (such as satellite LNBs) will sometimes throw some garbage data for a second or two when first powered up and this can confuse Tvheadend with regard to the time. The more bytes you can throw away at the start of the recording the less likely you are to have those weird times, in my experience.

The second thing, if you have the technical knowledge, is to make sure that the HD02 card isn't sharing an interrupt with anything else. This may be something specific to TBS tuner cards, but maybe not. See this article for more information: https://freetoairamerica.wordpress.com/2014/11/08/do-you-run-one-or-more-tbs-pcie-cards-under-linux-check-your-irqs/

    (1-1/1)