4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because.

Slides:



Advertisements
Similar presentations
Data compression. INTRODUCTION If you download many programs and files off the Internet, we have probably encountered.
Advertisements

T.Sharon-A.Frank 1 Multimedia Compression Basics.
Web Graphics.
Data Compression CS 147 Minh Nguyen.
Lecture # 20 Image and Data Compression. Data Compression.
Chapter 7 End-to-End Data
Spring 2003CS 4611 Multimedia Outline Compression RTP Scheduling.
Last time 3 main components to a computer system Types of computers Talked about software – task oriented What are some kinds of data that a computer works.
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
Spring 2015 Mathematics in Management Science Binary Linear Codes Two Examples.
Image Formation and Digital Video
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
Lecture 10 Data Compression.
Cosc 2150: Computer Organization Chapter 2a Data compression.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Teen Numbers.
 Refers to sampling the gray/color level in the picture at MXN (M number of rows and N number of columns )array of points.  Once points are sampled,
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Data Compression. How File Compression Works If you download many programs and files off the Internet, you've probably encountered ZIP files before. This.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Still-image compression Moving-image compression and File types.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
Addressing Image Compression Techniques on current Internet Technologies By: Eduardo J. Moreira & Onyeka Ezenwoye CIS-6931 Term Paper.
E0262 -Multimedia Information Systems MULTIMEDIA DATA.
RHYME TIME By Immy Burns. RHYMING WORDS Words that rhyme sound the same at the end They usually end in the same few letters.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Compression  Data files compression  Music compression  Image and video compression.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Advanced AV Production Practicum Math for The Audio Video Professional Calculating Audio and Video File Sizes Copyright © Texas Education Agency, 2015.
Chapter 1 Background 1. In this lecture, you will find answers to these questions Computers store and transmit information using digital data. What exactly.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Advanced AV Production Practicum Math for The Audio Video Professional Calculating Single File Sizes Copyright © Texas Education Agency, All rights.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
Humpty Dumpty sat on a wall, Humpty Dumpty had a great fall
8th Lecture – Intro to Bitmap or Raster Images
GCSE COMPUTER SCIENCE Data
Component 1.9 Security and Data Management
Computer Science: An Overview Eleventh Edition
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
File Compression 3.3.
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Video Basics.
Computer Science Higher
Data Compression.
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Don’t squeeze the Charnin (OK to squeeze data!)
Pixel, Resolution, Image Size
Graphics Bitmap Vector
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Data Compression.
File Compression-overview
Pengantar Multimedia Data compression.
Data Compression CS 147 Minh Nguyen.
GRAPHICS Source:
Image File Size and File Compression
CS 115: Computing for The Socio-Techno Web
Why Compress? To reduce the volume of data to be transmitted (text, fax, images) To reduce the bandwidth required for transmission and to reduce storage.
Representing Images 2.6 – Data Representation.
Web Design and Development
Topic 3: Data Compression.
Chapter 8 – Compression Aims: Outline the objectives of compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
Compression.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

4k… 4K format was named because it has 4000 pixels horizontal resolution approximately. Meanwhile, standard 1080p and 720p resolutions were named because of there vertical resolution. The new standard renders more than four times higher image definition than 1080p resolutions for example Back to compression

To get a feel of the file size of uncompressed video, let's compute the file size of an uncompressed 1-second video with the same resolution and frame rate as HDV 1080i/p video.

The 1-second Video 1440  1080 pixels…1620 x 1080 24-bit color 30 fps 1 second long Audio: stereo (2 channels) Audio: 48 kHz, 16-bit

File Size Calculation The picture component: Total pixels in each frame: File size of a frame: File size of 30 frames (1 second):

File Size Calculation 1,119,744,000 bits = 1,119,744,000 bits / (8 bits/bytes) = 139,968,000 bytes  133 MB

File Size Calculation Audio: Sampling rate  length of the audio  bit-depth  number of channels = 48,000 samples/sec  1 second  16 bits/sample  2 = 1,536,000 bits =

File Size Calculation Total file size of this 1-second uncompressed video = size of the picture component + audio size  10 seconds would be 1.33 GB!

