BY MRUDULA WARRIER UNDER THE GUIDANCE OF DR K.R.RAO

Slides:



Advertisements
Similar presentations
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Advertisements

MPEG Audio Formats Jason Leung Wednesday, February 5, 2014.
Time Optimization of HEVC Encoder over X86 Processors using SIMD
Swaminathan Sridhar Multimedia Processing Lab
MULTIMEDIA PROCESSING STUDY AND IMPLEMENTATION OF POPULAR PARALLELING TECHNIQUES APPLIED TO HEVC Under the guidance of Dr. K. R. Rao By: Karthik Suresh.
Multiplexing H.264/AVC Video with MPEG-AAC Audio Harishankar Murugan University of Texas at Arlington.
MULTIMEDIA PROCESSING
1 Video Coding Concept Kai-Chao Yang. 2 Video Sequence and Picture Video sequence Large amount of temporal redundancy Intra Picture/VOP/Slice (I-Picture)
Hardware Implementation of Transform & Quantization Blocks in H.264/AVC Video Coding Standard By: Hoda Roodaki Instructor: Dr. Fakhraei Custom Implementation.
Efficient Bit Allocation and CTU level Rate Control for HEVC Picture Coding Symposium, 2013, IEEE Junjun Si, Siwei Ma, Wen Gao Insitute of Digital Media,
Multiplexing H.264 and HEAACv2 elementary streams, de-multiplexing and achieving lip synchronization during playback Naveen Siddaraju
ATSC Digital Television
BY AMRUTA KULKARNI STUDENT ID : UNDER SUPERVISION OF DR. K.R. RAO Complexity Reduction Algorithm for Intra Mode Selection in H.264/AVC Video.
Topics in Signal Processing Project Proposal
MPEG-2 Transport streams tMyn1 MPEG-2 Transport streams The MPEG-2 Systems Standard specifies two methods for multiplexing the audio, video and other data.
HARDEEPSINH JADEJA UTA ID: What is Transcoding The operation of converting video in one format to another format. It is the ability to take.
Topic: Advanced Video Coding Standard (Comparison of HEVC with H.264 and H.264 with MPEG-2) A PROJECT UNDER THE GUIDANCE OF DR. K. R. RAO COURSE: EE5359.
Audio CompressiontMyn1 Audio Compression Audio compression has become well entrenched in consumer and professional digital audio products such as the compact.
3D EXTENSION of HEVC: Multi-View plus Depth Parashar Nayana Karunakar Student Id: Department of Electrical Engineering.
PROJECT PROPOSAL HEVC DEBLOCKING FILTER AND ITS IMPLIMENTATION RAKESH SAI SRIRAMBHATLA UTA ID: EE 5359 Under the guidance of DR. K. R. RAO.
By Sudeep Gangavati ID EE5359 Spring 2012, UT Arlington
PROJECT INTERIM REPORT HEVC DEBLOCKING FILTER AND ITS IMPLEMENTATION RAKESH SAI SRIRAMBHATLA UTA ID:
PERFORMANCE COMPARISON OF HEVC AND H
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Multiplexing/De-multiplexing Dirac Video with AAC Audio bit-stream
Reducing/Eliminating visual artifacts in HEVC by Deblocking filter By: Harshal Shah Under the guidance of: Dr. K. R. Rao.
EE 5359 PROJECT PROPOSAL FAST INTER AND INTRA MODE DECISION ALGORITHM BASED ON THREAD-LEVEL PARALLELISM IN H.264 VIDEO CODING Project Guide – Dr. K. R.
By, ( ) Low Complexity Rate Control for VC-1 to H.264 Transcoding.
Dhatchaini Rajendran Student ID: Date :
PERFORMANCE COMPARISON OF HEVC AND H.264 DECODER FINAL PRESENTATION SPRING 2014 ADVISOR: Dr. K.R.Rao VASAVEE VIJAYARAGHAVAN
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison of H.264/MPEG4.
Video Compression Standards for High Definition Video : A Comparative Study Of H.264, Dirac pro And AVS P2 By Sudeep Gangavati EE5359 Spring 2012, UT Arlington.
EE 5359 TOPICS IN SIGNAL PROCESSING PROJECT ANALYSIS OF AVS-M FOR LOW PICTURE RESOLUTION MOBILE APPLICATIONS Under Guidance of: Dr. K. R. Rao Dept. of.
PERFORMANCE COMPARISON OF HEVC AND H.264 DECODER INTERIM PRESENTATION SPRING 2014 ADVISOR: Dr. K.R.Rao VASAVEE VIJAYARAGHAVAN
Sub pixel motion estimation for Wyner-Ziv side information generation Subrahmanya M V (Under the guidance of Dr. Rao and Dr.Jin-soo Kim)
- By Naveen Siddaraju - Under the guidance of Dr K R Rao Study and comparison between H.264.
Figure 1.a AVS China encoder [3] Video Bit stream.
INTERIM Presentation on Topic: Advanced Video Coding (Comparison of HEVC with H.264 and H.264 with MPEG-2) A PROJECT UNDER THE GUIDANCE OF DR. K. R. RAO.
PERFORMANCE ANALYSIS OF AVS-M AND ITS APPLICATION IN MOBILE ENVIRONMENT By Vidur Vajani ( ) Under the guidance of Dr.
IMPLEMENTATION OF H.264/AVC, AVS China Part 7 and Dirac VIDEO CODING STANDARDS Under the guidance of Dr. K R. Rao Electrical Engineering Department The.
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
SUBMITTED BY, SWAMINATHAN SRIDHAR MS EE, UTA EE 5359 Multimedia Processing Project Multiplexing of AVS part 2 video with.
Study and Optimization of the Deblocking Filter in H.265 and its Advantages over H.264 By: Valay Shah Under the guidance of: Dr. K. R. Rao.
Vamsi Krishna Vegunta University of Texas, Arlington
ADAPTIVE INTERPOLATION FILTER FOR H.264/AVC Bhavana Prabhakar Student Id: Department of Electrical Engineering.
A HIGH PERFORMANCE DEBLOCKING FILTER IMPLEMENTAION FOR HEVC
-BY KUSHAL KUNIGAL UNDER GUIDANCE OF DR. K.R.RAO. SPRING 2011, ELECTRICAL ENGINEERING DEPARTMENT, UNIVERSITY OF TEXAS AT ARLINGTON FPGA Implementation.
Porting of Fast Intra Prediction in HM7.0 to HM9.2
IntroductiontMyn1 Introduction MPEG, Moving Picture Experts Group was started in 1988 as a working group within ISO/IEC with the aim of defining standards.
Transcoding from H.264/AVC to HEVC
Video Compression—From Concepts to the H.264/AVC Standard
COMPARATIVE STUDY OF HEVC and H.264 INTRA FRAME CODING AND JPEG2000 BY Under the Guidance of Harshdeep Brahmasury Jain Dr. K. R. RAO ID MS Electrical.
UNDER THE GUIDANCE DR. K. R. RAO SUBMITTED BY SHAHEER AHMED ID : Encoding H.264 by Thread Level Parallelism.
EE5359 Multimedia Processing Project Study and Comparison of AC3, AAC and HE-AAC Audio Codecs Dhatchaini Rajendran Student ID: Date :
Time Optimization of HEVC Encoder over X86 Processors using SIMD Kushal Shah Advisor: Dr. K. R. Rao Spring 2013 Multimedia.
By: Santosh Kumar Muniyappa ( ) Guided by: Dr. K. R. Rao Final Report Multimedia Processing (EE 5359)
Introduction to MPEG  Moving Pictures Experts Group,  Geneva based working group under the ISO/IEC standards.  In charge of developing standards for.
Implementation and comparison study of H.264 and AVS china EE 5359 Multimedia Processing Spring 2012 Guidance : Prof K R Rao Pavan Kumar Reddy Gajjala.
EE 5359 MULTIMEDIA PROCESSING PROJECT PROPOSAL SPRING 2016 STUDY AND PERFORMANCE ANALYSIS OF HEVC, H.264/AVC AND DIRAC By ASHRITA MANDALAPU
E ARLY TERMINATION FOR TZ SEARCH IN HEVC MOTION ESTIMATION PRESENTED BY: Rajath Shivananda ( ) 1 EE 5359 Multimedia Processing Individual Project.
By Deepika Sreenivasulu Pagala Under the Guidance of Dr. K. R. Rao
EE 5359 MULTIMEDIA PROCESSING INTERIM PRESENTATION SPRING 2016 STUDY AND PERFORMANCE ANALYSIS OF HEVC, H.264/AVC AND DIRAC By ASHRITA MANDALAPU
Introduction to H.264 / AVC Video Coding Standard Multimedia Systems Sharif University of Technology November 2008.
Early termination for tz search in hevc motion estimation
Porting of Fast Intra Prediction in HM7.0 to HM9.2
Study and Optimization of the Deblocking Filter in H
PROJECT PROPOSAL HEVC DEBLOCKING FILTER AND ITS IMPLIMENTATION RAKESH SAI SRIRAMBHATLA UTA ID: EE 5359 Under the guidance of DR. K. R. RAO.
Standards Presentation ECE 8873 – Data Compression and Modeling
CUI BIN AVS team of the MPL at UTA
MPEG-1 Overview of MPEG-1 Standard
Presentation transcript:

BY MRUDULA WARRIER UNDER THE GUIDANCE OF DR K.R.RAO MULTIPLEXING AND DEMULTIPLEXING HEVC VIDEO BITSTREAM WITH AAC AUDIO BITSTREAM,ACHIEVING LIP SYNCHRONIZATION BY MRUDULA WARRIER UNDER THE GUIDANCE OF DR K.R.RAO

Table of contents Use of multiplexing Need for compression History of compression Video and audio coding standard Multiplexing process Demultiplexing process Lip sync Test conditions, Results, conclusions and future work

Use of Multiplexing Video, audio and other data contain several frames, thus has huge size. Large size requires large bandwidth. Compression standards like HEVC for video and AAC for audio are chosen. To optimize the use of expensive resources, multiplexing is needed.

NEED FOR COMPRESSION HDTV: Resolution – 1920x1080, 8-bit for 3 colors each component. Lots of storage space Heavy for network communications. Compression reduces the large bandwidth requirement for transmission for similar quality.

Applications

History of Compression Standards Fig 1: History of compression standards [3]

High Efficiency Video Coding(HEVC) Newest video coding standard of the ITU-T Video Coding Experts Group and the ISO/IEC Moving Picture Experts Group. working together in a partnership known as the Joint Collaborative Team on Video Coding (JCT-VC) 50% bit-rate reduction for equal perceptual video quality compared to H.264/AVC. [1]

