LECTURE 07 RAZIA NISAR NOORANI Digital Video. Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color.

Slides:



Advertisements
Similar presentations
3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations.
Advertisements

2.02F Publishing Animated Videos 2.02 Develop Computer Animations.
Multimedia – Digital Audio & Video CSC1720 – Introduction to Internet Essential Materials.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
A stereo audio file 1. Audio Channels Number of audio channels determines number of waveforms in a recording Two relevant types of recording Stereo recording.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
2 Information Processing
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.
1 Introduction to Computer Science بسم الله الرحمن الرحيم MULTIMEDIA LEVEL -9 King Khalid University Kingdom of Saudi Arabia Ministry of Higher Education.
Sounds, Images & Other Objects Website Production.
3.02 Publishing Animations
Chapter 9 Integrating Video. Digital video is a series of bitmap images that, when played back, create the illusion of movement. The quality and overall.
SCA Introduction to Multimedia
Video on the Web. Should you add video to your web page? Three main questions 1. How will it enhance the purpose of my page? –Entertain –Explain a process.
Digital Video Teppo Räisänen LIIKE/OAMK. General Information Originally video material was processed using analog tools Nowadays it is common, that digital.
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
1 Different Video Properties
+ Video Compression Rudina Alhamzi, Danielle Guir, Scott Hansen, Joe Jiang, Jason Ostroski.
HYPERTEXT MARKUP LANGUAGE (HTML)
Digital Video An Introduction to the Digital Signal File Formats Acquisition IEEE 1394.
Audio and Video Streaming By Nanda Ganesan, Ph.D. © Nanda Ganesan, All rights reserved.
Using Multimedia on the Web
Digital Video Basics CPSC 120 Principles of Computer Science April 16, 2012.
Video file format.
What are the common format for video files?
Digital Camcorder and Video Computer Multimedia. Two most important factors that make up a video Frames per second ( fps ) The resolution ( # of pixels.
Video AVI | AVI (short for Audio Video Interleave) first saw the light of day in 1992, when it was released as part of the Video for Windows (VfW) project.
Video. Using video  Carefully planned, well-executed video clips can make a dramatic difference in a multimedia project  Use video only when all other.
AVI File Format By : Jacob, Bab and Conor. Basic operation Presented By: Conor.
Unit 8 – Multimedia Element: Video
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
Multimedia Concepts: Video Technologies ANALOG DIGITAL.
 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,
2.02G Publishing Animated Videos 2.02 Develop Computer Animations.
WebCCTV 1 Contents Introduction Getting Started Connecting the WebCCTV NVR to a local network Connecting the WebCCTV NVR to the Internet Restoring the.
Multimedia and The Web.
Audio and Video Curtis Thomas 385E Information Architecture and Design I.
VIDEO FORMATS Prof Oakes. Compression CODECS COMPRESSOR/DECOMPRESSOR A codec provides specific instructions on how to compress video to reduce its size,
Video & Scanning Overview IT 130 Web Graphics and Multimedia.
Audio and Video Streaming Created by: Thanh Ly, Liqin Zhang, Ronald Togelang, Hector Frausto Modified by: N. Ganesan.
Video.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
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.
Video Software & File Formats. In this class we will be mainly using Adobe Premiere Pro CS4.
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.
Media Types Information Systems can contain the following types of media: Sound, graphics, video & text.
Fs Streaming Media a presentation by Florian Seidel.
Week 12 Lecture 1 Audio and Video File Formats. Audio on the web Can be linked to and downloaded like any other file Traditional audio files are quite.
Media – an overview 1. Media Image Image Video Video Flash Flash Sound Sound HTML Graphics (covered later) HTML Graphics (covered later) Tools to create.
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.
Chapter 10. The Role of Video in Multimedia  Any presentation or application that uses sound and graphics qualifies as multimedia  Clip A segment of.
Digital Video File Formats an overview. Introduction Digital Video & Audio files are also known as container formats. These “containers” are digital files.
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
VIDEO TECHNOLOGIES Iwan Sonjaya,ST.MMT,MT Computer and Informatics Engineering Dept. State Polytechnic Of Jakarta Computer and Informatics Engineering.
Information Systems Design and Development Media Types Computing Science.
Multimedia – Digital Audio & Video. CSC1720 – Introduction to Internet2 Outline Audio / Video on the Web Audio / Video on the Web Basic Digital Audio.
Or, how to make it all fit! DIGITAL VIDEO FILES AND COMPRESSION STANDARDS.
Video on the Web.
VIDEO.
Web Programming– UFCFB Lecture 8
Digital TV..
3.02 Publishing Animations
David Zepeda Information Architecture and Design I Fall 2005
2.02G Publishing Animated Videos
2.02F Publishing Animated Videos
Integrating Multimedia: Sound, Video and More
Web Programming– UFCFB Lecture 8
Digital Video Faraz Khan.
Presentation transcript:

LECTURE 07 RAZIA NISAR NOORANI Digital Video

Basic Digital Video Concepts CS118 – Web Engineering 2 Movie length Frame size Frame rate Quality Color bit depth Data rate (bit rate)

Movie length CS118 – Web Engineering 3 File size is proportional to the movie length. Videos longer than 1 or 2 minutes cause long download times. If it is a long video, consider to use streaming video.

Frame size CS118 – Web Engineering 4 “ Full-screen ” video is 640x480 pixels. The most common frame size for web video is 160x120 pixels. Not recommend to use a frame size larger than 320x240. The size depends on the CPU power and the Internet connection bandwidth.

Image and Video? CS118 – Web Engineering 5

Frame rate CS118 – Web Engineering 6 Frame rate is measured in number of frames per second (fps). Standard TV-quality video uses 30 fps. For the web, 15 or even 10 fps is more appropriate and produces fair smooth quality for the user. Commercial Internet Broadcasts are using 0.5, 0.25 frames per second.

Quality CS118 – Web Engineering 7 Many video-editors allow you to set the overall quality of the video. The degree of compression controls the target quality. The low or medium setting results a fairly high compression which is appropriate for web delivery. Frame rate and quality are usually tradeoff in different applications.

Color bit depth CS118 – Web Engineering 8 The number of pixel colors in each frame affects the size of the video. The file size of the video will be greatly reduced by changing the number of colors from 24-bit to 8-bit. It sacrifices the image quality of the video.

Data rate (bit rate) CS118 – Web Engineering 9 This is the rate that the data must be transferred in order to ensure the video can play smoothly without interruption. It is measured in kilobytes per second (K/sec or Kbps). It can be calculated by dividing the size of the file (in K) by the movie length (in seconds).  E.g. the video file size is 1.9MB  1900K  Play 40 seconds long, Data rate = 47.5K/sec Consider the Internet bandwidth!

Calculate space requirements of Video CS118 – Web Engineering 10 NTSC video (640 x 480 and fps)  Frame size = ([Pixel width x pixel height x bit depth]/8)/1024  E.g. 200KB/Frame : 6.0 MB/sec  200KB x 30 fps = 6000KB/s, 6 MB/sec PAL video (768 x 576 and 25 fps)  E.g. 200KB/Frame : 5.0 MB/sec  200KB x 25 fps = 5000KB/s, 5 MB/sec

Video CODECs CS118 – Web Engineering 11 CODEC is “ Compression/Decompression ” algorithms. The sound and frame images of a digital video must be compressed.  The vast amount of data Compressed in a number of ways  Lossless and Lossy compression  Spatial and Temporal compression

Video Clip Demo CS118 – Web Engineering 12 reference

Lossless and Lossy compression CS118 – Web Engineering 13 Lossless compression means no information is lost and the final file is the same as the original. Most compression methods are lossy.  Sacrifices some data from the file in order to achieve higher compression rates.  Use complicated algorithm to toss out some data that is not discernible to the human eye or ear.

Spatial and Temporal compression CS118 – Web Engineering 14 Spatial (Intraframe) compression takes place on each individual frame of the video. Temporal (Interframe) compression applies on a series of frames, it takes advantages of areas of the image remain unchanged from frame to frame.  Relies on the key frames and delta frames.  A key frame is placed once every second.  E.g. 15 fps, a key frame once 15 frames.

Delta frame CS118 – Web Engineering 15

Video File Formats CS118 – Web Engineering 16 QuickTime Movie (.mov)  Introduced by Apple Computer in  First developed for Macintosh, now also supports the PCs.  Also supports streaming. How to create?  Most video editor, QuickTime Pro. How to play?  QuickTime plug-in or QuickTime player.

Quicktime CS118 – Web Engineering 17

RealMedia (.rm) CS118 – Web Engineering 18 Industry standard streaming format. RealPlayer for playback. RealServer for serving streams. RealProducer for creating.rm files. Good for  Long-playing video or broadcast to many people. How to create?  RealSystem Producer How to play?  RealPlayer (Free), RealPlayer Plus (Commerical)

Windows Media (.wmv/.asf) CS118 – Web Engineering 19 Created by Microsoft, closely integrated with Windows OS. Support Windows Media Video (.wmv) and Advanced Streaming Format (.asf) and other formats (.avi,.mpeg, … ) Also support streaming. How to create?  Windows Media Encoder, Windows Media Author How to play?  Media Player in Windows OS

AVI (.avi) CS118 – Web Engineering 20 Stands for Audio/Video Interleaved. Introduced by Microsoft in In a AVI file, the audio and video information are interleaved every frame. Good for  Short web clips, high-quality video How to create?  Most video editing tools. How to play?  Windows Media, QuickTime, etc.

Video Clip Demo CS118 – Web Engineering 21 reference

MPEG (.mpg/.mpeg) CS118 – Web Engineering 22 Created by Moving Picture Experts Group (MPEG). Supports 1) Video, 2) Audio, 3) Streaming. Extremely high compression rates with small quality degradation (lossy). MPEG-1 : VHS quality MPEG-2 : HQ standard for TV broadcast MPEG-4 : Very HQ for AV compression MPEG can be compressed by using three schemes: Layer-I, Layer-II, Layer-III.

Official MPEG page CS118 – Web Engineering 23 reference

MPEG Comparison CS118 – Web Engineering 24 MPEG-1MPEG-2MPEG-4 Standard since Default Video resolution (NTSC) 352 x x 480 Max. Audio Frequency range 48 KHz 96 KHz Max. audio Channel 288 Regular data rate 1380 kbit/s 6500 kbit/s 880 kbit/s Frames per sec (NTSC) Video Quality Satisfactory Very good Very Good Hardware requirement for encoding/decoding LowMediumHigh

Flash & Shockwave CS118 – Web Engineering 25 Advantages:  File sizes are small  Image quality is high  It uses streaming technology  It uses high-quality streaming audio  It is scriptable Disadvantages:  A plug-in player is required  Expensive authoring software  Problems on printing their content

Summary CS118 – Web Engineering 26 Discuss the basic digital audio/video terminology. Introduction to different formats: WAV, MP3, QuickTime, RealMedia, Windows Media, AVI, MPEG. To deliver long-playing audio/video or live broadcasts, you should choose one of the streaming media. Flash and shockwave are popular and appropriate format for the Web.