Project

General

Profile

Accurate recordings with padding?

Added by Asa H about 6 years ago

Hi all,

Does anyone know of a way to add padding in conjunction with the “use EPG running state” accurate recordings? A number of programmes are getting clipped because (I assume) the broadcaster is sending the now/next signal too late. Or could it be tvheadend? I don’t know how often listens for that signal?

I’m not an expect C dev but have tried delving into the code. I can’t figure out how that part works, does it write to a buffer until that signal? If not, in theory could it then just crop to the last x seconds/minutes?

Any pointers, patches or general help would be great!


Replies (2)

RE: Accurate recordings with padding? - Added by Dave Pickles about 6 years ago

As far as I can tell from scanning the code, TVH tunes to the channel shortly before the expected start time (set I think by the 'warmup time' parameter). The code then spins in dvr_thread monitoring the SI data from the multiplex; when the running state of the wanted event changes to 'running' the recorder is started, and when the next event starts 'running' the recorder is stopped. If the expected end time arrives without the 'running' flag being seen the recording is cancelled.

What service are you using? For me UK Freeview works perfectly, Freesat is erratic.

RE: Accurate recordings with padding? - Added by Asa H about 6 years ago

Cheers for the reply Dave, it seemed to be an isolated case as it's back pretty accurate again now. Still often gets slightly clipped, but not as bad. Ideally I'd like to manually record them but with the option to find out what the accurate start time was so that I can edit the clip automatically if I really wanted, but not sure if tvheadend logs that.

    (1-2/2)