FLEXIBLE SWITCHING AND EDITING OF MPEG-2 VIDEO BITSTREAMS

Similar documents
Transparent concatenation of MPEG compression

Contents. xv xxi xxiii xxiv. 1 Introduction 1 References 4

Implementation of MPEG-2 Trick Modes

In MPEG, two-dimensional spatial frequency analysis is performed using the Discrete Cosine Transform

CHALLENGES IN NEW MEDIA NETWOKING APPLICATIONS

DIGITAL PROGRAM INSERTION FOR LOCAL ADVERTISING Mukta Kar, Ph.D., Majid Chelehmal, Ph.D., Richard S. Prodan, Ph.D. Cable Television Laboratories

RECOMMENDATION ITU-R BT.1203 *

CODING EFFICIENCY IMPROVEMENT FOR SVC BROADCAST IN THE CONTEXT OF THE EMERGING DVB STANDARDIZATION

Motion Re-estimation for MPEG-2 to MPEG-4 Simple Profile Transcoding. Abstract. I. Introduction

Motion Video Compression

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Skip Length and Inter-Starvation Distance as a Combined Metric to Assess the Quality of Transmitted Video

Proposed Standard Revision of ATSC Digital Television Standard Part 5 AC-3 Audio System Characteristics (A/53, Part 5:2007)

Research & Development. White Paper WHP 318. Live subtitles re-timing. proof of concept BRITISH BROADCASTING CORPORATION.

AUDIOVISUAL COMMUNICATION

MPEG Solutions. Transition to H.264 Video. Equipment Under Test. Test Domain. Multiplexer. TX/RTX or TS Player TSCA

MULTI-STATE VIDEO CODING WITH SIDE INFORMATION. Sila Ekmekci Flierl, Thomas Sikora

MPEG-2. ISO/IEC (or ITU-T H.262)

Module 8 VIDEO CODING STANDARDS. Version 2 ECE IIT, Kharagpur

Chapter 2 Introduction to

ENGINEERING COMMITTEE Digital Video Subcommittee AMERICAN NATIONAL STANDARD ANSI/SCTE

The H.263+ Video Coding Standard: Complexity and Performance

Understanding Compression Technologies for HD and Megapixel Surveillance

A NEW METHOD FOR RECALCULATING THE PROGRAM CLOCK REFERENCE IN A PACKET-BASED TRANSMISSION NETWORK

MPEG-2. Lecture Special Topics in Signal Processing. Multimedia Communications: Coding, Systems, and Networking

Joint Optimization of Source-Channel Video Coding Using the H.264/AVC encoder and FEC Codes. Digital Signal and Image Processing Lab

Video coding standards

06 Video. Multimedia Systems. Video Standards, Compression, Post Production

MPEGTool: An X Window Based MPEG Encoder and Statistics Tool 1

Impact of scan conversion methods on the performance of scalable. video coding. E. Dubois, N. Baaziz and M. Matta. INRS-Telecommunications

Error Resilient Video Coding Using Unequally Protected Key Pictures

User Requirements for Terrestrial Digital Broadcasting Services

New forms of video compression

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

ROBUST ADAPTIVE INTRA REFRESH FOR MULTIVIEW VIDEO

An Overview of Video Coding Algorithms

Overview: Video Coding Standards

Minimax Disappointment Video Broadcasting

Multimedia Communications. Video compression

Multimedia Communications. Image and Video compression

Temporal Error Concealment Algorithm Using Adaptive Multi- Side Boundary Matching Principle

Rec. ITU-R BT RECOMMENDATION ITU-R BT * WIDE-SCREEN SIGNALLING FOR BROADCASTING

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

Improved Error Concealment Using Scene Information

Video Transmission. Thomas Wiegand: Digital Image Communication Video Transmission 1. Transmission of Hybrid Coded Video. Channel Encoder.

INTERNATIONAL TELECOMMUNICATION UNION. SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Coding of moving video

Modeling and Evaluating Feedback-Based Error Control for Video Transfer

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Visual Communication at Limited Colour Display Capability

