Multiple tuners being used to record multiple channels on same transponder
|Assignee:||Andreas Öman||% Done:|
|Found in version:||unknown||Affected Versions:|
If you have one tuner, you can record multiple channels from the one transponder. If you have 2 or more tuners, and record 2+ channels from the same transponder, tvheadend in most cases uses up a tuner for each channel. But it should only need to use one tuner since the channels are on the same transponder.
#1 Updated by renne - over 2 years ago
It's called Multiplex-Recording and e.g. VDR uses it for about 9 years, now.
You simply use one thread to write the complete Transport-Stream of a tuner in a RAM-ringbuffer and use a new thread for each recording/stream to read from that ringbuffer and remux the necessary pids for the recording/stream.
For handling ressource conflicts you do not check the available tuners for each recording but store the bouquet of each recording in the schedule and check if you have as much tuners as bouquets are used at the same time.
Switched from minor to major as hardware costs and power consumption are reduced and it is a major dependency of TvHeadEnd-structure/-development