[mythtv-users] MythTV channel buffer

Stef Coene stef.coene at docum.org
Fri Apr 14 21:14:34 UTC 2006


On Friday 14 April 2006 20:47, Dean Wilson wrote:
> So back to my initial question:  if we could find a way to
> simultaneously buffer content while viewing it (and thus reduce the
> wait time when flipping channels) would the developers be willing to
> integrate it?  (I'm not saying it'd be easy, or even possible, but if
> it were?)
I have been thinking about it before and even posted some idea's on the 
mailing list.  Maybe it's time to take this discussion of this mailing list 
and put it in a wiki page and collect some idea's?

These are my idea's/comments:

- Mythtv is client / server, so the client has to be informed in allmost 
realtime where it can find the data, not polling.  For a tivo box, client = 
server.

- is it possible that the cilent starts playing as fast as possible, but at 
speed 9,9 untill the buffer is big enough and switch over to 1 after the 
buffer is 2s?  I'm still convinced a buffer is needed to overcome for 
instance a network hick-up (remember, it's client-server)

- Mythtv 0.18 was better in changing channels (only less then 1 second needed 
to change channels) then 0.19 (9 seconds needed).  What changed?  I know the 
internal code is changed, but still, they both use a ringbuffer.

- Is it possible to stream the data to the client AND write it to the 
ringbuffer at the same time?  So the client receives the data as soon as it 
comes from the tv-tuner.  The data is still streamed to the disk for all the 
fancy stuff like pause, record what you watched, ...  An extra mechanism is 
needed for the client to switch from receiving data from the device to 
reading from the ringbuffer.


Stef


More information about the mythtv-users mailing list