1.47k likes | 1.49k Views
Explore the advancements in digital video transport systems and compression techniques discussed in the TEIN2 NOC Workshop by Kazunori Sugiura on July 16th, 2008, focusing on media formats, resolutions, bandwidth requirements, and streaming technologies.
E N D
Realizing High Quality Digital Video Over Internet July 16th 2008 TEIN2 NOC Workshop Kazunori Sugiura ( uhyo@kmd.keio.ac.jp )
Digitized VideoTransport System How can we transport live multi-media contents?
Hardware Media Format MPEG-2 H.264 DV Raw-HD WMV MOV RM WAV MP3 Ogg Analog TXT Meta-Data
Sea, and Air Transportation Education Houses, Apartments, Buildings Social Services Metro, Regional Transportation Aerospace and Satellite Cars, Bikes Digital Broadcast Contents on Demand Society New Generation Internet: GLOBAL COMPUTING ENVIRONMENT To fulfill the IT requirements of every social and living activities in Asia, This project aims new generation Internet infrastructure by inter-connecting every activities. Global Computing Environment in Asia Core Technology for New Asia Internet Digital Media and Contents Life style and Livings Social and Public Activities
Streaming ?! 1996 Internet World Exposition
Frame rate and Resolution • fps (frames per second) • NTSC:30fps (29.97fps) • PAL:25fps • Films:24fps • Resolutions ( dot resolutions) 30 Picts 30picts. 30fps 30fps 1 Second 1 Second
Quality and Contents • By means of media contents • Quality ( SD to QHD ) • Bandwidth ( 1.5M to 4.5G up) • Encoding Characteristics • ( High Computation, Delays…)
We are here 802.11g 100BaseT DVD DV World (720x480) 1000BT TCP Friendly IPv4/IPv6 802.11n Embedded Digital BS HDV World (MPEG2 720p 1080i) Multicast HDDVD Blu-ray FEC We are here DRM HD World (MPEG2,H.264 1080p) IPTV 10G NGN Digital Cinema (MJ 4096x2160, 2048x1080) Real HD World Uncompressed (1920 x 1080 p) QHD (3840x2160) 10GStack 16HD(SHD) (7680x4320) 64HD(VSHD) (15360x8640)
Summary • Media streaming over Internet is a challenge • Bandwidth • Computational power • Resolution and video quality • Advances in media compression technique • Advances in packet transport technology
Compression Technique • Frame based Compression Method • Motion JPEG • DV • Inter Frame Compression Method • MPEG2 • MPEG4 • H.264
JPEG/Motion JPEG • JPEG • Lossy data compression picture format • DCT(Discrete Cosine Transform) algorithm • Cutting High frequency • Motion JPEG • Combining JPEG pictures to make frame based video
Compress even more • Using higher compression method • Motion based lossy compression • No movement • background • Movement • Target • Using the recently used • Inter Frame compression
MPEG • Video CODEC • MPEG1 • MPEG2 • (MPEG3 is gone ) • MPEG4 (H.264) • Data standard • MPEG7 • Data handling • MPEG21
MPEG1 • Specifications • Bandwidth: 1.5Mbps • Standards for Video CD • MPEG1 uses SIF Format • Non Interlace • 360×240×29.97Hz(NTSC)
GOP(Group Of Picture) structure • GOP • Frame combination • I picture (Intra picture) • P picture (Predictive picture) • B picture (Bi-directional predictive picture) Forward prediction Bi-directional prediction I Pictire B Pictire P Pictire 15Picture/1GOP B B I B B P B B P B B P B B P
MPEG2 • Higher quality encoding compared to MPEG1 • Broadcast Quality • Examples • DVD • HDV • Digital Broadcast
MPEG4 • Higher Compression method than MPEG2 • 1998 – • Object based encoding • For low bandwidth • MPEG-4 AVC (Part 10 ) H.264
DV • DV(Digital Video) 35.382Mbps • IEC61834 (1999) • Resolution:720x480(NTSC) 25.146Mbps • Audio 1.536Mbps • 48kHz/16bit 2 channel • 32kHz/12bit 4 channel • Frame Compression using DCT • DV Cassette • mini-DV Cassette
HDV • Canon, Sharp, Sony, Victor (2003) • Resolution • 1280x720 (720p) 19.7Mbps • 1440x1080 (1080i) 25Mbps • 1080/25p 1080/30p 1080/24p • Audio:48kHz/16bit 2 channel • MPEG1 Audio Layer2 (384Kbps) • MPEG2 • Inter Frame Compression • DV, mini-DV
DVCPRO • Panasonic (1996) • DVCPRO • 480i(NTSC) 25Mbps • DVCPRO 50 • 480i(NTSC) 50Mbps • DVCPRO P • 480p(EDTV-II) 50Mbps • DVCPRO HD • 1080i/720p 100MBps • Interoperability with DV Format • DVCPRO Cassette
What is Streaming? • Streaming • Receive Data while playing • Does not store data as a file ( DRM (Digital Rights Management) perspective • Download Playback • Download contents as a file, and playback afterwards Internet Internet Download Playback Streaming
Streaming Technology • To absorb characteristics of the Internet • Some of the software technologies • Buffering ( Delays) • Session Management • Multiple Bit-rate ( Multiple Quality) • Bandwidth reservation, QoS • Error Correction • Contents Protection
History in Streaming • 1994 • StreamWorks1.0(First Commercial streaming applications) • VIC, VAT, RAT developed by UCL (University College London) • 1995 • Real Audio1.0 • 1996 • Internet World Exposition IWE’96 • RTP(RFC1889) • 1997 • MS NetShow2.0
History in Streaming (contd.) • 1999 • QuickTime4.0(ストリーミングへ対応) • VLC (Video Lan Client) • DVTS • 2002 • Helix( Open source ) • 2003 • Windows Media 9
TCP and streaming • TCP • Retransmission method • Packet receiving order guarantee • Congestion Management • Using TCP for streaming • How can we manage the real-time when • Retransmission occurs? • Congestion Management happens?
UDP Streaming • UDP • No Retransmission • No Packet order guarantee • No Congestion Management • To maintain some sort of packet transport guarantee to End-toEnd • RTP/RTCP
RTP/RTCP • RTP Real-time Transport Protocol • RTCP Real-time Transport Control Protocol • Standardized in RFC1890 • Standardization to transport real-time data through the network
RTP Real-time Transport Protocol RFC1889 • Standard protocol for streaming • Common information required to send real-time data • Sequence Number • Timestamp • Dedicate RFC for data dependent part • Many payload format dependent on their compression method and media formats • RTP itself does not reserve resources or manage and guarantee the QoS
RTP Packet v p X Extension CC CSRC Count Marker Payload Type Sequence Number Time Stamp Synchronization Source (SSRC) Contribution Source (CSRC)
RTCP(Realtime Control Protocol) • RFC1889 • To Control RTP • Packet flow control, clock transmission between sender and receiver • Quality report by receiver • Jitter • Lost packet • RTCP Sender Report • Reports to receiver or the 3rd application for status report on sending conditions
RTCP Packet v=2 P RC Payload TypeSR=200 Length • Report block comes afterwards Header Sender Synchronization Source SSRC NTP Timestamp Fore 32bit(Send time for reports) NTP Timestamp Lower 32bit RTP Timestamp Sender Info Sender Packet count Sender Octet Count
RTCP Method • RTCP Receiver Report • Packet Loss rate, Sum of packet losses, Sequence number of received packet, jitter, last timestamp of sender report (LSR), and Delay between LSR (DLSR) • BYE • APP • Application Extension
SDES Receiver information CNAME Receiver identifier NAME Receiver name EMAIL Mail address PHONE Phone No. LOC Location TOOL Application name NOTE User condition PRIV Application extension RTCP Method
Summary • Streaming application over Internet uses • UDP / IP • RTP • RTCP • Ensure real-time isochronous transmission
Video format used in IEEE1394 • DV Format • A.K.A “DV Camera” • Frame base compression • 30Mbps • 720 x 480 Pixels (NTSC) • 720 x 576 Pixels (PAL) • HDV Format • MPEG2-TS(PS) compressed High Definition DV • Inter Frame compression ( = Latency ) • Somewhat different from “HDTV” • 1080i (1440 x 1080)25Mbps, (1920 x 1080 ) • 720p (1280 x 720) 19Mbps • Less Bandwidth compared to DV 30 > 25
Past frame data Is used Past frame Reused frame Simple MechanismPacket Losses • What happens when packet losses occur: • Reuse the past frame data Packet losses Present frame
Frame rate reduction and Bandwidthin DV Format Bandwidth (Mbps) Frame Rate
Network Friendly streaming • Packet shaping and burst-less transmission Packets time
Shaping packets BURSTY PACKETS BURSTY PACKETS BURSTY PACKETS VIDEO VIDEO VIDEO AUDIO AUDIO AUDIO AUDIO AUDIO AUDIO Fragmented Video Frames AUDIO AUDIO AUDIO AUDIO AUDIO AUDIO