01 Multimedia Digital PDF
01 Multimedia Digital PDF
MULTIMEDIA
PENGANTAR MULTIMEDIA:
DIGITALISASI & KOMPRESI
Definisi Multimedia
MULTIMEDIA berasal dari dua kata MULTI dan MEDIA.
MULTI dalam bahasa latin berarti banyak atau
bermacam-macam, sedangkan MEDIUM berarti sesuatu
yang dipakai untuk menyampaikan atau membawa
sesuatu.
Kamus American Heritage Electronic Dictionary:
MEDIUM : alat untuk mendistribusikan dan
mempresentasikan informasi.
Multimedia dapat diartikan sebagai penggunaan
beberapa media yang berbeda untuk menggabungkan
dan menyampaikan informasi dalam bentuk text,
audio, grafik, animasi, dan video.
Definisi
Kombinasi dari komputer dan video (Rosch, 96)
Kombinasi dari 3 elemen: suara, gambar, dan teks (McComick, 96)
Kombinasi dari paling sedikit dua media input atau output. Media
ini dapat berupa audio (suara, musik), animasi, video, teks, grafik
dan gambar (Turban dkk, 2002)
Alat yang dapat menciptakan presentasi yang dinamis dan
interaktif yang mengkombinasikan teks, grafik, animasi, audio dan
video (Robin dan Linda, 2001)
Multimedia dalam konteks komputer menurut Hofstetter (2001)
adalah: pemanfaatan komputer untuk membuat dan
menggabungkan teks, grafik, audio, video, dengan menggunakan
tool yang memungkinkan pemakai berinteraksi, berkreasi, dan
berkomunikasi.
Sedangkan menurut wikipedia.org: Multimedia is the use of
several different media to convey information (text, audio,
graphics, animation, video, and interactivity). Multimedia also
refers to computer data storage devices, especially those used to
store multimediantent
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
What it is Multimedia
Multimedia is, (in theory), the seamless
integration under computer control of any
text, sound, still and animated images, and
motion video. The computer enables this mix
of media to be interactive, as opposed to
current broadcasting and publishing practices
which for the most part are aimed at a passive
audience. In other words, while broadcasting
and publishing are essentially one-way,
interactive multimedia by its very nature
demands active participation.
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Multimedia Systems
A technology of use and
integration of different
media, such as
Text
Graph/Image
Speech
Audio
Video
Animation
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Communications
System/
Integration
Signal Processing
Multimedia Applications
Education
Health Care
Consumer Electronics
Geographical IS
Navigational Systems
Business and Finance
High Quality
Communications
Digital Libraries
Entertainment
Telecommuting
Publishing
Virtual Reality
Commercial Electronics
Cooperation
[Gray97]
Education
Information Access
Teaching Tools
Interactive Teaching
Distance Learning
Health Care
Biomedical data
acquisition,
transmission,
storage,
interpretation
Diagnosis aids
Tele medicine
Collaboration Environment
Application Developers
Design houses
Software developers
Applications market
systems
90
80
70
60
50
40
30
20
10
0
% Recall
Membaca Mendengar
Melihat
Treichler (1967)
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Mdengar
dan
melihat
Saying
and
Doing
Analog or
Real-World
Signals
Analog
Signal
Processing
Digital Domain
A/D
D/A
Converter
Technology
Provides
the
Bridge
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Digital
Signal
Processing
Digital or
Computer
-World
Signals
[ICE 1997]
Teknik Elektro Universitas Brawijaya
Channel:
Internet, Broadcast, Point-to-Point,
Telephone, Satellite, Cable, Wireless
Media
Digital Bit
A/D
Converter
Compression
Encoder
Transmitter /
Encoder /
Recorder
Media
Digital Bit
Media
Bitstream
Compression
Decoder
Storage:
CD, VCD, DVD, HD, Tape
Media:
Speech
Audio
Images
Video
D/A
Converter
Receiver /
Decoder /
Player
Digitisasi Media
Mengubah Media Menjadi Bit Digital
Digital Multimedia
All data is now numeric: Images, video and
sound is digitized into numbers.
Digital data can be processed in a computer
into compressed formats.
Data is stored on disk (rather than VHS tapes
or audio cassette
Data is transmitted digitally with additional
information to help correct errors
Tp =
1
F
Acos
t
A: Amplituda
: Frekuensi
Radian
F: Frekuensi
Hertz
: Fasa
Acos
n
A: Amplituda
: Frekuensi
Radian
f: Frekuensi Hz
: Fasa
Konversi Analog-Digital
Sinyal analog
Sampling, dengan Fs
= 1/T
x(n) = xa (t ) |t = nT = xa (nT )
Filter
Sampling Waktu Diskrit
Kuantisasi
Koding
2b L
Nilai Diskrit
Koding
Digital
Konversi Analog-Digital
Analog
voice signal
Sampling
Circuit
PCM signal
Quantizer
and compander
Digitized
voice signal
xa(t)
Sampling
Continuous time
Continuous amplitude
N levels/sample
Quantizing
x[n]
Discrete time
Continuous amplitude
N = 2B
Bit Rate = Fs . B bits/sec
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
x[n ]
xq[n]
B bits/sample
Encoding
c[n]
Discrete time
Discrete (integer)
amplitude
Discrete time
Discrete (real) amplitude
dB
+10
0
-10
0
1000
2000
3000
4000
Hz
Original signal
PAM pulse
PCM pulse
with quantized error
3.2
2.8
3.4
4.2
1.2
4
1
011
PCM output
3.9
100
011
011
001
100
011100011011001100
GB = 1,073,741,824 bytes
Jika: Fs = 11000 Hz
Nsampel = 5 (menit) x 60 (detik/menit) x 11000 (sampel/detik) =
3.300.000 sampel
Nbit = 16 (bit/sampel) x 3.300.000 sampel = 52.800.000 bit =
6.600.000 byte = 6,295 MB
Nbit Stereo (2 channel) = 6,295 MB x 2 12,6 MB
Jika: Fs = 44100 Hz
Nsampel = 5 (menit) x 60 (detik/menit) x 44100 (sampel/detik)
= 13.230.000 sampel
Nbit = 16 (bit/sampel) x 13.230.000 sampel
= 211.680.000 bit = 26.460.000 byte 25,234 MB
Nbit Stereo = 25,234 MB x 2 50,468 MB satu lagu pada CD audio
Tutorial tambahan : https://courses.engr.illinois.edu/ece110/fa2015/content/courseNotes/files/?samplingAndQuantization
TANYA
KENAPA?
Citra Digital
Berbeda dengan ucapan
dan musik, sinyal gambar
dikenal sebagai sinyal
intensitas dua dimensi.
Resolusi DPI =
(N x M) / (Lebar
x Tinggi)
Gambar Digital
N x M pixels
A Picture
Elemen
(pixel)
Tinggi
M
Baris
Lebar N Kolom
N x M sampel file
Time Index 1
9
Time Index 11
fps
Dim
256 x 256
24 bpp
Mbps
7.8
25
256 x 256
24 bpp
39.3
30
256 x 256
24 bpp
47.2
60
256 x 256
24 bpp
94.4
Time
Index
L
N x M pixel /
frame
B bit/pixel
Digital Disadvantages
Much more complex than analog systems
Much more raw data
Requires very high speed processing
More processing steps
Transmission data errors => serious
damage
Digital Advantages
Compression => more data /channel
Processing costs: analog but digital
Complexity costs: analog but digital
Sinyal Multimedia
Ucapan, audio/musik, citra, video, dll
Aplikasi
Komunikasi, Internet, Broadcasting, Storage
Kompresi
Ada dua jenis metode kompresi, yaitu
non-lossy (Lossless) dan lossy.
Kompresi yang bersifat non-lossy tidak
menghilangkan informasi-informasi dalam
file asli sehingga cocok diterapkan untuk
file dokumen.
Sebaliknya, metode lossy menghilangkan
informasi yang dianggap tidak signifikan.
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Compressed data
Compressor
Decompressor
Reconstructed
data
Principle
Reconstructed = Original
Exploit property that some bit sequences more common than
others
Time (compress/decompress) Space (data size) tradeoff
Lempel-Ziv encoding
Build up table of frequenctly occurring sequences
E.g., Unix compress (.Z), DOS Gzip (.zip)
Achieve compression ratio ~ 2:1 (text, code, executables)
Huffman Encoding
Assign shorter codes to most frequent symbols
Kompresi
Non-Lossy
Loseless
Teknik kompresi dimana data hasil kompresi
dapat didekompres lagi dan hasilnya tepat sama
seperti data sebelum proses kompresi. Contoh
aplikasi: ZIP, RAR, GZIP, 7-Zip
Teknik ini digunakan jika dibutuhkan data
setelah dikompresi harus dapat diekstrak/
dekompres lagi tepat sama.
Contoh pada data teks, data program/biner,
beberapa image seperti GIF dan PNG.
Lossy Compression
Original data
Compressed data
Compressor
Decompressor
Reconstructed
data
Tradeoffs
Time vs. space
Space vs. quality
Greater compression possible if looser approximation allowed
Application Dependent
Exploit characteristics of human perception
Examples
Eyes sensitivity to color variations less than to brightness
Kompresi Lossy
Kompresi
Lossy
Lossy
Teknik kompresi dimana data hasil dekompresi tidak
sama dengan data sebelum kompresi namun sudah
cukup untuk digunakan. Contoh: Mp3, streaming
media, JPEG, MPEG, dan WMA.
Kelebihan: ukuran file lebih kecil dibanding loseless
namun masih tetap memenuhi syarat untuk digunakan.
Biasanya teknik ini membuang bagian-bagian data yang
sebenarnya tidak begitu berguna, tidak begitu
dirasakan, tidak begitu dilihat oleh manusia sehingga
manusia masih beranggapan bahwa data tersebut masih
bisa digunakan walaupun sudah dikompresi.
Teknik Kompresi
Untuk memperoleh hasil kompresi yang
baik, kita tidak hanya harus memahami
bentuk data dan representasi biner-nya,
tetapi juga memahami bagaimana
manusia menginterpretasi bentuk data
aslinya.
Misalnya:
bagaimana manusia melihat gambar?
bagaimana manusia mendengar suara?
TKE 258 MULTIMEDIA HERMAN TOLLE, ST., MT.
Laju Bit
Tanpa Kompresi
Dengan Kompresi
64 kbps
2-8 kbps
6.08 Mbps
8 16 kbps
128 kbps
6 64 kbps
64 768 kbps
1.5 Mbps
128-768 kbps
72.99 Mbps
1.5 4 Mbps
248.33 Mbps
3 8 Mbps
1.33 Gbps
20 Mbps
Algoritma
Teks dan
Data
Ucapan
Musik
Subband Coding
Citra
Video
Summary
Teknologi multimedia adalah the nextrevolution
Kuncinya adalah digitisasi media
Kompresi harus dilakukan untuk efisiensi
media penyimpanan maupun transmisi
It is just a beginning ..
Tugas
1. Buat file BMP dengan ukuran tertentu (maks
400x400). Hitung jumlah bit yang dibutuhkan dan
buktikan dengan ukuran file yang terjadi. (Header
BMP = 54 byte )
2. Buat file WAV dengan merekam suara/audio (maks 5
detik). Hitung jumlah bit yang dibutuhkan dan
buktikan dengan ukuran file yang terjadi. (Header
WAV = 40 byte )
3. Soal latihan Raw Digital Video
Delivery: Send to email dan Upload to VLM, format sesuai
aturan, all file zipped
Deadline: 1 minggu
Rule: Different sample between student (No.1&2)!
Referensi