Presentation is loading. Please wait.

Presentation is loading. Please wait.

Internet Applications Development Electronic Publications in the Age of Streaming Audio and Video: How to Do It.

Similar presentations


Presentation on theme: "Internet Applications Development Electronic Publications in the Age of Streaming Audio and Video: How to Do It."— Presentation transcript:

1

2 Internet Applications Development Electronic Publications in the Age of Streaming Audio and Video: How to Do It

3 Renato M.E. Sabbatini, PhD Editor-in-Chief Intermedic Journal Informática Médica Center for Biomedical Informatics State University of Campinas, Brazil

4 Adding Audio and Video zCan I add audio and video to my Web site or Web-based publication? zHow can I achieve optimal combinations of speed and quality? zWhich tools are best for creating specific types of multimedia experience? zHow audio and video can be presented and served?

5 Modalities of Audio and Video on the Internet 1. Binary file downloading and local playback yThe whole file must be downloaded before playback can start yFile occupies disk space in client yLive transmission is not possible yInteractivity is not possible yImpractical except for very small files

6 Audio Player Plug-Ins

7 Plug-Ins for Videos Apple QuickTime Windows Media Player

8 Modalities of Audio and Video on the Internet 2. Streaming audio and video yA continuous flow of digital packets is sent to the client and played as they arrive ySpeed is independent of file size yThere is no need to store the file in the client yReal time transmission is possible yInteraction is possible

9 Streaming Media Continuous playback of audio and video packets Sends audio or video files in a continuous stream of small packets ClientServer

10 RealMedia Plug-In Presentation zVideo alone or synchronized video and audio

11 z Audio file alone RealMedia Plug-In Presentation

12 Streaming Audio and Video zVivo and RealSystems were the first companies to deliver real-time streaming audio and video over the World Wide Web. zStreams are compressed and encoded from either a preexisting sound file or live audio, using a protocol called codec. zThe codecs can output files that are optimized for 14.4 to 56 Kbps modem delivery, or delivery over a higher speed line such as LAN, ISDN or T1.

13

14 How RealMedia Works RealMedia Encoder RealMedia Server RealMedia Player Sound/Video Acquisition and A/D Conversion

15 How RealMedia Works zA RealAudio Server connection is a two- channel, two-way communication system: yThe UDP protocol is used for sound-data transmission yThe TCP protocol is used to interchange bandwidth and codec data as to communicate pause, fast forward, play, and rewind commands.

16 RealAudio Features zRealAudio is an open architecture application zThe Playback Engine Application Programming Interface (API) provides software developers with direct access to the functionality of the RealAudio Player zIt is continually evolving. Latest technology (G2) delivers high quality audio and video with interactive features zVery easy to create and deploy content.

17 The RealAudio Player zTwo versions: a stand-alone program that can also be used as a browser helper application, and a browser plug-in. zThe stand-alone application is a fully functional program that you can use to play RealAudio files from any source, including a hard drive, a corporate intranet, or the Web. zWorks with any sound and video boards zFree downloading of standard version, there is also a commercial professional version.

18 Sound Quality and Compression: Example 0ne-minute monaural sound file sampled at 22 kHz zWAV file is 2.6 megabytes; RealAudio, encoded for 6.5Kbps is 42 kilobytes, for ISDN is 296 kilobytes. Compression ratios of 62:1 and 8:1, respectively. zThe low-bandwidth file has AM radio quality and is best for speech only, whereas the quality of the high- bandwith approaches CD-ROM quality, adequate for stereo music zA loss correction system minimizes the impact of lost packets. Works well with 2-5 % loss, but works with up to 8% loss.

19 Development Steps Digital Recording of Audio/Video Digital Editing and Preparation Conversion to Streamed Format Uploading to Server

20 Development Steps Digital Recording of Audio/Video Digital Editing and Preparation Conversion to Streamed Format Uploading to Server WAV AVI RA

21 Critical Selection Parameters zAudio codec and bit rate zVideo codec and bit rate zFrame rate zFrame size

22 Some Technical Tips zIf you're serving an audience that has a variety of connection speeds, encode the content with several different codecs, one for each speed. zYou should budget 3M of RAM plus 60K for each simultaneous user.

23 Selection of Video Rate zFixed camera shot with low motion--The frame rate will run between 4 and 10 zFixed camera shot with some motion--The frame rate may drop toward 2 fps. zFixed camera shot with high motion--The frame rate drops to about 1 fps. zZooming camera with low motion--Expect a frame rate of about 2 fps. zMultiple shots, low motion--The frame rate approaches 1 fps. zMultiple shots, high motion--The frame rate drops below 1 fps.

24 Software for Editing Digital Audio and Video zAdobe Premiere zCreative Multimedia Suite

25 Choosing the Best Format

26 Audio Formats

27 Choosing Video Bit Rates

28 Inserting Multimedia into the Web page zCall to the external helper application A separate window opens up, with all RealPlayer controls, which can be customized by the user zEmbedded plug-in calls, with several options for display and playback control, set up by the developer zThere is a wizard for selecting the desired combination and generating HTML code

29 Referencing the File zA RealAudio URL has the format: pnm://server:port#/pathname ypnm:// indicates the file is located on a RealAudio Server system. yServer:Port# is the address of the RealAudio Server. ypathname is the complete directory path and file name. yExample: pnm://audio. realaudio.com/welcome.ra yThis pointer is placed into na ASCII file with the extension.ram or.rpm (metafile)

30 Referencing the File zHREF: Patient case zEMBED: zRealPlayer Controls and Options: CONTROLS, AUTOSTART, CONSOLE, and NOLABELS

31 Synchronized Multimedia zSynchronized HTML pages with streaming audio (guided tours, slide shows)

32 Synchronized Multimedia z Packing audio and PowerPoint slides into a RealMedia file (synchronized audio with slides control: great for slide shows

33 How RealPresenter Works zCreate slide presentation using Microsoft PowerPoint zUsing mike and PC´s sound board, narrate the slide show, pressing the ´next slide´ key as you go zPowerPoint will create a set of linked WAV files, one for each slide, with timing zClick on Tools/Create RealMedia and follow the wizard to create.RA file zCreate.RAM metafile, upload to server

34 Other Streaming Solutions zNetscape´s Media Player (LiveAudio) zMPEG 3 ISO CD Moving Pictures Experts Group zXING´s StreamWorks MPEG-based, encoder (WAV, QT, AVI), player zVXTreme, VDONet zApple QuickTime

35 The Microsoft Approach zAims to establish its Active Streaming Format (ASF) as the de facto standard for streaming video. zHas demonstrated a unified multimedia technology called DirectX. zHas developed a streaming video product, NetShow, to challenge RealVideo for market dominance. zNetShow comes with tools that convert existing video files, including AVI and QuickTime movies, to streaming files


Download ppt "Internet Applications Development Electronic Publications in the Age of Streaming Audio and Video: How to Do It."

Similar presentations


Ads by Google