AMD-53-C TWIN MODULATOR / MULTIPLEXER AMD-53-C DVB-C MODULATOR / MULTIPLEXER INSTRUCTION MANUAL

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): /ISCAS.2005.

1 Overview of MPEG-2 multi-view profile (MVP)

AE16 DIGITAL AUDIO WORKSTATIONS

Constant Bit Rate for Video Streaming Over Packet Switching Networks

Research Topic. Error Concealment Techniques in H.264/AVC for Wireless Video Transmission in Mobile Networks

ATSC Digital Television Standard: Part 6 Enhanced AC-3 Audio System Characteristics

ELEC 691X/498X Broadcast Signal Transmission Winter 2018

Digital Television Fundamentals

P1: OTA/XYZ P2: ABC c01 JWBK457-Richardson March 22, :45 Printer Name: Yet to Come

Digital television The DVB transport stream

Real Time PQoS Enhancement of IP Multimedia Services Over Fading and Noisy DVB-T Channel

UC San Diego UC San Diego Previously Published Works

COMP 249 Advanced Distributed Systems Multimedia Networking. Video Compression Standards

A Novel Approach towards Video Compression for Mobile Internet using Transform Domain Technique

TIME-COMPENSATED REMOTE PRODUCTION OVER IP

A Statistical Framework to Enlarge the Potential of Digital TV Broadcasting

Analysis of MPEG-2 Video Streams

Video Over Mobile Networks

MPEG-2. Primary distribution of TV signals using. technologies. May Report of EBU Project Group N/MT

White Paper. Video-over-IP: Network Performance Analysis

Intra-frame JPEG-2000 vs. Inter-frame Compression Comparison: The benefits and trade-offs for very high quality, high resolution sequences

1022 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 19, NO. 4, APRIL 2010

PAL uncompressed. 768x576 pixels per frame. 31 MB per second 1.85 GB per minute. x 3 bytes per pixel (24 bit colour) x 25 frames per second

Digital Terrestrial HDTV Broadcasting in Europe

ENGINEERING COMMITTEE Digital Video Subcommittee AMERICAN NATIONAL STANDARD ANSI/SCTE

(12) United States Patent (10) Patent No.: US 6,628,712 B1

OL_H264e HDTV H.264/AVC Baseline Video Encoder Rev 1.0. General Description. Applications. Features

Standard Definition. Commercial File Delivery. Technical Specifications

RECOMMENDATION ITU-R BT * Video coding for digital terrestrial television broadcasting

A Cell-Loss Concealment Technique for MPEG-2 Coded Video

SHOT DETECTION METHOD FOR LOW BIT-RATE VIDEO CODING

Workload Prediction and Dynamic Voltage Scaling for MPEG Decoding

Analysis of a Two Step MPEG Video System

ENGINEERING COMMITTEE Digital Video Subcommittee SCTE

Interlace and De-interlace Application on Video

10 Digital TV Introduction Subsampling

Bridging the Gap Between CBR and VBR for H264 Standard

Content storage architectures

Modeling and Optimization of a Systematic Lossy Error Protection System based on H.264/AVC Redundant Slices

Dual frame motion compensation for a rate switching network

INTRA-FRAME WAVELET VIDEO CODING

MPEG-2 MPEG-2 4:2:2 Profile its use for contribution/collection and primary distribution A. Caruso L. Cheveau B. Flowers

1. INTRODUCTION. Index Terms Video Transcoding, Video Streaming, Frame skipping, Interpolation frame, Decoder, Encoder.

Video 1 Video October 16, 2001

The H.26L Video Coding Project

Chapter 10 Basic Video Compression Techniques

RECOMMENDATION ITU-R BT (Questions ITU-R 25/11, ITU-R 60/11 and ITU-R 61/11)

SUMMIT LAW GROUP PLLC 315 FIFTH AVENUE SOUTH, SUITE 1000 SEATTLE, WASHINGTON Telephone: (206) Fax: (206)

By David Acker, Broadcast Pix Hardware Engineering Vice President, and SMPTE Fellow Bob Lamm, Broadcast Pix Product Specialist

Adaptive Key Frame Selection for Efficient Video Coding

Transcription:

