Microsoft DirectX 9.0

Jukebox Sample

Description

The Jukebox sample is a video jukebox application.

This application scans a directory for media files and displays a list of the file names. The user can play an individual file or play all of the files in order. The jukebox also displays information about the filter graphs that it creates, including the names of the filters, the names of the pins, and the event codes that are generated.

Note   This sample requires Microsoft Foundation Class Library 4.2 (Mfc42.dll).

Path

Source: (SDK root)\Samples\C++\DirectShow\Players\Jukebox

Executable: (SDK root)\Samples\C++\DirectShow\Bin\Jukebox.exe

User's Guide

If a directory name is specified as a command-line argument, the jukebox scans that directory at start-up. Otherwise, it scans the default SDK media directory, which is located at Multimedia\Media under the SDK root directory. The jukebox displays a list of all the media files in the directory, from which the user can select a file to play. To can scan a different directory, type the path name into the edit box and click the Set Media Directory button.

The jukebox offers the following user-interface elements: