TSD. Discussion about the AVTP timestamp for H.264 video transmission described in 1722_D12 chapter 9.5. Christian Sörensen

Similar documents
Request for Comments: 4425 Category: Standards Track February 2006

Request for Comments: 5109 December 2007 Obsoletes: 2733, 3009 Category: Standards Track. RTP Payload Format for Generic Forward Error Correction

Module 10 MULTIMEDIA SYNCHRONIZATION

P1722 Presentation Time

Synchronised multi-room media playback and distributed live media processing and mixing

RTP Protocol Transport of H.264 Video and AAC Audio

RTP Payload Format for SVC Video draft-ietf-avt-rtp-svc-13

The RTP Encapsulation based on Frame Type Method for AVS Video

draft-begen-fecframe-interleaved-fec-scheme-00 IETF 72 July 2008 Ali C. Begen

Transport protocols Introduction

RTP Protocol Transport of H.264 Video and MPEG I/II Layer 3 Audio

Internet Engineering Task Force (IETF) Request for Comments: R. Jesup WorldGate Communications May 2011

Socket Programming Assignment 6: Video Streaming with RTSP and RTP

Real-Time Course. Video Streaming Over network. June Peter van der TU/e Computer Science, System Architecture and Networking

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

An E2E Quality Measurement Framework

Time Sensitive Control Streams in IEEE P1722A v1.3

PREFACE...XIII ACKNOWLEDGEMENTS...XV

Triveni Digital Inc. MPEG Technology Series. MPEG 101 (MPEG 2 with a dash of MPEG 4 thrown in) Copyright 2011 Triveni Digital, Inc.

DRAFT. Encapsulation of Dirac Video content and time code markers in ISO/IEC Transport Streams

Video Redundancy Coding in H.263+ Stephan Wenger Technische Universität Berlin

Transporting Voice by Using IP

ETSI TS V1.1.1 ( )

RTP model.txt 5/8/2011

Week 14. Video Compression. Ref: Fundamentals of Multimedia

RTP Payload Format for SVC Video draft-ietf-avt-rtp-svc-15

Exploring H.264. Part 2: H.264 Bitstream format

Time and Synchronization for dummies Edward Hervey

Introduction to Networked Multimedia An Introduction to RTP p. 3 A Brief History of Audio/Video Networking p. 4 Early Packet Voice and Video

Unified Communication Specification for H.264/MPEG- 4 Part 10 Scalable Video Coding RTP Transport Version 1.0

Specification for the use of Video and Audio Coding in DVB services delivered directly over IP protocols

2 RTP Encapsulation and its Application in NS-2 Simulation

Time Sensitive Control Streams in IEEE P1722A v1.6

The VC-1 and H.264 Video Compression Standards for Broadband Video Services

Discontinuous Transmission (DTX) of Speech in cdma2000 Systems

MPEG TS. MAYAH Communications Application Note 34. MAYAH Communications GmbH Application Note 34 MPEG TS

Lecture 10: Protocol Design

CS640: Introduction to Computer Networks. Application Classes. Application Classes (more) 11/20/2007

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

RECOMMENDATION ITU-R BT.1720 *

Module 6 STILL IMAGE COMPRESSION STANDARDS

Hardware Telemetry. About Streaming Statistics Export (SSX) Packet Format. About Streaming Statistics Export (SSX), on page 1

THE H.264 ADVANCED VIDEO COMPRESSION STANDARD

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

Introduction to Video Encoding

Internet Streaming Media

H.323. Definition. Overview. Topics

Latest Technology for Video-Streaming Gateway of M-stage V Live

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2007

Laboratoire d'informatique, de Robotique et de Microélectronique de Montpellier Montpellier Cedex 5 France

SamKnows test methodology

Signaling layered coding structures and the SVC payload format

Cisco Call Management Record Field

Multimedia in the Internet

RTP: A Transport Protocol for Real-Time Applications

Configure Video and Audio Settings

Stereo DVB-H Broadcasting System with Error Resilient Tools

Optical Data Interface ODI-2 Transport Layer Preliminary Specification. Revision Date

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006

Parameter Equipment Motivation Monitoring method. Smooth play-out Test stream

QoE Characterization for Video-On-Demand Services in 4G WiMAX Networks

Format-Independent Multimedia Streaming

Annex (informative) to A001 Rev. 6: Guidelines for the Implementation of DTS Coded Audio in DVB Compliant Transport Streams

RTP. Prof. C. Noronha RTP. Real-Time Transport Protocol RFC 1889

Beyond TS Workshop

RTP/RTCP protocols. Introduction: What are RTP and RTCP?

Interoperability Test Guideline. For SIP/MPEG-4 Multimedia Communication System

Video Quality Monitoring

Choice 1: audio, a simple audio client server system

Configuring Cisco IP SLAs ICMP Jitter Operations

New York University Computer Science Department Courant Institute of Mathematical Sciences

How to achieve low latency audio/video streaming over IP network?

Internet Streaming Media Alliance Hyperlinked Video Specification Version 1.0 September 2006

MA5400 IP Video Gateway. Introduction. Summary of Features

Streaming (Multi)media

CS519: Computer Networks. Lecture 9: May 03, 2004 Media over Internet

Configuring and Debugging Fax Services

Request for Comments: Category: Standards Track Precept Software, Inc. M. Civanlar AT&T Labs - Research January 1998

Quality Assurance for Broadcast Audio Contribution over IP

3GPP TS V6.4.0 ( )

ADAPTIVE PICTURE SLICING FOR DISTORTION-BASED CLASSIFICATION OF VIDEO PACKETS

