Solaris Common Desktop Environment: User's Guide

Video

Overview

Use the Java Media Player for viewing multimedia files. The Java Media Framework (JMF) is an application programming interface (API) for incorporating media data types into Java applications and applets. It is specifically designed to take advantage of Java platform features.

Java Media Player Main Window

All video functions start with the main window.

Graphic

You can open a video file by choosing Open file from the File menu. Once you open a file, the main window alters to display the file and a control panel at the bottom of the screen.

Graphic

The control panel consists of the following icons and their respective functions:

Graphic

Click this button to begin playing a file.

Graphic

Click this button to pause a file.

Graphic

This button indicates how far a file has played.

Graphic

Click this button to alternatively turn on or turn off the sound.

Graphic

Click this button to increase or decrease the volume.

Graphic

Click this button to view information on a file.

Supported Media Formats

The Java Media Player supports the following formats:

Aiff (.aiff)

AVI (.avi)

Audio:

Video

GSM (.gsm)

MIDI (.midi)

MPEG-1 (.mpg)

This format is not available on Solaris x86.

MPEG audio (.mp2)

This format is not available on Solaris x86.

Quicktime (.mov)

Audio:

Video:

RMF (.rmf)

Headspaces Rich Media Format audio files.

RTP

Audio:

Video:

Sun Audio (.au)

Vivo (.viv)

Video: H.263

Wave (.wav)

Using the Java Media Player

The following tasks can be performed on multimedia files using JMF.

To Open a New Java Media Player

To Exit the Java Media Player

To Open a File

To Close a File

To Open a URL

To Play a File

  1. From the File menu, select Open file.

  2. Enter the path or folder name in the text field.

  3. From the Files window, double click the file that you want to open.

To Stop or Pause a File

To Rewind a File

To Forward a File

The file will begin playing from the point you placed the slider.

To Adjust the Volume

You can either adjust or mute the volume for a file. To adjust the volume of a file:

To select mute for a file:

To Set the Play Rate for a File

  1. Place the cursor over the triangle on the lower left of the screen.

  2. Right-click the mouse button.

  3. From the pull-down menu select one of the options.

    • 1/10 speed - 1/10th the original rate

    • Half speed - 1/2 the original rate

    • Normal speed - the original rate

    • Double speed - twice the original rate

    • Triple speed - three times the original rate

    • Quadruple speed - four times the original rate

To Alter the Screen Size

  1. Place the cursor over the screen.

  2. Right-click the mouse button.

  3. From the pull-down menu select a zoom option:

    • Half Size - Shrinks the screen to half its original size

    • Normal - Alters the screen to accommodate the picture

    • Double Size - Expands the screen to twice its original size

    • Quadruple Size - Adjusts the screen to 4 times its original size

To Display Information on a Video File