Buy Used
Used - Good See details
$3.55 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here
Core Java Media Framework
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Core Java Media Framework [Paperback]

Linden deCarmo (Author)
2.2 out of 5 stars  See all reviews (5 customer reviews)


Available from these sellers.



Book Description

Core June 24, 1999
Think you can't build hot multimedia apps with Java? Think again! This complete, expert tutorial teaches you everything you need to leverage top-quality digital audio and video with the new Java Media Framework (JMF). You'll find extensive source code -- plus never-before published JMF programming secrets that'll save you hours of coding and debugging! Understand the JMF architecture, including data source objects, players, events, controllers, and player states. Compare the leading JMF runtimes, including Intel Media for Java, and Sun's JMF implementation. Master the Java Media Player, and key concepts such as player states, start and stop semantics, event handling, playback rates, tracking download times, and synchronization. Once you have an in-depth understanding of these key JMF fundamentals, move on to advanced topics, including creating new audio media players, creating entirely new classes of players, such as DVD players; using digital CD streaming; and JMF Web applications. The book contains valuable, hard-to-find coverage of the Java Sound and Speech APIs, audio signal processing, and the widely-anticipated Java TV and "Capture and Conferencing" APIs.


Editorial Reviews

Amazon.com Review

Wise development in the Java universe comes from a combination of proficiency in the language and a practical understanding of the turbulent flows of the marketplace. In Core Java Media Framework, software engineer Linden deCarmo pulls no punches in laying out the state of Java multimedia support and equipping his readers with the tools they need to build media-rich applications.

The book focuses on the Java Media Framework (JMF)--Sun's second try at a usable streaming multimedia API. From the very beginning, the author sets the "good news/bad news" tone for the title. This isn't simply a technical tutorial; it reads as a chronology of the advances and pitfalls of Java multimedia evolution combined with the technical details of the JMF. Through this approach, deCarmo equips his readers with a well-rounded perspective in addition to technical prowess.

After explaining the background and structure of the JMF, the author takes you through the creation of a multimedia player applet. Subsequent chapters discuss various compatibility twists, show how to create a CD player, stream Internet media, and much more. Although this paperback centers around a particular Java API, it offers a much broader understanding of Java multimedia as well. Working Java coders should consider this book a useful Java survival guide. --Stephen W. Plain

Topics covered: JMF history, JMF architecture, JMF-Swing application development, JMF and JavaBeans, player synchronization, real-time streaming, CD-player construction, and the future of JMF.

From the Inside Flap

Preface

The Java Media Framework (JMF) is the most exciting addition to the Java Family of APIs since the introduction of Swing. No longer are you restricted to passive dialogs and silent windows. Now you can use JMF to spice up your applications with audio and visual effects.

JMF is divided into three phases: media playback, media capture and conferencing. This book concentrates on the media playback portion of JMF, the Java Media Player API, and how you can use it in real-world scenarios.

Who Should Read This Book?

Multimedia has transitioned from an exotic feature used by few applications to a core feature of Web sites, databases, games and virtually all business applications. As a result, anyone who programs in Java needs to read Core JMF.

Core JMF is targeted at serious programmers who don't want a warmed-over version of Sun's JMF's documentation. It not only clarifies the confusing areas in Sun's documentation, but it also provides unique insights to the inner working of the JMF classes and interfaces. Throughout the text, you'll find honest evaluations of JMF's strengths and weaknesses and advice on how to work around bugs.

Core JMF does not assume that the entire world revolves around Microsoft and its Win32 API. You'll discover how to leverage JMF's cross-platform capabilities on Microsoft Windows 95, Windows 98, Windows NT, Sun Solaris and other flavors of UNIX. You'll see comparisons of how JMF runs on each platform and how to avoid platform specific issues so that your applications are portable.

Core JMF does not contain fluffy example programs that show you how to make noise or play video in a window. Rather, you'll encounter example programs that solve real-world multimedia problems. Some of sample programs will show you how to:

Enhance your applets with multimedia.

Integrate JMF with a Swing file chooser dialog.

Create multimedia beans.

Use JMF objects with native C/C++ programs.

Create a CD Player.