Decoding MPLS-TP and the deployment possibilities

ES623 Networked Embedded Systems

Cisco Call Management Records Field Descriptions

Class A Bridge Latency Calculations

MULTIMEDIA COMMUNICATION

Interlaken Look-Aside Protocol Definition

Lecture 14: Multimedia Communications

This document describes the presence of OPUS codec, which was not available earlier, in Cisco Unified Communications Manager (CUCM) version 11.

Low complexity H.264 list decoder for enhanced quality real-time video over IP

Internet Streaming Media

A MULTIPOINT VIDEOCONFERENCE RECEIVER BASED ON MPEG-4 OBJECT VIDEO. Chih-Kai Chien, Chen-Yu Tsai, and David W. Lin

Continuity and Synchronization in MPEG. P. Venkat Rangan, Srihari SampathKumar, and Sreerang Rajan. Multimedia Laboratory. La Jolla, CA

Location Based Advanced Phone Dialer. A mobile client solution to perform voice calls over internet protocol. Jorge Duda de Matos

Kommunikationssysteme [KS]

[1] ISO/IEC :2007 Information technology - Generic coding of moving pictures and associated audio information: Systems

TransMu x. Users Manual. Version 3. Copyright PixelTools Corporation

Robust Header Compression (ROHC)

VIDEO TRANSMISSION OVER UMTS NETWORKS USING UDP/IP

Organizations have developed standard sets of protocols

Transcription:

Discussion about the AVTP timestamp for H.264 video transmission described in 1722_D12 chapter 9.5. Christian Sörensen

Agenda Development Setup Usage and calculation of the AVTP H.264 timestamp not clear RFC 6184 basics (packetization types, usage of PTS) AVB / RTP differences AVTP timestamp vs RTP timestamp Which timing information is needed for a H264 decoder? 2

Development Setup The H.264 Video format descibed in chapter 9 in IEEE 1722-D12 is mainly based on RFC6184 (RTP payload format). Only the header and the presentation time handling is different. Idea was to use the gstreamer to create RTP packets and doing the AVTP header re-ordering behind. Gstreamer pipelines: AVB Transmitter: filesrc! qtdemux! rtph264pay! avbsink -> AVB Stack AVB Receiver: AVB Stack ->avbsrc! rtpjitterbuffer! rtph264depay! vaapidecode! vaapisink Problems: Which time should be used for avtp_timestamp calcualtion described in 1722-D12 5.4.3.8 PTS or RTP timestamp? How to create the AVTP timestamp from the RTP timestamp and vice versa? Is it possible at all? Could the RTP timestamp used for transmission? Do we have to know the PTS and the DTS for calculation? That is not given by using the output from rtph264pay. The RTP timestamp is not increasing monotonically by constantly increasing sequence numbers (see explanation on the next foils) 3

RFC 6184 basics RFC6184: One of the main properties of H.264 is the complete decoupling of the transmission time, the decoding time, and the sampling or presentation time of slices and pictures. The decoding process specified in H.264 is unaware of time, and the H.264 syntax does not carry information such as the number of skipped frames. PTS and DTS are not part of the H.264 bitstream. There is no timing information carried within the NAL units which can be used for the decoder. It is mandatory to have the RTP timestamp for this. So the timestamp transmitted via the AVB header couldn t be used as usual for AVB. The decoder will restore the DTS and the PTS by getting the RTP timestamp and knowing the ordering scheme. RTP timestamp and PTS timestamp differ in encoding and definition! RFC 6184: Receivers SHOULD use the RTP timestamp for synchronizing the display process. 4

RFC 6184 basics Packetization Modes used by RTP H.264 (RFC6184: 5.4. Packetization Modes) Single NAL unit mode Non-interleaved mode (In the non-interleaved mode, NAL units are transmitted in NAL unit decoding order. It is used for low latency streaming) Interleaved mode: (The interleaved mode is targeted for systems that do not require very low end-to-end latency. The interleaved mode allows transmission of NAL units out of NAL unit decoding order.) In case of the Non-interleaved mode the RTP timestamps are not increasing constantly. The semantics of the RTP timestamps depends on the payload type. As a general rule it contains the Presentation Time Stamp (PTS) of the first block of data inside the packet. Also as a general rule, the packets are ordered by Decoding Time Stamp (DTS). In the presence of bi-directional predicted frames ("B-frames"), the codec would logically send the later key frame ("I-frame") first, as it should have an earlier DTS inspite of the later PTS. It is hence perfectly normal to have a late timestamp before an earlier one, within short time interval.i do not think there is a bug anywhere. (Source: https://mailman.videolan.org/pipermail/vlc-devel/2009-march/057179.html) So interleaved as non-interleaved packetization mode could be possible we have to deal with increasing presentation timestamps for interleaved mode and not monotonically increasing presentation timestamps for non-interleaved mode. 5

Summary In case of not constantly increasing timestamps the usual AVTP timestamp usage is changed. The model of AVTP Timing Reference Planes as shown in 1722-D12 Figure 5.1 is not valid anymore! The presentation timestamp does not anymore define the timing to hand over the packet to the application. The timestamp as is defined in RFC6184 completely differs the usage from an AVTP_timestamp. This timestamp can t be used to derive the transmission timing! Proposed solution: Use the class observation interval to send out the packets Use the timestamp on receiver side in same manner as described in RFC6184 Use the rtp timestamp as defined in RFC6184 or specify a dependency between the h264 rtp timestamp and the h264 AVB timestamp. 6