Fig 2: Typical HEVC video encoder (with decoder modeling elements shaded in light gray). [1]

NAL BITSTREAM STRUCTURE Fig 3: NAL Unit Header [7] 2 byte header VCL NAL units -contain coded pictures non-VCL other associated data. Table 1: NAL UNIT Types, meanings and type classes. [1]

CODING TREE UNIT Fig 4: Subdivision of a CTB into CBs [and transform blocks (TBs)].Solid lines indicate CB boundaries and dotted lines indicate TB boundaries. (a) CTB with its partitioning. (b) Corresponding quadtree. [1]

Fig 5: Picture showing CTU division and motion vector modes.

Advanced Audio Coding(AAC) AAC supports inclusion of 48 full-bandwidth (up to 96 kHz) audio channels [2] AAC is the default or standard audio format for YouTube, iPhone, iPod, iPad, Nintendo DSi, Nintendo 3DS, iTunes, DivX Plus Web Player and PlayStation 3.  three profiles: Low-Complexity profile (AAC-LC / LC-AAC), Main profile (AAC Main) and Scalable Sampling Rate profile (AAC-SSR) [2]

AAC encoder Figure 6 : Block diagram of AAC encoder [2]

AAC Bitstream format Bit stream Formats: ADIF - Audio Data Interchange Format: Only one header in the beginning of the file followed by raw data blocks ADTS - Audio Data Transport Stream Separate header for each frame enabling decoding from any frame [2]

ADTS format Table 2: ADTS format information [2]

MPEG-2 PART 1 systems layer Elementary stream (ES) 2 layers of packetization PES and TS Fig 7: MPEG -2 layers [28]

Fig 8 : Packetized elementary stream [15] PES 3 byte start code, followed by a one byte stream ID and a 2 byte length field. PES header distinguishes between audio and video PES packets . 11000000 –audio 11100000- video time stamp field, which contains the playback time information. size of the PES packets variable. Fig 8 : Packetized elementary stream [15]

MPEG-2 TRANSPORT STREAM PUSI-payload unit start AFC-Adaptation field control CC-Continuity counter PID-Packet Identifier Fig 9: MPEG 2-TS format[15] MPEG Transport Streams (MPEG-TS) use a fixed length packet size of188 bytes including header and payload data. PID identifies whether audio or video 0000001110 (14) - audio stream 0000001111 (15) - video stream.

