internet.com

Go to WebDeveloper Home


hm-v6-139x61.gif

Database Journal: The Knowledge Center for Database Professionals

find a web host with:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
jobs

Get FREE Development Info via your Email!

The Webdeveloper channel
FlashKit
GIF.com
HiermenusCentral
webdeveloper Jobs
Java Boutique
JavaScript.com
JavaScript Source
ScriptSearch
StreamingMedia World
WDJ
WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com

internet.com
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers

internet.commerce
Be a Commerce Partner










T U T O R I A L S
WebDeveloper.com

Tutorial: RealSystem G2 & SMIL

By Scott Clark

Part 2

Iterated's Sting RealPix is perhaps the most exciting aspect of G2 technology. The way it works is this: the SMIL file (which makes you smile just saying it) is, to coin a phrase from Brian Meek of Iterated Systems, "the director of the orchestra." It lets the G2 Player know the types of media to prepare for, when and where to display them, and if they are to be displayed concurrently or sequentially.

The SMIL file, written in a form of XML, points directly to the RealMedia files, which are the compressed audio files which will be streamed to the G2 client. The SMIL file also points to the RealPix files, which are also XML-based files that are actually more like scripts, and RealText files, which are simple ASCII text files that contain the actual text, and at the same time tell the G2 Player how to format that text. The RealPix file, in turn, points to the image files which have been specially processed for this use. The RealPix file "instructs" the G2 Player when to show the image, when to fade or swipe it into the next image, when to apply a background color, etc. As a team, the SMIL, RealPix and RealText files come together seamlessly, and provide you with the "presentation." To further understand how the SMIL file works, you may wish to view an image of the SMIL file which illustrates how it "points" to each of the other files.

The G2 Presentation Process

Currently, there are no tools that will enable you to go from start to finish in the production of a SMIL presentation, but there are several that will greatly assist you in that endeavor. First, make sure you have the latest copies of RealNetwork's G2 Player, Encoder and the new SMIL Wizard. To prepare your JPEGs, you'll also need a copy of the JPEGTRAN utility.

Once you've got all your tools at hand, grab yourself a big cup of Java (the type you drink) and hunker down for some Real fun. If you've already got some type of presentation in mind, you can start preparing the basics. First, you must prepare your images for use with RealPix. That involves getting them down to the smallest byte size you can using your current image editor, and saving them in JPEG format (RealPix can utilize both JPEG and the Sting format, but as stated above, at this time JPEG is the only available option).

Now it's time to run the JPEGTRAN utility on them. This prepares the images for streaming across the Net, so that if the transmission is interupted, the Player will know where to restart the transmission. JPEGTRAN was created by The Independent JPEG Group, and is a command line utility (remember those?). You'll need to issue the following string at the command prompt:

jpegtran -restart 1B -outfile output.jpg input.jpg
subsituting the name you wish to save the file for "output.jpg" and the name of the JPEG for "input.jpg."

[Move on to the next part of the article.]

This article first appeared in May, 1998.

Fast Jump to Anywhere on WebDeveloper.com:


Contact the WebDeveloper.com staff

Last modified: 20

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
Design / Graphics
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
Tutorials
VRML / 3D
XML


internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Symantec Whitepaper: Converging System and Data Protection for Complete Disaster Recovery
Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
  Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Symantec Whitepaper: Comprehensive Backup and Recovery of VMware Virtual Infrastructure
MORE WHITEPAPERS, EBOOKS, AND ARTICLES