COM 597 Streaming Media Class 2 June 22, 2006. Today’s topics: The nuts and bolts of Audio The encoding and delivery process (sampling & resampling) Aliasing.

Slides:



Advertisements
Similar presentations
Adam Diel.  In 1981 IBM PC 150 introduced the first PC Speaker.  Each game had to write support for it (sound cards were impractical during this time)
Advertisements

                      Digital Audio 1.
Digital Audio / Sound — An Underutilized Medium Integrating Technology into the Curriculum © 2004 Jim Lockard.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Pro Tools 7 Session Secrets Chapter 6: After the Bounce or Life Outside of Pro Tools Life Outside of Pro Tools.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Streaming Media From the Web (and other alternative deliveries) The technicals, the processes, the formats, and the reasons.
Sound can make multimedia presentations dynamic and interesting.
1. Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded.
Information Sources And Signals
® HM-DH30000 The HD Solution. D-VHS is creating a smooth transition from analog to digital. Benefits carried over from the Current VHS Technology New.
I Power Higher Computing Multimedia technology Audio.
Digital Media Dr. Jim Rowan ITEC 2110 Video. Works because of persistence of vision Fusion frequency –~ 40 frames.
Comp 1001: IT & Architecture - Joe Carthy 1 Review Floating point numbers are represented in scientific notation In binary: ± m x 2 exp There are different.
Audio Basic Concepts. Audio in Multimedia Digital Audio: Sound that has been captured or created electronically by a computer In a multimedia production,
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
Audiovisual digital documents Adolf Knoll National Library of the Czech Republic
Una DooneyMultimediaSlide 1 What is Multimedia? A combination of different media types such as text, graphics, audio, video and animation etc in a single.
Digital Audio Agenda Digital Audio Concepts  What’s it all about Creating Audio  Equipment Demos and practice time  Best way to learn = explore  Guides.
AUDIO VIDEO FLASH DIGITAL MEDIA: COMMUNICATION AND DESIGN
Web Video Basics Carol Doggett President/Owner Preparing Your Videos for Today’s On-line World.
Streaming media over the Internet A million channels and there is still nothing on! By Samuel Shiffman Streaming Technologist Seton Hall University
5. Multimedia Data. 2 Multimedia Data Representation  Digital Audio  Sampling/Digitisation  Compression (Details of Compression algorithms – following.
Multimedia Compression John Hall SMDC Training June, 2006.
                      Digital Video 1.
Image Formation and Digital Video
Analogue and Digital Signals SL – Option C.1. Signals When talking about electronics we will talk about ‘signals’ –This is simply the transfer of information.
Time Code and Word Clock
Digital Video An Introduction to the Digital Signal File Formats Acquisition IEEE 1394.
Representation of Data in Computer Systems
Sony Pictures1 Preparing your customers and your facilities for Blu-ray A powerful format that leads to new challenges in authoring and creative design.
Using Multimedia on the Web
Digital Sound and Video Chapter 10, Exploring the Digital Domain.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
1 Week 10: Audio Recording. 2 Overview  What is sound?  What does analogue mean?  Analogue-to-Digital conversion  Key terms in digital audio  Compression.
Video Basics. Agenda Digital Video Compressing Video Audio Video Encoding in tools.
Data Compression and Network Video by Mark Pelley Navin Dodanwela.
AVI File Format By : Jacob, Bab and Conor. Basic operation Presented By: Conor.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
 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,
AUDIO MEDIA 1 Created } “Borrowed” } Microphone MIDI keyboard CD’s & flash drives Internet Audio Sources 2.
Multimedia Elements: Sound, Animation, and Video.
Computer Concepts 2014 Chapter 8 Digital Media. 8 Digital Audio Basics  Sampling a sound wave Chapter 8: Digital Media 2.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
Core Issues in Digital Preservation: Audio and Video Jacob Nadal, Preservation Officer UCLA Library.
Sound element Week - 11.
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
How Analog and Digital Recording Works Analog converted to digital via an ADV (Analog to Digital Converter = stream of numbers) On playback: digital converted.
LECTURE 07 RAZIA NISAR NOORANI Digital Video. Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color.
HTML 5. Introduction In modern browsers, adding a video to your page is as easy as adding an image. No longer do you need to deal with special plug-ins.
IT2002 ATI Naiwala 1 By ATI Naiwala. IT2002 ATI Naiwala Combination of time Variant Image and Sound – Most realistic media Dynamic Huge data size(Very.
IntroductiontMyn1 Introduction MPEG, Moving Picture Experts Group was started in 1988 as a working group within ISO/IEC with the aim of defining standards.
COM 597 Streaming Media Class 2 June 28, Today’s topics: The nuts and bolts of Audio The encoding and delivery process (sampling & resampling) Aliasing.
Sound. Sound Capture We capture, or record, sound by a process called sampling: “measuring” the sound some number of times per second. Sampling rate is.
Com 597 Streaming Media Class 6 July 11, Packetization To stream a file over the internet you need to break the file down Kilobyte sized chunks.
 „BB FlashBack stores its movies in FlashBack (FBR) format. If you want non-FlashBack users to be able to watch your movie, you'll need to export it.
How to Create a Podcast. Podcasting “is the distribution of audio or video files, such as radio programs or music videos, over the Internet using either.
Editing Digital AudioLab#7 Audacity is a free, easy-to-use and an open source platform audio editor and recorder for Windows, Mac OS, Linux and other operating.
Multimedia Systems Dr. Wissam Alkhadour.
Week 3 Structure of the Video Image Containers & Codecs
AMCOM Digital Archive Design Review - Week 4.
RENDERING Preparing the Project Exporting the Timeline Video Settings
4.1 Different Audio Properties
High Resolution Digital Audio
Chapter 6: Video.
Data Representation Keywords Sound
Digital Video Faraz Khan.
Presentation transcript:

COM 597 Streaming Media Class 2 June 22, 2006

Today’s topics: The nuts and bolts of Audio The encoding and delivery process (sampling & resampling) Aliasing Audio Workshop Codecs and Players Compression demonstration Compression workshop

Audio How do you deal with legacy material? Audio sources: Records Open reel tape CD DVD Off-air recording Downloaded files Optical sound from a film Surround sound Embedded audio

Analog v. digital audio What is the difference? Analog material must be played in real time You will need to use a software tool or hardware device to convert these different physical representations of sound (grooves in a record for example) into a digital representation of the sound. This process can happen in a number of different ways during your production path. A-to-D converters (scanners)

Analog v. digital audio What is the difference? Sample rate will determine the fidelity of your final product Remember you cannot add detail to a sampled media file so it is best to start with a file that is as large as is reasonable. (RAW v. JPEG for example)

Raw Image.jpg Image Resolution Comparison Source v. Delivery

Raw Image.jpg Image Resolution Comparison Source v. Delivery

Sample rate is not bits-per-second, although they are related Sample rate is the number of “slices” of sound per second where bps is about how much data is begin delivered in the signal. Bps can be 22KHz or 96KHz or even 192KHz. For this class most of our work will be either in 44.1KHz or 48KHz.

When you sample a sound you need to record both the wave peaks and troughs Human ear is limited to detecting frequencies no higher than 22KHz. It was believed that simply doubling this number would give a sample rate that would reproduce all the sounds we can hear. Therefore, CDs run at 44.1KHz

Resampling a file And the problems inherent in the process

The difficulty with 44.1 as a standard is that it does not integrate easily into a standard production path. Most audio files are converted using integer- based averaging. This becomes apparent when you see that the common rates used for mastering are 48, 96 and 192 Khz. Moving down in quality involves simple averaging and not a complex resampling of the file.

Aliasing Artifacts

These quantization errors become evident when you convert between CD rates and film/television production rates. It is important to know your delivery before you start the process of sampling your sound. This is also why it is important to make certain all the tools in your production path are in agreement. (set to the same sample rate)

Audio formats you are likely to encounter Monoone track of audio Dual Mono (this is not stereo) identical audio on both tracks Stereomulti-channel audio on two tracks Mix Minusproduction audio with two mono tracks containing different sources (dialogue on one and effects on the other is one common example) 5.1 surroundHome theater is the most common application with three front speakers (left, right and center), two rear speakers and once low-frequency speaker (sub-woofer) AC3An alternative to Dolby Labs 5.1 surround format.

Mixing and blending of tracks needs to be carefully managed – phase and resampling errors Flash example Workshop

Codecs Which is best? There really is no one-stop solution. All of the major standards do a very good job of compressing most media The differences are subtle

There are real advantages to choosing one standard as your default distribution method Users will only need to rely on one playback solution Hardware will be optimized to that solution (servers and production tools) Licensing of technology is easier Staff is trained with emphasis on only one platform Support is easier

There are real disadvantages to choosing one standard as your default distribution method Not a large user base for the technology Format of files is not competitive with changes in the marketplace High licensing fees Flaky software Challenges with using the files on all types of hardware (WM on a Mac) You are tied to the fortunes of the company that created your codec

Format compatibilities and incompatibilities QuickTimeMac and PC are OK, no Linux support Windows MediaPC is great, Mac support is limited to older versions, no Linux Real NetworksSupports most every operating system FlashSupports most every operating system because it runs in a browser MPEG will play in many of the proprietary systems H.264 shows promise as a common standard.

How might you examine a codec to see if it will work for your needs? You might choose one compression solution for your production and another for delivery to your users.

PropertyProduction CodecDelivery Codec Compression Ratio Low usually between 1:1 and 4:1 High typically 50:1 or more QualityLossless (perfect) or close Good to acceptable, will denigrate to sub-VHS quality Lossy Zero for some codecs, for others very minimal Very lossy Bit rate25-50 and up to 150 Mbps As low as 300 Kbps for video and 24Kbps for audio File Size :20 seconds per GB (180 GB per hour) As low as.4 GB per hour EditableYes Not really, although many editors will accept a compressed file as a source. The quality will be dubious at best CompositableYesOnly if file has alpha channel Conversion to other formatsEasyAdditional degradation of quality is likely

General rule is that as compression schemas improve the files get smaller and the images either improve or stay the same.

Let’s look at how we compress a file to get an understanding of all the variables we can manage

Prior to compression you need to get your media in the best shape possible. Often it is easier in production to prep the media than it is to heal bad video during compression.

Video Preparation Deinterlacing the footage Frame rate agreement (2-3 cadence, 15fps, PAL v. NTSC, HD) Noise filters (dubious benefits at best) Grain removal

Video Preparation Color correction (gamma adjustments) Scaling (size your canvas can speed up compression significantly) Aspect ratio adjustment including anamorphic adjustments

Compression Example What the heck do those letters mean? And why do I care? I-frameIntra frame or key frame P-framepredicted difference frame B-framebi-directional difference frame Compression Demo