ABSTRACT FLEXIBLE SWITCHING AND EDITING OF MPEG-2 VIDEO BITSTREAMS P J Brightwell, S J Dancer (BBC) and M J Knee (Snell & Wilcox Limited) This paper proposes and compares solutions for switching and editing of compressed video signals in the programme chain. Proposals for bitstream splicing have been made, but these lack flexibility. Also, switching in the decoded domain degrades picture quality. The ACTS ATLANTIC project has developed an alternative approach, in which the decoded signals are switched, but recoding makes intelligent use of the coding decisions used to create the original bitstreams. This paper outlines the techniques used in this approach, and gives results of simulations. Examples of implementations for 'opt-out' and editing applications are given. The paper proposes techniques which allows the frame-accurate switching and editing of MPEG-2 bitstreams without introducing any visible impairment. The techniques are also applicable to other types of compression. INTRODUCTION Compressed video signals are increasingly finding their way into every part of the programme chain. These areas include: programme origination programme post-production contributions from external sources transmission to regional centres distribution to the home archiving Fig. 1 shows a simplified block diagram of what might be a typical programme chain in the early stages of digital television. It is likely that every part of this diagram will involve the use of some type of compression. Any such chain will require a number of manipulations of compressed signals, for example conversion between different compression formats, and bitrate changing. This paper discusses one of the most important requirements -- the ability to switch between two compressed signals.

In Fig. 1 switching is required in three places: Fig. 1 - A typical digital TV programme chain. Editing of bitstreams on the server. Continuity switching between different studios or other sources, including insertion of continuity material. 'Opt-out' switching to regional or local programmes or commercials. In an analogue or non-compressed digital programme chain, each of these is relatively straightforward to carry out, as suitable switching points occur at regular intervals, typically during picture blanking. This is not the case with compressed signals, in which pictures often occupy a variable amount of time and/or bits. Furthermore the compression system may employ temporal prediction, which further complicates switching. Currently the most important video compression format used in broadcasting is MPEG-2 (see ISO/IEC[1]), used for transmission to the home and increasingly found in other parts of the chain. Both of the above problems can occur with MPEG-2 bitstreams; the following sections will consider some approaches to switching in an MPEG-2 environment. TRANSPORT STREAM SPLICING Normally MPEG-2 compressed video will form an element of a transport stream (TS). A switch can be performed directly between transport streams on transport packet boundaries; this is referred to as splicing; a standard for this is proposed by the SMPTE [2]. If the TS contains other elements of the same programme (audio and programme-related data), these will be spliced along with the video. Splicing can only occur at splice points -- specified locations in the bitstreams that must be created on coding. All the splice points do not have to be used; for instance, splice points could be inserted every ten seconds into a bitstream to allow some flexibility of when ad insertion could occur. Splicing is demonstrated in Fig. 2.

Fig. 2 - Splicing of transport streams. Splicing allows a simple implementation of a switch, as there is no need to demultiplex or decode the TS, and no quality is lost in the splicing operation itself. However it has some severe limitations: The splice point must correspond to the end of an I- or P-frame in the 'old' bitstream (bitstream A in Fig.2). The splice point must correspond to the start of an I-frame in the 'new' bitstream (bitstream B). For many MPEG-2 applications, this will mean splicing can only be performed to a resolution of about half a second. The buffer of a downstream decoder must be at a particular state at each splice point (including unused ones). This causes rate control restrictions on the coder(s) producing the bitstreams to be spliced, which may lead to loss of quality if a large number of splice points are to be used. The video splice point cannot come after any audio splice points. Transitions other than cuts (e.g. cross-fades) are not possible. These restrictions limit the range of applications for splicing of transport streams. It can be useful for ad insertion, particularly where equipment costs are of great importance, but is less suitable for continuity switching or editing. PACKETISED ELEMENTARY STREAM SPLICING Instead of splicing the transport stream, a similar technique could be used on packetised video elementary streams (video PESs). This would have the advantage of allowing independent video and audio switch points. However most of the disadvantages of TS splicing still remain. In addition, the need for additional demultiplexing and remultiplexing hardware would increase the cost, and because no splicing information exists in the PES header definition, other non-standard means of conveying this information will be required. SWITCHING AND RECODING DECODED VIDEO By performing the switch in the decoded domain, as in Fig. 3, compressed signals can be switched with great flexibility: the switch points can occur on any frame, and the switching imposes few constraints on the incoming bitstreams. In addition, existing ITU-R Rec.601 equipment such as vision mixers can be used, and other transitions, such as cross-fades, can be used between in addition to simple cuts. This approach also allows switching between different types of compressed signals and between compressed and uncompressed signals.

