Switching apparatus for switching compressed video streams, the switching apparatus comprising: at least two inputs (IN1, IN2), each input being operable to receive an input video stream from a camera, an output for outputting an output video stream, whereby the input video streams are compressed video streams, whereby each compressed video stream is represented by a sequence of groups of frames (GoF), whereby each group of frames (GoF) comprises a key frame and at least one inter frame, a switching module operable to receive a switch request and to switch the input video streams in the output video stream, so that a first video stream of the input video streams is stopped and a second video stream of the input video streams is started, wherein switching apparatus comprises a cache module caching the second video stream and is adapted to cache the incoming input video streams, whereby the output video stream and the input video streams are compressed video streams, characterized in that the switching module is operable to stop a transmission of the first video stream to the output video stream after a frame is completely transferred to the output video stream and before the transfer of a next frame of the first video stream to the output video stream is started, whereby the switching module is operable to start the transmission of the second video stream in the output stream with a cached key frame from the cache module followed by the other frames of the second video input stream, whereby the cached key frame is prior than the last frame of the first video stream being transmitted to the output video stream, wherein the switching apparatus comprises a timestamp module, which is operable to adapt the time stamps on the second video stream so that the adapted time stamps correspond in time with the timestamps of the first video stream in the output video stream, and wherein the distance between the adapted time stamps is smaller than the distance between the original time stamps of the second video stream until a delay caused by the caching of the second video stream is compensated. at least two inputs (IN1, IN2), each input being operable to receive an input video stream from a camera, an output for outputting an output video stream, whereby the input video streams are compressed video streams, whereby each compressed video stream is represented by a sequence of groups of frames (GoF), whereby each group of frames (GoF) comprises a key frame and at least one inter frame, a switching module operable to receive a switch request and to switch the input video streams in the output video stream, so that a first video stream of the input video streams is stopped and a second video stream of the input video streams is started, wherein switching apparatus comprises a cache module caching the second video stream and is adapted to cache the incoming input video streams, whereby the output video stream and the input video streams are compressed video streams, characterized in that the switching module is operable to stop a transmission of the first video stream to the output video stream after a frame is completely transferred to the output video stream and before the transfer of a next frame of the first video stream to the output video stream is started, whereby the switching module is operable to start the transmission of the second video stream in the output stream with a cached key frame from the cache module followed by the other frames of the second video input stream, whereby the cached key frame is prior than the last frame of the first video stream being transmitted to the output video stream, wherein the switching apparatus comprises a timestamp module, which is operable to adapt the time stamps on the second video stream so that the adapted time stamps correspond in time with the timestamps of the first video stream in the output video stream, and wherein the distance between the adapted time stamps is smaller than the distance between the original time stamps of the second video stream until a delay caused by the caching of the second video stream is compensated.