Synchronize text with an audio CD.

Stream multimedia content over the Internet.

This book assumes you have a solid knowledge of Java programming concepts. However, you do not have to be a multimedia expert to read it. You'll find thorough explanations of each multimedia acronym or term.

If you already are a multimedia aficionado and are familiar with environments such as QuickTime, MCI, or DirectShow, this book will show you how each component of JMF compares to the API you already know, so you can rapidly transition to JMF programming.

About This Book

Core JMF covers the core JMF classes and interfaces that you will use in your programs. If you are looking for an exhaustive overview of every JMF API, you should read Rob Gordon and Stephen Talley's Essential JMF. After you've finished reading Core JMF, you'll have thorough knowledge of the following JMF topics:

Multimedia Applets.

Synchronization.

Player Design and Development.

Real-time streaming over the Internet.

Enhancing other Java API's such as Swing, JavaBeans, and JNI with multimedia.

Cross platform multimedia development and issues.

The book is not a disjointed set of unrelated example programs. Rather, it is a cohesive unit. Each chapter builds on the lessons learned in previous chapters. As a result, you'll be able to create sophisticated Java applications and objects without being overwhelmed with details.

Here are some highlights of what you'll learn in each chapter:

Chapter 1:

Multimedia Evolution. Chapter 1 explains why the Java Media Framework (JMF) was created and why you'll want to use it in your programs. It starts with a digital audio primer that defines how analog audio waveforms are captured and stored in the digital realm. Readers who are familiar with digital audio and Video can jump directly to the "Audio Woes" section of the chapter.

The chapter then explores the primitive audio features found in JDK 1.0.2 and explains why they are inadequate for non-trivial programs. We then uncover an undocumented audio interface present in JDK 1.x and explain how to use it.

You'll be introduced into Sun's Java Media and Communication APIs, the most exciting of which is JMF. Finally, you'll discover three key reasons why you should incorporate JMF into your Java programs.

Chapter 2: JMF's Growing Pains. This chapter examines how JMF operates on platforms such as Solaris, Microsoft Windows 95 and 98, Windows NT and the Apple Macintosh. We reveal the companies that have been involved in developing JMF runtimes and uncover why JMF was a crucial component of the United States Justice Department's lawsuit against Microsoft.

You'll also discover the challenges that developers face when they port JMF to environments, such as QuickTime and DirectShow, and how these challenges affect your JMF programs.

We then instruct you how to install JMF on your operating system and set up your development tools so you can compile and test the JMF programs we'll create in subsequent chapters.

Chapter 3: Everything Revolves Around Time. This chapter introduces you to the two core components of JMF: the Player interface and the Manager . You'll learn about the variety of media formats used by a Player and how to differentiate between a TimeBase and MediaTime . You'll also discover a clock's states (or phases) and how clocks affect synchronization.

Chapter 4: Taking Control of the Situation. Chapter 4 examines Controllers and their impact on the utilization of multimedia resources in your programs. You'll learn what a Controller is, its modes of operation and why this model is superior to the older multimedia architectures.

We'll also show you the most efficient techniques to manipulate Controller states and explain how to monitor a Controller 's status by listening for events.

Chapter 5: Origins. This chapter explores DataSources and how they are used by the Manager and the Player . You'll learn why a DataSource removes all input/output responsibilities from a Player and how this makes the Player more flexible.

We'll discover the differences between a Push and Pull DataSource and explain why the Pushed multimedia content will play a larger role in the future. Finally, we'll introduce you to MediaLocators and show you how they can be used to connect a DataSource to a Player.

Chapter 6: AlohaJMF: A JMF Applet. In this chapter, you'll leverage all the information learned in Chapters 1 through 5 to write your first JMF Applet. We'll explain the similarities between the Applet interface and the JMF's Player interface and explain how to use Player methods in your applets. We'll also give you tips to make your JMF enhanced applets more user-friendly.

Chapter 7: Getting Control Over Your Applications. Chapter 7 will show you why Controls are a crucial part of the Player and why every application must use them. You'll learn the three types of controls that a Player can surface and the most efficient means to obtain these controls. Finally, we'll show you how to incorporate the most popular controls in your applications and squeeze the best performance from them.