Fig. 3 - Simple switching of decoded signal. However, this simple approach will lead to loss of picture quality due to cascaded coding. This is particularly a problem if a different MPEG-2 picture type (I, P or B) is used on recoding. This will often occur because the recoder uses a different GOP phasing to the original coder, but even if means can be taken to prevent this happening, degradation will be caused by the use of different motion vectors, coding modes and quantiser setting on recoding. This is illustrated in Fig. 4, which shows the results of cascaded MP@ML MPEG-2 coding at 3.23 Mbits/s of the first 13 frames of each of three standard test sequences -- Mobile & Calendar, Basketball and Horseriding. The GOP structure used was N=12, M=3. The graphs show the loss in luminance PSNR, relative to the first generation, for up to eight generations of cascaded coding. Two cases were investigated: Fig. 4 - Effect of simple cascaded coding. With the picture type kept the same at each cascade, about 0.5dB was caused by the first recoding, with smaller amounts of distortion added for each subsequent cascade, levelling off after about five generations at about 1 db total. With the GOP phasing shifted by one frame on each generation, up to 2 db was lost at the first recode, and no levelling off was observed, even after eight generations. In this example, the same coder was used in each generation; the loss of quality on cascading is likely to be made worse by the use of several different makes of coder in the programme chain, each using a different coding algorithm. Another disadvantage of this approach is that the recoder requires a full motion estimator, adding considerably to the cost of the switch.

ATLANTIC SWITCHING The ATLANTIC Project and the Info Bus The ATLANTIC project is a collaborative project within the European ACTS framework. A major part of the project is to develop techniques to allow MPEG-2 bitstreams to be used throughout the programme chain; one such technique is switching. Further details on the project are given in Knee and Wells [3] and on the project's Web site at: http://www.bbc.co.uk/atlantic. The techniques developed make use of an additional output produced by an otherwise standard MPEG-2 decoder -- the info-bus. It contains information on how the bitstream was coded, e.g. picture type, prediction mode, motion vectors. This can be used by a co-operating coder when recompressing the signal. It can be shown that if all coding parameters and decisions are kept the same, additional generations of MPEG-2 video coding can be performed transparently, except for the negligible effects of IDCT mismatch and saturation. Description of switch Fig. 5 shows a simple block diagram of the ATLANTIC switching technique. As in the previous section, the switch occurs on the decoded video. In addition, the two decoders produce info-bus outputs, which are switched and reused by the recoder. Because the info-bus contains the vectors, the recoder does not need a full motion estimator. Fig. 5 - ATLANTIC switching. In the frames near a switch point, the contents of the info-bus are modified before recoding as follows: The picture type may be changed to provide a more suitable refresh strategy around the switch point. In the example below, the first P-frame in bitstream B after the switch is converted to an I-frame to provide a full refresh early in the new scene. Also, bitstream A contains an I-frame just before the switch point -- as this is unnecessary, it is recoded as a P-frame to save bits. Switch point bitstream A: P B B I... bitstream B:... B P B B P B B P modified: P B B P B I B B P B B P Prediction modes and motion vectors may require modification to take into account any changes in the picture type on recoding, or to prevent any predictions being made across the switch on recoding. In the example above, macroblocks that originally used forward or bidirectional prediction for the B-frame following the switch point will be recoded using intra mode and backward prediction respectively. In addition, vectors are required for the I-frame that is recoded as a P-frame -- these can be estimated from the vectors in surrounding frames, or taken from the I-frame concealment vectors that many MPEG-2 bitstreams carry.

The quantisation parameters will be changed as part of the recoder's rate control strategy. As in a conventional coder, this aims to control the buffer trajectory of a downstream decoder to prevent under- or overflow, and to maintain the picture quality as high as possible. In addition, the rate control algorithm for the ATLANTIC switch uses the vbv_delay values in bitstreams A and B (which are carried in the info-bus) to make the buffer trajectory for the switched bitstream identical to that for bitstream B (i.e. the one being switched to) at some future time. Depending on the relative vbv_delay values, this may happen soon after the switch, or a recovery period of a few GOPs may be required. When it has been achieved, the recoder's quantisation parameters are locked to those of bitstream B, and the switch becomes transparent. The quantisation parameters may also be changed to take advantage of effect known as temporal masking. This refers to the eye's inability to see moderate or even large amounts of noise around a scene change -- typically 5 db of degradation in the frame after the switch cannot be seen -- and allows the number of bits used for the frames very close to the switch point to be reduced, allowing a shorter recovery period. Performance of switch Software simulations have shown that the ATLANTIC switch performs reliably for various combinations of test conditions. Fig. 6 shows the results of a typical test with the following settings: Sequence A Sequence B Bitrate Initial vbv_delay values of bitstreams A & B Mobile & Calendar Basketball 4 Mbit/s (constant) Bitstream B's is larger by 115 ms GOP structure N=12, M=13 GOP phasing Different by 6 frames Switching point timing Frame 78 - the start of a GOP in bitstream B Temporal masking exploited? Yes Recovery period 4 GOPs (about 2 secs.) Fig. 6(a) shows the decoder buffer trajectory for the switched bitstream, together with those of the inputs. The diagonal lines correspond to the filling of the buffer at a constant 4 Mbits/s, while the vertical lines show the emptying of the buffer for each frame. The input and output trajectories are identical until the GOP before the switch, and again after the recovery period. Fig. 6(b) compares the corresponding luminance PSNR (relative to the uncoded source) with those of the first generation bitstreams, and the case when simple (non-atlantic) recoding is used. The ATLANTIC switch is very close to transparent where the quantiser is locked on recoding (the average degradation is 0.006 db). The frames immediately after the switch have lower quality, but this is temporally masked and not observed by the viewer. During the remaining recovery period, about 0.6 db is lost -- this is only just visible, and use of a longer recovery period, if the application permits, can reduce this figure.

(a) - Buffer trajectories of input+switched bitstreams. (b) - Luminance PSNR relative to original. Fig. 6 - Simulated performance of ATLANTIC switch. With simple recoding, the switched bitstream looks noticeably noisy (the average degradation was about 1.4 db). This was worse for Basketball, because the picture type for bitstream B was different on recoding. The ATLANTIC project is also looking at methods for changing the bitrate of MPEG-2 video bitstreams, as described by Tudor and Werner [4]. It is likely that the techniques developed will also be used in the ATLANTIC switch, to further improve the picture quality during the recovery period. Implementation in a regional opt-out switch Let us now consider the application of the ATLANTIC switch to perform an opt-out within a regional centre that uses both compressed and uncompressed signals. This must be performed in real time, and both MPEG-to-MPEG and MPEG-to-Rec. 601 switches must be possible. It would also be helpful if the existing Rec.601 vision mixer could be used as part of the implementation. Fig. 7 shows the video parts of an opt-out switch meeting these requirements. As the