Fig 10: Multiplexing process [21]

Multiplexing Process Multiplexing plays an important role in avoiding the buffer overflow or underflow at the de-multiplexing end. Video and audio playback timings are used to ensure effective multiplexing of the TS packets. Timing counters are incremented according to the playback time of each TS packet. A packet with the least timing counter value is always given preference during packet allocation

Calculation of playback time Frames per second= n; Hence, for 1 frame (f) = 1/n secs; Number of TS packets (N)= length of PES 185 Playback time of one TS= f/N Where f_video = 1/fps f_audio= 1024/sampling frequency

Flowchart of multiplexing process

Demultiplexing process The transport stream (TS) input to a receiver is demultiplexed into a video elementary stream and audio elementary stream. These ES are initially written into video and audio buffers respectively. Once one of the buffers is full, the elementary stream is reconstructed from the point of synchronization.

Flow chart of demux process

Video playback time=IDR frame number/fps Lip Synchronization The data is loaded from the buffer during playback. IDR frame searched from the starting of the video buffer. Frame number of the IDR frame is extracted. The playback time of the current IDR frame is calculated as, Video playback time=IDR frame number/fps The corresponding audio frame number is calculated as, Audio frame number= (Video playback time * sampling frequency)/1024

Lip sync cont… If a non-integer value, the audio frame number is rounded off and the corresponding audio frame is searched in the audio buffer. The audio and video contents from the corresponding frame numbers are decoded and played back. Then the audio and video buffers are refreshed and new set of data are loaded into the buffers and this process continues. If the corresponding audio frame is not found in the buffer, then next IDR frame is searched and the same process is repeated.

Test conditions Figure 6.1: Test Condition for Video file .avi/.mov file Video YUV file .hevc file Audio WAVE file .aac file Figure 6.1: Test Condition for Video file

RESULTS

RESULTS

RESULTS

CONCLUSION Synchronization of audio-video is achieved by starting the demultiplexer from any TS packet. Visually there is no lag between the video and audio. The buffer fullness at the demultiplexer end is continuously monitored and buffer overflow or underflow is prevented using the adopted multiplexing method.

FUTURE WORK The proposed technique can be extended to support multiple elementary streams such as to include subtitles during playback. The proposed technique can also be modified to support elementary streams from different video and audio codecs depending on their NAL and ADTS formats respectively. The adopted method can also be extended to support some error resilient codes in the case of transmission of multimedia program over error prone networks.

REFERENCES [1] G. Sullivan et al, “Overview of the high efficiency video coding (HEVC) standard”, IEEE Transactions on Circuits and Systems for Video Technology, vol. 22, n 12, pp. 1649-1668, Dec. 2012. [2] Multimedia Processing Lab website: http://www.uta.edu/faculty/krrao/dip   [3] MPEG–2 advanced audio coding, AAC. International Standard IS 13818–7, ISO/IEC JTC1/SC29 WG11, 1997. [4] MPEG: Information technology — generic coding of moving pictures and associated audio information, part 3: Audio .International Standard IS 13818–3, ISO/IEC JTC1/SC29 WG11, 1994. [5] MPEG: Information technology — generic coding of moving pictures and associated audio information, part 4: Conformance testing .International Standard IS 13818–4, ISO/IEC JTC1/SC29 WG11, 1998. [6] Information technology—Generic coding of moving pictures and associated audio—Part 1: Systems, ISO/IEC 13818-1:2005, International Telecommunications Union. [7] MPEG-4: ISO/IEC JTC1/SC29 14496-10: Information technology – Coding of audio-visual objects - Part 10: Advanced Video Coding, ISO/IEC, 2005. [8] M. Bosi and M. Goldberg “Introduction to digital audio coding and standards”, Boston: Kluwer Academic Publishers, 2003.

REFERENCES   [9] R.Linneman, “Advanced audio coding on FPGA”, BS honors thesis, October 2002, School of Information Technology, Brisbane, Australia. [10] Y. Kubo et al,” Improved high-quality MPEG-2/4 advanced audio coding encoder”, The Acoustical Society of Japan, 2008. [11] K. Brandenburg, “MP3 and AAC Explained”, AES 17th International Conference, Florence, Italy, September 1999. [12] J. Nightingale, Q. Wang and C. Grecos, “HEVStream: A framework for streaming and evaluation of High Efficiency Video Coding (HEVC) content in lossprone networks”, IEEE Transactions on Consumer Electronics, vol. 59, pp.404-412, May 2012. [13] G. Sullivan, P. Topiwala and A. Luthra, “The H.264/AVC video coding standard: overview and introduction to the fidelity range extensions”, SPIE Conference on Applications of Digital Image Processing XXVII, vol. 5558, pp. 53-74, August 2004. [14] C. Fogg, “Suggested figures for the HEVC specification”, ITUT/ISO/IEC Joint Collaborative Team on Video Coding (JCTVC) document JCTVCJ0292r1, July 2012.