Chapter 8: Multimedia Swing Set. Swing and JMF can be a dangerous combination and Chapter 8 teaches you how to safely mix JMF in Swing-based applications. First, you'll find out how to enhance Swing's JFileChooser class with multimedia previewing capabilities. Then, you'll discover how to simultaneously handle JMF and Swing events. Finally, we'll explain the problems you'll encounter in Swing multimedia development and show you how to avoid these pitfalls.

Chapter 9: The Next Generation: JavaBeans and JMF. Chapter 9 introduces you to the JavaBeans object model and how it can be used to create multimedia objects. You'll learn what an object model is and how JavaBeans compares to other object models. We'll then take the multimedia chooser created in Chapter 8 and create a JavaBean from it.

While we're creating this multimedia object, we'll reveal guidelines for converting a general purpose multimedia class into a multimedia bean and give you specific examples of how to use these guidelines.

Chapter 10: Going Native. Chapter 10 teaches you how to reuse JMF objects in your C or C++ programs with the Java Native Interface (JNI). You'll discover how to start the Java virtual machine in C++ and learn how to avoid serious performance bottlenecks present in JNI.

You'll then find out how to launch and use the JavaBean from Chapter 9 in a C++ program. We'll show you the most efficient means to access Java constants, member variables and methods and how to optimize your JNI code.

Chapter 11: The Art of Synchronization. In Chapter 11 you'll learn what synchronization is and why it is a vital feature of all multimedia platforms. We'll use the timing concepts you learned in Chapter 3 to explain how JMF synchronizes multiple Player s. You'll learn about the complexities involved with manually synchronizing two or more Player s and find out about Controller methods which make synchronizing Players simple and fun.

We'll also teach you the things you shouldn't try with synchronized Player s and the catastrophic result


Product Details

  • Paperback: 500 pages
  • Publisher: Prentice Hall PTR (June 24, 1999)
  • Language: English
  • ISBN-10: 0130115193
  • ISBN-13: 978-0130115195
  • Product Dimensions: 9.2 x 6.9 x 1 inches
  • Shipping Weight: 1.6 pounds
  • Average Customer Review: 2.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Best Sellers Rank: #2,524,364 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

5 Reviews
5 star:
 (1)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
2.2 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

18 of 19 people found the following review helpful:
3.0 out of 5 stars An okay book, January 10, 2000
By 
This review is from: Core Java Media Framework (Paperback)
I got this book thinking that it would give me an in-depth analysis of RTP and real-time streaming over the Internet. There is only one chapter (ch. 19) devoted to this subject, and believe me, it will not leave you satisfied.

The reason I give 3 stars to the book is because it's not bad all together. In other words, it gives bits and pieces and explains what works with what, but just when you are ready for more, the chapter ends and you feel like somebody just took food out of your mouth, just when you were enjoying it and ready to swallow.

Also if you want JMF 2.0 stuff save yourself some money because the book covers only JMF 1.1

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 5 people found the following review helpful:
1.0 out of 5 stars The author is not responsible for readers!!, June 12, 2001
By A Customer
This review is from: Core Java Media Framework (Paperback)
I am a graduate student in computer science major. I have to say that's the worst book I had read. First, this book does not provide the complete clear explanation for some concepts. It just intruduces something, but never go to detail. Second, so many mistakes coming out this books, I am wondering how could this book coming out for the market? Third, the source code does not work at all. There are so many bugs in it, and code provided has some key mistakes! As a student, I bought this book for my research project and I was very disappointed!! I suggested if you want to buy some books about JMF, please do check first! JMF reference guide from sun is a nice reference. Good luck!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 5 people found the following review helpful:
1.0 out of 5 stars The author is not responaible at all!!, June 10, 2001
By A Customer
This review is from: Core Java Media Framework (Paperback)
I am a graduate student in computer science major. I bought this book one month ago and I tried to run several source code provided by this book, surprisingly I found none of them works!!! I had debug so many bugs...and find those codes are just WRONG!! I never could believe this book could coming out on the market!! The author is not responaible for readers!! Please do check the book before you buy it!! Don't waste your momney!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews



Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject