introduction to multimedia - faculty of information ...ibarina/pub/introduction-en.pdfintroduction...

20
Introduction to Multimedia David Barina February 7, 2020

Upload: others

Post on 24-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Introduction to Multimedia

David Barina

February 7, 2020

Page 2: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

What is Multimedia?

Multimedia is the field that deals with sound, still images,animations, moving images, ... or any other media.

Page 3: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

What is Multimedia?

Multimedia is the field that deals with sound, still images,animations, moving images, ... or any other media.

Page 4: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Usage

I entertainment(video games, digital cinema, music, photography, television)

I communications (telephony, web sites, social media)

I content publishing(journalism, online repositories, digital preservation)

I science (hyperspectral imaginery, plenoptic representation)

I cultural heritage digitization

I medicine (medical image sharing, ultrasound video)

I education (online courses)

I video surveillance

Page 5: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Related fields

I signal processing (A/D conversion, sampling theorem)

I audio/speech signal processing (speech compression)

I image processing (low-pass filtering, deblocking)

I data compression (every single multimedia format)

I computer graphics (color models, rendering)

I computer vision (optical flow, intelligent image search)

I cryptography (digital rights management)

I . . . and mathematics (vector spaces, Fourier transform)

Page 6: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Digital Signal Processing (DSP)

Page 7: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Sound

What is a sound?

mechanical vibrations that travel → the air, perceived by human

t

f(t)

I usually represented as digital audio signal

I humans can hear 20 to 20 000 Hz

I A/D and D/A converters, Nyquist frequency

I low-level view: sound cards, sound interfaces, audio samples

I high-level view: playing MP3, AC3, AAC formats

Page 8: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Sound

What is a sound?mechanical vibrations that travel → the air, perceived by human

t

f(t)

I usually represented as digital audio signal

I humans can hear 20 to 20 000 Hz

I A/D and D/A converters, Nyquist frequency

I low-level view: sound cards, sound interfaces, audio samples

I high-level view: playing MP3, AC3, AAC formats

Page 9: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Still images

What is an image?

visual perception, perceived by human

I cameras, displays, video projectors

I raster image = rectangular grid of pixels

I pixels, color model, RGB, YUV/YCbCr

I low-level view: pixel format, chroma subsampling

I high-level view: displaying PNG, JPEG formats

Page 10: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Still images

What is an image?

visual perception, perceived by human

I cameras, displays, video projectors

I raster image = rectangular grid of pixels

I pixels, color model, RGB, YUV/YCbCr

I low-level view: pixel format, chroma subsampling

I high-level view: displaying PNG, JPEG formats

Page 11: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Moving images

What is a moving image?

a sequence of images, illusion of continuous movement

I animation, video

I video and audio usually stored in multimedia containers

I multimedia frameworks

I low-level view: frames, interlacing, framerate, . . . , still images

I high-level view: playing the MP4 container

I-frame P-frame B-frame I-frame

Page 12: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Moving images

What is a moving image?

a sequence of images, illusion of continuous movement

I animation, video

I video and audio usually stored in multimedia containers

I multimedia frameworks

I low-level view: frames, interlacing, framerate, . . . , still images

I high-level view: playing the MP4 container

I-frame P-frame B-frame I-frame

Page 13: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Moving images: Motion vectors

Page 14: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Compression

I one 20Mpx digital photo = ca. 57 MiB

I one second of 4K video = ca. 1.5 GiB

I two hours of 4K video = ca. 10.5 TiB

I lossy vs. lossless compression

I lossless compression is rarely used (PNG, FLAC)

I lossy compression is everywhere(JPEG, MPEG family, MP3, H.265, DVB-T2, digital cinema)

I encoding can be slow, usually want to decode in real time

I often hardware support(sound cards, graphics cards, multimedia SIMD instructions)

Page 15: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Compression: Artifacts

Page 16: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Interfaces, libraries, frameworks

I low-level APIs: DirectSound, ALSA, OpenGL, DirectX

I low-level formats: sampling rate, pixel depth, color model

I high-level APIs: DirectShow, FFmpeg, game engines

I high-level formats: containers, audio/video codecs

I high-level tools use some high-level abstraction

Element(File plugin)

Source

Element(ALSA)SinkSink

Source

Element(Decoder)

Bin / pipeline

Page 17: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Lectures

1. Introduction (February 7)

2. Compression techniques (February 14)

3. Filters, signal processing (February 21)

4. Audio formats (February 28)

5. Audio interfaces (March 6)

6. Image and video compression (March 13)

7. Image formats (March 20)

8. Video formats (March 27)

9. DirectX interface (April 3)

11. OpenGL interface (April 17)

12. Multimedia frameworks (April 24)

Page 18: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Points

10 pts. midterm test

39 pts. individual project

51 pts. final exam

100 pts. in total

Page 19: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Projects

I up to 39 points =⇒ really important

I a computer program, not an essay

I related to multimedia (audio, images, video)

I a single student or group of two students

I own assignments are welcome, mail to [email protected]

I a public defence with five-minute talk

I the defense will take place at the end of semester

I examples: photo editor, multimedia player, video effects

Page 20: Introduction to Multimedia - Faculty of Information ...ibarina/pub/introduction-en.pdfIntroduction to Multimedia David Barina February 7, 2020. What is Multimedia? Multimedia is the

Literature

I John Watkinson. The MPEG Handbook. CRC Press, 2012.ISBN 978-1-136-02898-6

I Yun Q. Shi, Huifang Sun. Image and Video Compression forMultimedia Engineering: Fundamentals, Algorithms, andStandards. CRC Press, 1999. ISBN 978-1-4200-4979-8