sions. This results in a trade-off between the quick-
ness of frame switching and the overall quality. The
last delay which has been mentioned consists of the
time between the scheduled playout of the first re-
ceived video frame until the first undistorted frame
can be shown. Given that after a channel switch the
receiver has to begin the decoding at a random posi-
tion within a GOF, the expected duration of the dis-
tortion is half the duration of a GOF. Again, there
is a trade-off between video quality and the speed of
switching: Long GOFs result in optimal encoding ef-
ficiency but slow switches.
2 CHANNEL-SWITCHING
ALGORITHMS
Now, we propose new algorithms to speed up chan-
nel switching which are more intelligent compared
to the conventional ”play out what you have when
you should” approach. Generally we are not trying
to speed up the time until data can be received from
the network but to reduce the perceived time until the
presentation of the new channel starts. We will take
any possible combination of switches between unicast
and multicast into account, and propose algorithms
tailored to the problem as much as possible. Further-
more, we will distinguish between audio and video
data.
2.1 Unicast to Unicast
Given that a user switches from channel 1 to channel
2, the unicast streaming system begins the transmis-
sion with the temporal nearest I-frame which is avail-
able in the transmission buffer. Therefore the client
sees some kind of virtual channel 2 which has some
temporal displacement. Therefore depending on the
time of their switching, two users viewing the same
TV channel which stand next to each other may have
a temporal displacement of up to one GOF-length in
the content they view. Usually this is acceptable and
people know this effect from the different delays for
analogue and digital conventional television. How-
ever, users may experience it as bad service if other
users see important information like goals in a soccer
game some seconds earlier than others. A more im-
portant problem is the strongly increased bandwidth
requirement given that a user zaps through multiple
channels. Then many large I-frames are transmitted,
and the bandwidth requirement exceeds normal val-
ues. Ideas to mitigate this problem are discussed in
section 3.
2.2 Multicast to Multicast
In the unicast-unicast scenario it is possible to reduce
the switching delay on the server side. In contrast to
the unicast-unicast scenario, in a pure multicast envi-
ronment the different multicast channels are simply
transmitted, possibly even without knowledge how
many subscribers use a certain service or how they
change channels. Therefore, a purely client-based so-
lution is necessary. A typical switching scenario de-
picting both the reception and playout over the time
is given in figure 2. A simpler graphic depicting the
playout process only can be found in the upper half of
figure 4. It is compared to the conventional approach
starting the video with the first I-frame and skipping
undecodable frames from the first GOF. Here d
GOF
and d
Bu f
denote the GOF and buffering duration re-
spectively.
The new algorithm works as follows: After the
switching command the receiver tunes to channel 2
(d
Switch
). When the first I-frame of the new channel
is received (after an average time of 0.5 · d
GOF
) it is
presented immediately. Until then either the playout
of the previous channel may continue or the old chan-
nel freezes to indicate a pending channel switch. Af-
ter the presentation of the first I-frame it remains on
the screen until its normal presentation time elapses
(dashed area). Then consecutive P-frames are de-
coded normally.
The early presentation of that I-frame may result
in dropping the last P-frames of the previous channel,
and the associated audio-data will be dropped. Fur-
thermore, the first undecodable P-frames of the new
channel will be dropped - but the audio data with
the according timestamps will be presented. There-
fore, the new channel begins with the presentation
of a still image, then audio is added, and afterwards
movement. This is the desired working scenario and
referred to as scenario 1.
However, it is not always possible to present the
first I-frame early enough. The scenario as described
above only works with sufficient buffer delay, i.e. the
I-frame has to be received before the playout of the
previous channel ends, as depicted in figure 2. Given
that the buffering delay is too low (figure 3) the old
channel ends and the picture has to freeze until the
first I-frame of the new stream has been received. This
is referred to as scenario 2 which can be found in the
lower half of figure 4. For this scenario two cases are
possible: The I-frame is received sufficiently early,
or audio data of the new channel could be presented
before the I-frame is received. Whether to drop this
audio data or not depends on psychological factors.
Playing back audio without the video may irritate the
viewer. However, a switch-command taking too long
IMPROVED CHANNEL SWITCHING FOR HYBRID UNICAST/BROADCAST MOBILE TELEVISION
215