REFERENCES [15] K.R.Rao, D. Kim and J.J. Hwang,” Video coding standards: AVS China, H.264/MPEG-4 Part10, HEVC, VP6, DIRAC and VC-1"´, Springer, 2014.   [16] I.E.Richardson, “The H.264 advanced video compression standard”, 2nd Edition, Wiley, 2010. [17] ISO/MP4 information: http://en.wikipedia.org/wiki/MPEG4_Part_14. [18] T.Schierl et al, “RTP Payload Format for High Efficiency Video Coding”, Nokia, February 27, 2012. [19] HEVC tutorial http://www.vcodex.com/h265.html. [20] G.Sullivan et al ,” Standardized Extensions of High Efficiency Video Coding (HEVC) “, IEEE Journal of Selected Topics in Signal Processing, vol. 7, pp. 1001-1016, Dec. 2013. [21] T. Wiegand et al, “Overview of the H.264/AVC Video Coding Standard,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 13, pp. 560-576, July 2003. [22] MPEG-4: ISO/IEC JTC1/SC29 14496-10: Information technology – Coding Of audio-visual objects - Part 10: Advanced Video Coding, ISO/IEC, 2005.

REFERENCES [23] J. Herre and H. Purnhagen, “General audio coding,” in The MPEG-4 Book (Prentice Hall IMSC Multimedia Series), F. Pereira and T.Ebrahimi, Eds. Englewood Cliffs, NJ: Prentice-Hall, 2002. [24] V. Sze, M. Budhagiavi, G.J. Sullivan,”High efficiency video coding : Algorithms and architecture”, Springer 2014. [25] Website for AC-3: http://www.digitalpreservation.gov/formats/fdd/fdd000209.shtml [26] Basics of video: http://lea.hamradio.si/~s51kq/V-BAS.HTM [27] The HEVC website: http://hevc.hhi.fraunhofer.de/   [28] HEVC open source software (encoder/decoder): https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/branches/HM14.0dev/ [29] JCTVC documents are publicly available at http://ftp3.itu.ch/avarch/jctvcsite and http://phenix.itsudparis.eu/jct/. [30] HEVC software manual: https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/branches/HM-9.2-dev/doc/software-manual.pdf

REFERENCES Special issues on HEVC. [31] Special issue on emerging research and standards in next generation video coding, IEEE Transactions on Circuits and Systems for Video Technology (CSVT), vol.22, pp. 1646-1909, Dec. 2012. [32] “Introduction to the issue on video coding: HEVC and beyond”, IEEE journal of Selected Topics in Signal Processing, vol.7, pp. 931-1151, Dec. 2013.   [33] D. K. Fibush, “Timing and Synchronization Using MPEG-2 Transport Streams,” SMPTE Journal, pp. 395-400, July, 1996. [34] Z. Cai et.al “A RISC Implementation of MPEG-2 TS Packetization”, in the proceedings of IEEE HPC conference, pp 688-691, May 2000. [35] P.A. Sarginson, “MPEG-2: Overview of systems layer”, BBC RD 1996/2. [36] MPEG 2 TS: http://www.erg.abdn.ac.uk/future-net/digital-video/mpeg2-trans.html

REFERENCES [37] VLC software and source code website www.videolan.org [38] Ffmpeg software and official website http://ffmpeg.mplayerhq.hu/ [39] “FAAC and FAAD AAC software” www.audiocoding.com [40] DivX player : www.divx.com [41] MKVToolNix GUI preview [42] T.Ogunfunmi, M. Narasimha, “Principles of speech coding”, Boca rattan, FL, CRC press, 2010.   JVT REFLECTOR Queries/questions/clarifications etc. regarding H.264/H.265 Jvt-experts-bounces@lists.rwth-aachen.de ; on behalf of; Karsten Suehring [karsten.suehring@hhi.fraunhofer.de]

THANK YOU