MPEG-2 inputs and outputs will form part of a transport stream, demultiplexers and a multiplexer will be required, and the corresponding audio bitstreams will also be switched. Fig. 7 - Opt-out switch using existing vision mixer. The info-bus from the MPEG-2 decoder is converted to a signal known as a mole. This can be incorporated invisibly into the decoded video signal, and is switched transparently along with it in the vision mixer or DVE. The mole is then converted back to an info-bus to be used when recoding the switched video. When switching to an ordinary Rec. 601 signal without mole, the coder will have to make all the coding decisions, so in this case it will require a motion estimator (but a coder with a motion estimator would be necessary in any case). The task of rate control for the opt-out switch is relatively straightforward. Often there will be a fade to or from black around the switch point, or otherwise temporal masking can be exploited. And as switching will occur fairly infrequently, a long recovery period can be allowed if necessary, in order to keep the degradation to a minimum. Because a vision mixer or DVE is used, cross-fades and other transitions can be used during switching. These transitions will cause the mole signal to be corrupted; the video signal is recoded with new motion vectors and mode decisions. Following the completion of the transition, the mole will again be valid and takes control over the coder. The rate control algorithm ensures a smooth and legal transition. These techniques can be extended to allow logo insertion without loss of quality. BITSTREAM EDITING A key area which will benefit from ATLANTIC techniques is in post-production, where programmes are assembled from clips of compressed audio and video stored as computer files. The requirements for bitstream editing are: Frame-accurate edit transitions allowed, with independent audio and video transition times. A variety of transitions possible, from simple cuts (appropriate for News) to complex effects. Frequent transitions allowed. Functionality similar to current non-linear editing systems which use motion-jpeg compression. For example, it should be possible to create, preview and revise edits. MPEG-specific details (e.g. picture types) hidden from the user. Implementation scalable according to the application and the number of users. The ATLANTIC post-production facility

Fig. 8 shows how the ATLANTIC project is addressing these requirements. Fig. 8 - ATLANTIC editor post production facility. System components are interconnected using an ATM network. This gives high performance and pre-determined quality of service, and is widely used for long distance connections by telecoms operators. Programmes enter the facility as MPEG-2 transport streams from satellites, wide area networks or local studios, are demultiplexed by the format converter and stored as audio and video files in PES format on the edit server, together with index files, which allow random access to the entry points in the video bitstream. Also stored are lower quality browse tracks, typically I-frame coded at reduced spatial resolution, to support off-line editing on low cost PCs. To improve performance, separate servers could be used for each data format, with optimised file system parameters. The server should also support a database of available clips and allow rapid access to archives. The edit workstation runs the non-linear editing application software. The user browses the clips stored on the server, adding the selected portions to a time line representing the finished programme. Effects may be added at transitions, depending on the capabilities of the edit conformer. The output of the editing process is an Edit Decision List (EDL). The edit conforming switch reads the PES format bitstreams from the server and performs the transitions in the EDL. The core of this is a DVE-based ATLANTIC switch (similar to Fig. 7). Source clips are routed alternately to the two decoders; some processing of the timestamps in the PES headers may be required in order to synchronise the decoder outputs. Audio and video bitstreams are multiplexed into a TS, which is stored on the playout server for later transmission under the control of the presentation scheduler. For off-line editing, as an alternative to the real-time hardware conformer, the ATLANTIC switch is also being implemented in software, with recoding required only near the edit points. A software edit conformer also makes possible a multi-pass rate control; this is useful in keeping the recovery period short. CONCLUSIONS Techniques have been described for frame-accurate switching and editing of MPEG-2 video bitstreams with no visible degradation caused by the decoding and subsequent recoding of the video signal. Also, no constraints are placed on the initial coding parameters such as GOP structure and buffer occupancies, unlike other proposals for bitstream splicing.

These techniques have been implemented in the ATLANTIC project by developing hardware which intelligently re-uses coding decisions. Hardware for regional opt-out switching, presentation/continuity and editing functions has been developed. Further details on the ATLANTIC project can be found at: http://www.bbc.co.uk /atlantic ACKNOWLEDGEMENTS The ATLANTIC project is being supported by the European Commission within the ACTS framework. The contribution of all project partners to the work described in this paper is gratefully acknowledged: BBC (UK), Snell & Wilcox (UK), CSELT (Italy), INESC (Portugal), EPFL (Switzerland), ENST (France) and FhG (Germany). The authors also wish to thank the British Broadcasting Corporation and Snell & Wilcox Ltd. for permission to publish this paper. REFERENCES 1. ISO/IEC 13818, 1996. Generic coding of moving pictures and associated audio information. 2. SMPTE PT20.02, 1997. Splicing of MPEG-2 Transport Streams. 3. KNEE, M.J. and WELLS, N.D., 1997. Seamless concatenation -- A 21st century dream. International Television Symposium, June. 4. TUDOR, P.N. and WERNER, O.H., 1997. Real-time transcoding of MPEG-2 video bitstreams. International Broadcasting Convention, September, pp. 226-301.