Multimedia System


Published on

This slide is presented by Mr. Zainal Hasibuan (University of Indonesia)

  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Multimedia System

  1. 1. Multimedia System Zainal A. Hasibuan
  2. 2. Acknowledgment <ul><li>This slide is mainly taken from Multimedia System Tutorial at Hong Kong University by Romeo CK YIP email: [email_address] </li></ul>
  3. 3. Covered Topics <ul><li>Fundamentals of Multimedia </li></ul><ul><li>What is a Multimedia System? </li></ul><ul><li>Data types in multimedia system </li></ul><ul><li>Quality of Service (QoS) </li></ul><ul><li>Lossless and Lossy Compression </li></ul>
  4. 4. Multimedia System <ul><li>There is no clear definition of the term &quot;Multimedia System&quot;. </li></ul><ul><li>Multimedia versus Multi Media </li></ul><ul><li>Common characteristics of a Multimedia System </li></ul><ul><ul><li>Digital </li></ul></ul><ul><ul><li>Interactive </li></ul></ul><ul><ul><li>Networking </li></ul></ul><ul><ul><li>Integration of text, graphics, sound, image, and video </li></ul></ul>
  5. 5. What is Multimedia? media that uses multiple forms of information content and information processing to inform or entertain the (user) audience.[ Wikipedia ] Text Audio Image Animation Video Interactivity
  6. 6. What is multimedia? <ul><li>any combination of two or more media, represented in a digital form, sufficiently well integrated to be presented via a single interface, or manipulated by a single computer program. [ Chapman ] </li></ul>
  7. 7. What is Multimedia? <ul><li>Key properties of multimedia [ Steinmetz ] : </li></ul><ul><li>Discrete and continuous media </li></ul><ul><li>Independent media </li></ul><ul><li>Computer-controlled systems </li></ul><ul><li>Integration </li></ul>
  8. 8. Discrete and Continuous Media <ul><li>Discrete media composed of time-independent information items. </li></ul><ul><ul><li>Example: text, graphics, or images. </li></ul></ul><ul><li>Continuous media consist of time-dependent information items. </li></ul><ul><ul><li>Example: sound or video. </li></ul></ul>
  9. 9. Discrete and Continuous Media Natural Sound Video Still Images Synthetic Sound Animation Text Graphics Continous Discrete Captured (from real world) Synthesized (by computer)
  10. 10. Delivery <ul><li>Online </li></ul><ul><ul><li>Uses a network to send information from one computer to another </li></ul></ul><ul><ul><li>World Wide Web is the most common form of online delivery </li></ul></ul><ul><li>Offline </li></ul><ul><ul><li>Removable storage medium is used to carry data </li></ul></ul><ul><ul><li>Example: CD-ROM, DVD </li></ul></ul>
  11. 11. Software <ul><li>Applications for different media types </li></ul><ul><li>Images: image editing, painting and drawing </li></ul><ul><li>Text: editor, layout programs </li></ul><ul><li>Video: editing and post production </li></ul><ul><li>Animation: drawing </li></ul><ul><li>Sound: editing and effects </li></ul>
  12. 12. Digital Media <ul><li>Analog Data </li></ul><ul><li>The signals, which we send each other to communicate, are data. Our daily data have many forms: sound, letters, numbers, and other characters (handwritten or printed), photos, graphics, film. All this data is in its nature analog , which means that it varies in type. </li></ul>
  13. 13. <ul><li>Digital Data </li></ul><ul><li>A digital system is an electronic unit. Therefore, it can only deal with data, which are associated with electricity. That is accomplished using electric switches, which are either off or on. It can be illustrated with regular household switches. If the switch is off, it reads numeral “0”. If it is on, it is read as numeral “1”. </li></ul>
  14. 14. Digital Media Bits Each 0 or 1 is called a bit . Bit is an abbreviation of the expression BInary digit, which is derived from the binary number system. Table 1.1 Example of Bits 0 1 bit 1 1 bit 0110 4 bit 01101011 8 bit
  15. 15. Digital Media Binary Number System The binary number system is made up of digits. Compare with decimal system (10 digit system), decimal system uses digits 0 through 9, the binary system only uses digits 0 and 1. Table 1.2 Decimal System and Binary System Number in Decimal System Representation in Binary Number System 0 0 2 10 3 11 8 1000
  16. 16. Digital Media <ul><li>Units </li></ul><ul><ul><li>1 byte = 8 bits </li></ul></ul><ul><ul><li>1 kilobytes(kB) = 1024 bytes </li></ul></ul><ul><ul><li>1 megabytes(MB) = 1000 kB = 1024000 bytes </li></ul></ul>
  17. 17. Digital Media <ul><li>Examples of storage media </li></ul><ul><li>Hard disk, MO, Compact Disc </li></ul><ul><li>Pros and Cons of Digital Data </li></ul><ul><ul><li>Pros: Digital can reproduce, transmit, or copy without introducing loss in quality. </li></ul></ul><ul><ul><li>Cons: Consume a lot more bandwidth during transmission than analog signal. </li></ul></ul>
  18. 18. Data Types in MM system Text Data ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character.
  19. 19. Text Data Figure 2.1 ASCII table and description (copyright:
  20. 20. Text Data ASCII uses 7 bits to represent a character. As a result only 127 characters are defined as standard ASCII characters. Characters 128-255 are called extended ASCII characters (Figure 2.2). Figure 2.2 Extended ASCII codes (copyright:
  21. 21. Text Data EBCDIC EBCDIC (Extended Binary Coded Decimal Interchange Code) is a character set used on early IBM computers. EBCDIC was first introduced in 1965, it was the new character-coding scheme came with IBM System 360 series. EBCDIC uses 8 bits to represent a character.
  22. 22. Text Data UNICODE The Unicode character uses 16 bits to represent a character, thus more than 65000 characters can be represented. While 65000 characters are sufficient for encoding most of the many thousands of characters used in major languages of the world.
  23. 23. Sound Data Sound Data A typical compact disc can hold up to 74 minutes of 16 bit, 44.1 kHz audio that is uncompressed – about 650 megabytes .
  24. 24. Sound Data Table 2.1 shows how the size of a file is affected by the sampling rate and bit length. The file is a one-minute sound clip, recorded and saved in various forms in the Microsoft Windows WAV file format. Table 2.1 Variation of file size and sampling rate (60 seconds audio clip in MS WAV format) Quality Sampling Rate Resolution File Size CD 44 kHz 16 bit Stereo 10.3 MB 44 kHz 8 bit Stereo 5.18 MB FM Radio 22 kHz 16 bit Stereo 5.18 MB 22 kHz 8 bit Stereo 2.59 MB AM Radio 11 kHz 16 bit Stereo 2.59 MB 11 kHz 8 bit Stereo 1.29 MB
  25. 25. Image Data Image Data Images, or pictures, are two-dimensional arrays of data called bitmaps, with each element is called pixel .
  26. 26. Image Data <ul><li>Units </li></ul><ul><li>Dpi - Dots Per Inch </li></ul><ul><li>Bit Depth - The number of bits used to hold a pixel. Also called color depth and pixel depth , the bit depth determines the number of colors that can be displayed at one time. </li></ul>Table 2.2 Color Depths Color Depth Number of Colors 4 bits 16 8 bits 256 16 bits 65,536 24 bits 16,777,216
  27. 27. Video Data <ul><li>Video Data </li></ul><ul><li>Video, or moving images, is a sequence of images. </li></ul><ul><li>To create a sense of continuity, video must be played at a rate of at least 25 frames per second (fps). </li></ul>
  28. 28. Nature of Digital D ocument <ul><li>T ext (.doc, .txt, .pdf, etc), </li></ul><ul><li>I mage (.jpg, .png, .gif, .bmp, etc), </li></ul><ul><li>A udio (.wav, .au, .mp3, etc), </li></ul><ul><li>V ideo (.avi, .asf, .mov, etc) </li></ul>
  29. 29. Quality of Service (QoS) <ul><li>Modern multimedia systems feature networking. Multimedia data over the network consists the following characteristics: </li></ul><ul><li>Time Critical </li></ul><ul><li>Synchronization </li></ul><ul><li>Order of Arrival </li></ul><ul><li>Tolerance of Error </li></ul>
  30. 30. Quality of Service (QoS) <ul><li>QoS can be parameterized from an end-to-end point of view: </li></ul><ul><li>Bandwidth Required </li></ul><ul><li>Delay </li></ul><ul><li>Delay Jitter (Variation of a delay) </li></ul><ul><li>Reliability (Error rate) </li></ul>
  31. 31. Why compression? <ul><li>Keep more stuff in memory (increases speed) </li></ul><ul><li>Increase data transfer from disk to memory </li></ul><ul><ul><li>[read compressed data and decompress] is faster than [read uncompressed data] </li></ul></ul><ul><li>Premise: Decompression algorithms are fast </li></ul><ul><ul><li>True of the decompression algorithms we use </li></ul></ul>
  32. 32. Lossless & Lossy Compression <ul><li>Lossless Compression </li></ul><ul><li>The original data obtained from lossless compression can be recovered from its compressed data </li></ul><ul><li>e.g. Huffman Coding </li></ul><ul><li>Lossy Compression </li></ul><ul><li>Compressed data of lossy compression cannot be recovered to the original data. </li></ul><ul><li>e.g. JPEG, MPEG </li></ul>
  33. 33. Sample Word Frequency Data (from B. Croft, UMass)
  34. 34. Zipf and Term Weighting <ul><li>Luhn (1958) suggested that both extremely common and extremely uncommon words were not very useful for indexing. </li></ul>
  35. 35. Summary <ul><li>Common characteristics of multimedia systems: digital, interactive, distributed, and involving a wide range of data types, such as video and audio. </li></ul><ul><li>QoS as an alternative to “best effort” approach in networking. </li></ul>