File Size Calculation Total file size of this 1-second uncompressed video = video size + audio size  133 MB + 188 KB = 133 MB 10 seconds would be 1.33 GB! Note that the audio size is insignificant compared to the picture component of the video.

Data Rate Amount of video data to be processed per second

Data Rate Example Data rate of a 48x-speed CD-ROM drive: 7 MB/s Previous video file size example: 1-second uncompression video, 133 MB Data rate = 133 MB / 1 second = 133 MB/second Way too high for the 48x-speed CD-ROM drive! Very choppy playback on 48x-speed CD-ROM drive

Effect of File Size vs. Data Rate on Video Playback If high: choppy playback Amount of data to be processed per second Larger file size can have a low data rate if it is a long video Smaller file size can have a high data rate if it is a short video File size: If high: Requires larger storage space Not unnecessary choppy playback The impact of file size on smoothness of playback also depends on the video duration.

General Strategies for Reducing Video File Size General Strategies for reducing digital image file size Reduce duration of the video so you have less frames

Why General Strategies for Reducing Digital Image File Size Work for Video Reduce frame size because: Reduce frame rate because: Video compression with high compression because: Lower picture quality option because:

Most Common Choices of Compressor

Temporal compression-video Only pixels that change from time frame to frame Frame 1 becomes a reference frame What pixels are encoded for: Frame pixels that change 1 reference frame,,, no saving..any one? 2 3 4

Video compression… Within a frame(jpg) RLE Number of pixels , followed by pixel value . E.g.22 pixels of value ,#2552552 At frame level lossless

When might never compress?

Kennedy inaugural address 1961 The quote has 17 words, made up of 61 letters, 16 spaces, one dash and one period. If each letter, space or punctuation mark takes up one unit of memory, we get a total file size of 79 units. To get the file size down, we need to look for redundancies In John F. Kennedy's 1961 inaugural address, he delivered this famous line: inaugural address 1961

Finding Redundancy As an example, let's look at a type of information we're all familiar with: words. In John F. Kennedy's 1961 inaugural address, he delivered this famous line: "Ask not what your country can do for you -- ask what you can do for your country."

space The quote has 17 words, made up of: 61 letters, 61+16+1=79 16 spaces, one dash and one period. If each letter, space or punctuation mark takes up one unit of memory, we get a total file size of 79 units

redundancy We see: notice that: • "ask" appears two times • "what" appears two times • "your" appears two times • "country" appears two times • "can" appears two times • "do" appears two times • "for" appears two times • "you" appears two times nearly half y redundancy (18 characters)

Popular compressor Most compression programs use a variation of the LZ adaptive dictionary-based algorithm to shrink files. "LZ" refers to Lempel and Ziv, the algorithm's creators, and "dictionary" refers to the method of cataloging pieces of data. The system for arranging dictionaries varies, but it could be as simple as a numbered list Used by gif

Assume dictionary: 1 qsk 2 what 3 your 4 country 5.can 6 for 7 you 1 not2 3 4 5 6 7 8—1 2 8 5 6 7 3 4

Your turn Humpty Dumpty" Nursery Rhyme Lyrics : Ten Humpty Dumpty sat on a wall One Humpty Dumpty had a great fall All the king's horses and all the king's men Couldn't put Humpty together again Show the LZ dictionary

Finding Redundancy As we go thru the words, we pick out the words That are repeated Put them into the index value instead of the word Does ask repeat? What? Note? your? Seems to say, can throw out 8 numbers cause we have redundant one.

re and one time followed by "you,“ giving us a repeated pattern of "can do for you." This lets us write 15 characters (including spaces) with one numeric value for each pattern The program proceeds in this way, picking up all repeated bits of information and then calculating which patterns it should write to the dictionary. No matter what specific method you use, this in-depth searching system lets you compress the file much more efficiently than you could by just picking out words. Using the and adding "__" for spaces, we come up with this larger dictionary: 1. ask__ 2. what__ 3. you 4. r__country 5. __can__do__for__you

Run length Encoding lossless data compression in which runs of data are stored as a single data value and count, rather than as the original run. This is most useful on data that contains many such runs