[mythtv] tracking the cause of channel change slowness

Pekka Jääskeläinen pekka.jaaskelainen at gmail.com
Sun Feb 19 13:58:36 UTC 2006


I've been tracking the cause of the channel change slowness in my system (takes
around 8-12 secs). For now, I've managed to find two slow function
calls during the
channel change, both at AvFormatDecoder::OpenFile().

The calls to av_find_stream_info() and to ScanStreams() together take
around 3-4
secs of the channel change time.

Any ideas why this is the case? I have a reasonably fast computer (P4
2.6GHz) and
those functions don't seem to be overly complicated. Any ideas how to
optimize the
calls in case of DVB LiveTV?

Thanks in advance,
--PJ (visit0r at IRC)

More information about the mythtv-dev mailing list