450 likes | 660 Views
Understanding Multimedia Elements – Sound, Animation, Video. Unit C. Objectives. Understand sound Sound on the Web 2-D animation 3-D animation Animation on the Web. Objectives. Video Video compression & video editing Video on the Web. Understanding Sound: Analog. Sound waves
E N D
Understanding Multimedia Elements – Sound, Animation, Video Unit C
Objectives • Understand sound • Sound on the Web • 2-D animation • 3-D animation • Animation on the Web
Objectives • Video • Video compression & video editing • Video on the Web
Understanding Sound: Analog • Sound waves • Analog wave pattern • Volume = height of each peak • Higher the peak, louder the sound • Frequency(pitch) = distance between peaks measured in hertz(Hz) • Greater the distance, lower the sound
Understanding Sound: Digital • Converted to bits via sampling • Quality depends on: • Sample rate: number of times sample is taken (11.025 kHz, 22.05 kHz & 44.1 kHz) • Sample size: amount of information stored (8 bit and 16 bit)
Digitizing Process • Cassette tape player, videotape player, CD or microphone is captured by sound card • Software/user controls sample rate and size • Sound-editing program used for manipulation
Sound File Formats • WAV • Windows or Macintosh • Used on the Web • AIFF (Audio Interchange File Format) • AIFFC (AIFF Compressed) • Windows or Macintosh • RealAudio (.ra) • Allows streaming of sound over Web • MP3 (MPEG Layer 3) • Compresses entire songs for Web • Near stereo quality
MIDI Sound Files • Musical Instrument Digital Interface • Electronic musical instruments create sound; then stored on computer • Contain code/commands, not digitized sounds • Very small files
Sound on the Web • File size is an issue • File compression used for certain file formats (RealAudio and MP3) • Sounds stored on Web server • Media player installed on user computer • RealPlayer, Windows Media Player, MP3, QuickTime
Streaming Media • Audio and video can be played in real time • File starts playing immediately – doesn’t wait for full download • Connection to web server is continuous
Tips for Using Sound on Web • Is the sound appropriate? Is there a benefit? • Is it a good sound quality? • Can you afford the cost of recording the sound? • Should you just use sound with still images instead of video? • Can you stream the files? • Can you give the user control?
2-D Animation Can Provide Simulation of actual events Action and realism in entertainment Visualization and demonstration in education
2-D Animation Issues • Movement is made up of many still images • Each still image has its own frame • Speed of moving these frames: • Movies on film: 24 fps • Television: 30 fps • Computer animation: 12-15 fps
2-D Animation Types: Cel Animation • Based on changes that occur from one frame to another • Background image is stationary • Celluloid images placed on background • Celluloid images change from frame to frame
2-D Animation Types Cel Animation
2-D Animation Types: Path Animation • Object moved along predetermined path on screen • Object can stay the same, be resized or rotated • Tweening in an authoring program • Define beginning position in one frame • Define ending position in another frame • Software fills in intervening frames
2-D Animation Types Path Animation
2-D Animation Software Allows • Frame rate changes • Transitions • User playback control • Looping • Object drawing and animating • Sound clips Cheap shareware to expensive authoring packages
3-D Animation • Games and adventure titles • Users are participants, not spectators • Much more complex than 2-D • Involves: • Modeling • Animation • Rendering
3-D Modeling and Animation Draw views by setting points on a grid Create contours and structure Define object’s motion, lighting & perspective views
3-D Rendering • Give objects attributes • Colors • Surface textures • Transparency amounts • Programs • Strata 3D • LightWave 3D • 3D Studio Max • Maya • Houdini
Warping • Distort a single image • Change a frown into a smile
Virtual Reality (VR) • Creates an environment that surrounds the user so the user becomes part of the experience • Examples: • Boeing Corporation flight simulators • CD-based adventure games: Myst and 7th Guest • Virtual tour sites • Some require special equipment like goggles & gloves
Animation on the Web • Animated text • Animated GIF • Macromedia Director applications • 3-D environments You must have the plug-ins to play these animations!
Animated Text on the Web • Rotating, zooming, scrolling, distorting, blinking • Use authoring software • Use HTML • <blink>Hello</blink> Scrolling Text Scrolling Text Scrolling Text
Animated GIFs on the Web Each .gif image file is a little different
Macromedia Applications on the Web Director or Flash to author Shockwave to deliver on Web
VRML • Virtual Reality Modeling Language • Creates interactive 3-D on the Web • User is moved through the environment (instead of object moving) • Environment is dynamic and always changing
Understanding Video • Video can be • Very expensive • Time-consuming to create • Very large files • Video can be found in stock film companies • Video must be digitized from an analog signal
Editing Video • Digitized video is not linear like analog video • Can access any part of video randomly • Can cut and paste • Can use special effects and transitions
Digital Video File Size Considerations • 1 second of high-quality color video on ¼ of the computer screen = 1 MB file size • Determining file size • Frame rate: lower the better (15 fps minimum) • Image size: use smaller playback window • Color depth: 8-bit vs. 16-bit vs. 24-bit color
Video Compression/Decompression • Codecs • Lossless: gives larger file by preserving exact image • Lossy: eliminates some image data; smaller file, but poorer quality
MPEG Compression Format • Motion Pictures Experts Group • Reduce file size by eliminating redundant information (backgrounds) • Also looks for changes from frame to frame
Video Compression Software • Apple’s QuickTime and QuickTime for Windows • Dual platform • Lossy compression • Microsoft Windows Media Player • AVI format • Both synchronize sound and motion • Synchronized Multimedia Integration Language (SMIL) • Markup language like HTML
Video Editing Software Adobe Premiere • Transitions: dissolves, wipes, spins • Animations: fly-in logo • Special effects: twisting, zooming, rotating • Filters: color balance, brightness/contrast, blurring, distortions, morphing
Video on the Web • Only practical for 56K or higher connections • Planning • Is animation or still images with sound better? • Are stock videos better? • Quality-versus-cost and relevance of video to application
Video Transfer Types: HTTP • HyperText Transfer Protocol • Downloads entire video to hard drive of user • User can play it over and over quickly • Better for small video clips
Video Transfer Types: RTSP • Real-Time Streaming Protocol • Continuous playing/streaming • Not saved on hard drive • User can randomly access any video part • Better for large videos and live broadcasts
Streaming Video HorizonLive: live video presentations
Video and Virtual Reality • Apple QuickTime VR system • iPEX system • Starts with panoramic photographs • Camera rotated after each picture for 360 degrees • Photographs electronically “stitched” together • User can navigate and zoom (White House site)
Issue: The Napster Controversy • Intellectual Property Rights and Emerging Web Technologies • Sharing MP3 files through the web • Recording Industry Association of America filed suit
Understanding Multimedia Elements – Sound, Animation, Video End